Unexpected "Exiting normally" 2.1.8?

Alan DeKok aland at deployingradius.com
Thu Nov 26 20:19:23 CET 2009


Bjørn Mork wrote:
> However, I think I found one other possibility.  This code in
> fr_event_loop() will exit if the select() fails:
> 
>                 rcode = select(el->maxfd + 1, &read_fds, NULL, NULL, wake);
>                 if ((rcode < 0) && (errno != EINTR)) {
>                         el->dispatch = 0;
>                         return 0;
>                 }
> 
> 
> Might this happen due to a dead home server fd in the &read_fds?

  It shouldn't.  The only fail in select() is that one of the file
descriptors has been closed, without updating the read_fds array.  And
that shouldn't happen, either.

  What error is select() returning?

  Alan DeKok.



More information about the Freeradius-Users mailing list