Assertion on cvs head
aland at deployingradius.com
Fri Aug 3 21:48:14 CEST 2007
Stephan Jaeger wrote:
> Here is the output of -fxxx|grep Thread
> thread settings, just for testing:
> start_servers = 2
> min_spare_servers = 0
> max_spare_servers = 0
Oh. That's a corner case that probably isn't well tested. Setting
the minimum spare threads to zero isn't nice. It means that you have
*no* threads available when the server is idle. i.e. it tries to delete
ALL threads when all threads are idle.
Summary: Don't do that. Set min_spare_servers = 1, and
max_spare_server = 1.
I'll fix the code to complain, and/'or catch this case.
More information about the Freeradius-Devel