On Thu, Oct 4, 2012 at 10:36 AM, Jason Aubrey <aubre...@gmail.com> wrote: > Now, we have MaxClients set super high
I hope you don't have it set so high that if you hit it you would run out of memory and start swapping... > Also possibly relevant is > kern.ipc.somaxconn which "limits the size of the listen queue for accepting > new TCP connections". We had that at the default of 128. I also don't > understand the interaction between this setting and apache's MaxClients > since when we had kern.ipc.somaxconn = 128 and MaxClients 150 we quickly > maxed out max clients. The gist of it is that when you do hit MaxClients, the people trying to get in are waiting in the listen queue. It's like overflow for MaxClients. People don't just get sent away when MaxClients is hit. I can't tell you what a sane value for FreeBSD on your hardware is though. - Perrin