exit on select return -1 but errno == 0?
Joe Maimon
jmaimon at ttec.com
Fri Oct 14 20:01:10 CEST 2005
Alan,
With your fix for this issue, the server sometimes logs hundreds of
sleeping(it means select) for 0 seconds messages (in a row).
Should the server ever select for 0 seconds?
Joe
Joe Maimon wrote:
>
>
> in radiusd.c:720
>
> -----------------------------
> for (listener = mainconfig.listen;
> listener != NULL;
> listener = listener->next) {
> int next;
>
> next = listener->update(listener,
> time_now);
> if (next > 0 && next < sleep_time) {
> sleep_time = next;
> }
>
>
> -------------------------------
>
> I added the "next > 0 &&" because I was getting "sleeping for -1"....
> and then the server would exit.
>
>
>
> - List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
>
>
More information about the Freeradius-Devel
mailing list