I have a problem...

After a witangod restart or purge of the witango cache, requests are coming in from the outside to files on the witango driven sites. Every hit to the site is through a content management system that consists of 1 TAF and a couple of large TCF files. Without caching, these sites wouldn't run well at all, because witango takes too long to load the xml, parse it and execute it. However, once the first hit comes in, and the taf and tcf files are cached, everything runs lickety split. But, since there are multiple hits coming, in, there is the potential that there are several threads all trying to populate the cache with a large tcf. Then it takes a lot longer for the site's response time to be acceptable... But if i could force the server to not be multi threaded I wouldn't have threads competing for IO and CPU time.

I thought about setting a startup url in witango.ini to be a startup.taf and have startup.taf execute some @url calls to prepopulate the cache on multiple sites running on this box. problem is though that those @url calls all fail with the "Server is starting up" message, (Same exact problem that Bill Conlon had a while back when trying to initalize domain variables.)

So now I'm thinking about this... perhaps i can set witango.ini's thread pool size to 1 on server startup, and change it on the fly to a higher value? Is that possible, will the server allow me to increase the threads after the server has been running for a minute or so? Then the only tricky thing to do is to have the url called that increases the threadpool size at the right time after the server restarts. perhaps this is a job for the at command.

Before I went and tried to mess with the threadpool size while the server is running i thought i'd check here first to see if it's even possible.

/John
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to