Hi,

> >I changed this to
> >
> >         MaxRequestsPerChild 1
> >         ThreadsPerChild 1
> >
> 
> ...
> 
>    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.

The server is under my control and as long as performance is good, I have no
problem with that. Of course you are right, it's not what you 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.

I agree, also your configuration should do it. I tested both of them on my
machine, but experienced no differences. Well, in my test mode there is no
big load either. However I remember that I had problems with
MaxRequestsPerChild=0, but perhaps this was because of some misuse of
Oratcl, not correctly initializing and closing database connections. Today
MaxRequestsPerChild=0 works fine, too.

>    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 ?

I use Oratcl 2.7. I know this one is an old version and this is definitely
not thread safe. In one frame I did not use Oratcl (package and DLL not
loaded into .ttml) and in the other frame I use Oratcl. Suprisingly, not
always (but most of the times) the database frame was slow, but it also was
the second frame. Sometimes also the first frame was delayed. Perhaps the
delay came from starting a new apache.exe, load balancing and process
management is not the biggest advantage of Windows ;-)

Best regards
Holger
 ____________________________________________________________________
|
| Holger Zeinert   -   Development Manager CAE Division
|____________________________________________________________________
| LMS Deutschland GmbH      -      tel +49 631 4166-180, fax -166
| Luxemburger Str. 7, 67657 Kaiserslautern, GERMANY
| mailto:[EMAIL PROTECTED]     http://www.lmsintl.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to