Forum OpenACS Q&A: Re: Server melting down

4: Re: Server melting down (response to 3)
Posted by Andrew Piskorski on
With AOLserver 3.3+ad13 I believe the defaults are minthreads 0, maxthreads 20, threadtimeout 120. No, you probably wanted to increase your values for all of those.

Good values are reportedly very hardware and operating system specific, but since most of us are using Linux with a 2.4.x kernel, it would be nice to see AOLserver tuning reports there. I haven't seen any though.

Since you are sharing the server with other OpenACS instances, maybe setting minthreads 5, maxthreads 30, threadtimeout 600 would be good for you. If it was the only site on the box, perhaps minthreads 35, maxthreads 35 would be more appropriate. But I don't really know for sure, I just made up those numbers.

5: Re: Server melting down (response to 4)
Posted by Jarkko Laine on
Well, I made up numbers, too, and finally set both min and maxthreads to 50 and pushed up the connections of all db pools to 5 (it was previously 2 for subquery).

After that the site started working perfectly well, serving pages with up to 100 simultaneous connections (tried it with ab).

Maybe I should put them a bit lower, though, I'll keep on testing.