On Mon, 2004-02-23 at 16:40, Richard F. Rebel wrote:
> Umm, maybe we are talking about different things.  If I run my
> application with 500+ httpd's in the process list using prefork, it uses
> a lot more memory than running 10 httpds with 64 threads each using
> worker.  It also gets worse over time (as shared pages get altered).
> 
> Did I miss something or did I do something wrong?  

I'm not sure you did anything wrong, but your results are very different
from what other people have reported.  In general, because perl threads
don't actually share anything (except opcode trees) unless you tell them
to, all the data gets copied to each thread, which ends up taking up
more memory than the prefork model with COW.

Maybe you have the PerlInterp* settings set low so that you actually
have fewer interpreters running than you did when you were running
prefork?  If so, that's similar to using prefork with a reverse proxy in
front.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to