On 11.04.2014 18:31, Alan DeKok wrote:
As you see, I have lots of threads and my logs show they are mostly idle (each thread logs its internal OS pthread id when post_auth is started).
That doesn't mean the thread is idle.
Hmm, yes, now I see it. I've added logging of thread_pool.num_queued value (btw, this is very important to be able to see as in the logs as it changes) and now I see that 256 threads just not enough for this configuration and load as thread_pool.num_queued spikes upto about 800. I'm back to 1000 threads and this keeps thread_pool.num_queued under 2 for now. Thank you for explanations and patience. I'm afraid that changing freeradius core is out of my skills and limited by lack of familiarity with the code. Eugene Grosbein