At 02:54 PM 11/19/2002 +0100, Zeinert, Holger wrote:
[ don't think my last e-mail went out, this may be a repeat ]your first e-mail did not ring a bell, but now the second. I had the same problems with mod_dtcl on Windows when using two frames on a page. The reason seemed to be, that neither Tcl nor mod_dtcl per se are thread safe. But default configuration of Apache on NT is:...\Apache Group\Apache\conf\httpd.conf: MaxRequestsPerChild 0 ThreadsPerChild 50 which means: only one process is used (MaxRequestsPerChild would terminate a certain process after that amount of requests) and in this process a maximum of 50 threads are used. I changed this to MaxRequestsPerChild 1 ThreadsPerChild 1 This works fine now, although sometimes on slow machines the second frame takes some time to be loaded (not on my laptop: 1.2GHz, 1GB :-)). The configuration forces Apache to handle only one request per process and in that process don't use threads. The drawback is, that for every request a new process is created and your log file gets filled with [Thu Nov 14 14:01:52 2002] [error] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
I don't think this is a good default - your Apache process is now constantly restarting as each request is received. This adds a lot of overhead that most sites are not going to want.
I would think leaving MaxRequestsPerChild as "0" would give you the same effect - this gives you one process that never exits and "ThreadsPerChild 1" would limit the number of threads to one for that process. I'll test this theory on my compile box and see if that is a better solution - if so I'll add it to the docs.
The other thing that bothers me is that I have several pages that have multiple frames and I have never seen this problem. But maybe my frames are too simple - any special processing going on in those frames ? Database calls ? Long running processes ?
Thanks,
Craig
/ Craig Huckabee | e-mail: [EMAIL PROTECTED] /
/ Code 71B-CH | phone: (843) 218 5653 /
/ SPAWAR Systems Center | close proximity: HeyYou! /
/ Charleston, SC | ICBM: 32.78N, 79.93W /
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
