exit on select return -1 but errno == 0?

Alan DeKok aland at ox.org
Fri Oct 14 20:37:53 CEST 2005


Joe Maimon <jmaimon at ttec.com> wrote:
> 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?

  No.  It's a bug.  It's in 1.0.x, too, and I can't figure out what
code path creates the problem.

  The solution is to go to a state-driven approach.  I've done some
analysis, but I'm not sure how best to implement it.

  Alan DeKok.



More information about the Freeradius-Devel mailing list