mpm-itk spare servers??
Probably a dumb question but I couldn't find the answer.. I have switched to using mpm-itk on my server but seem to now have a lot of apache servers running..
root 2194 0.0 0.4 5404 2484 ? Ss 21:42 0:00 /usr/sbin/apache2 -k start
root 2198 0.0 0.3 5404 1748 ? S 21:42 0:00 /usr/sbin/apache2 -k start
root 2200 0.0 0.3 5404 1748 ? S 21:42 0:00 /usr/sbin/apache2 -k start
root 2201 0.0 0.3 5404 1720 ? S 21:42 0:00 /usr/sbin/apache2 -k start
root 2202 0.0 0.3 5404 1720 ? S 21:42 0:00 /usr/sbin/apache2 -k start
root 2204 0.0 0.3 5404 1720 ? S 21:42 0:00 /usr/sbin/apache2 -k start
root 2524 0.0 0.3 5404 1720 ? S 21:48 0:00 /usr/sbin/apache2 -k start
root 2533 0.0 0.3 5404 1720 ? S 21:48 0:00 /usr/sbin/apache2 -k start
root 2534 0.0 0.3 5404 1720 ? S 21:48 0:00 /usr/sbin/apache2 -k start
How do I reduce this when using mpm-itk?
4 Replies
@Guspaz:
You can reduce maxclients, but mpm-itk is based on mpm-prefork. It can only handle one client per process. This is horribly inefficient. Are you SURE that you need mpm-itk? You'd be far better off with mpm-worker.
Hi,
I know about the inefficiencies but unfortunately I need the security and simplicity of serving the web and php files as the user who owns them rather than making all files accessible to a common user account and messing around with permissions.. Doesn't seem to be another way around this?!?!
Thanks..
@Amar:
Use SUPHP/SUEXEC .. ?
From the reading I have done mpm-itk is the better option than suphp but I guess like all these things everyone has a preference and opinion..