Gah - 1009 threads on linux?
You must have a monster box, as each pthread in linux allocates around
2M worth of stack. This equates to around 2G worth of storage alone.

Silly question, but are you paging much during your tests?
(I'm guessing you have enough storage to handle this many threads, and
other suggestions have been more useful, but this is still a consideration.)

> > Settings now for worker mpm :
> >
> > ThreadLimit   1000
> > StartServers 1
> > Maxclients    2000
> > MinSpareThreads 25
> > MaxSpareThreads 75
> > ThreadsPerChild 1000
> > MaxRequestsPerChild 0
> >
> > => Strange thing is that with these settings a ps aux list a little 1009
> > apache processes, so these are no threads but childs ? strange ....
> >
> 
> This is linux wierdness. They are really threads andnot processes.
> 
> > Another thing is that with these settings the performance when load is low
> > that response times are higher and requests per seconds is 5 times lower
> > then with original settings.
> 
> 1000 is probably way to large for your test. Under light load, you are still chewing 
>up
> lots of RAM and experiencing lots of context switching. The trick is to set
> ThreadsPerChild just right.. no greater than you need but large enough to handle the
> expected load.

Victor
-- 
Victor J. Orlikowski   | The Wall is Down, But the Threat Remains!
==================================================================
[EMAIL PROTECTED]  | [EMAIL PROTECTED] | [EMAIL PROTECTED]

Reply via email to