Forum OpenACS Q&A: Are your AOLserver thread settings correct?

Posted by Andrew Piskorski on
Jose, you mention that on your site, the OpenACS login page is taking 3 - 5 seconds, and many admin pages are much worse. That makes me suspicious that your AOLserver thread settings might be wrong. Did you check that? What do you have for maxthreads, minthreads, and threadtimeout in your AOLserver config file?

From the additional info Dario posted (one query which itself is very slow), I think bad AOLserver thread settings couldn't possibly be causing all of your problems, but they could be a contributing factor, so you definitely want to double check them, if you haven't already.

Posted by Peter Alberer on
I do not know much about the other thread settings, but for sure the StackSize parameter is important. In the default config.tcl file the value for this parameter is much to small...
Posted by Jarkko Laine on
I think it would be hugely important to set the thread settings correctly by default. I don't think there's anything in the install docs about them and I learned about their importance the hard way last fall, when one site I administrate went down on a crucial time with only about 1 hit/second load.

Could someone who knows approximately what would be reasonable values for thread settings either change the default config file or file a bug and a patch for it?