httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristina Clair <kcl...@gmail.com>
Subject MPM and AcceptMutex questions
Date Fri, 03 Dec 2004 21:58:09 GMT
Hi,

I'm not sure if this is really the right list for this, but I got no
response from the "users" list, so I'm wondering if some of the
developers might be able to shed some light.  Sorry if it's
inappropriate to mail this list with these questions.

I've been reading a bit about Apache2 performance tuning.  I'm
particularly interested in reducing the memory usage as much as
possible.

I'm running apache2 on redhat 7.3 servers with very heavy http
traffic.  I'm wondering if it might be wise for me to try to use the
worker MPM rather than the default prefork.  Does anyone have any
real-world experience with this?  Our users are allowed to run any cgi
scripts they want --  could this cause a potential problem with
worker?

Also, I recently encountered a problem with the mutex device - I'm
using the default AcceptMutex setting, which is sysvsem, but it is
leaving semaphores around when httpd is restarted.  It seems like the
two main recommendations for fixing this are to either increase the
max number of semaphores in the kernel or use AcceptMutex fcntl
instead.  Again, has anyone had any experience with this? It's probably
also important to note that the files that apache serves are nfs - does this
give me a disadvantage if I try to use fcntl?  And if I increase the
max semaphores in the kernel - isn't it just a matter of time before
they all get used up too?

Thanks!
Kristina
-- 
Kristina Clair
Datarealm Internet Services
www.serve.com

Mime
View raw message