Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: mpm-itk spare servers??
PostPosted: Thu Feb 03, 2011 6:25 pm 
Offline
Senior Member

Joined: Tue Feb 01, 2011 5:14 pm
Posts: 53
Hi,

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

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


Top
   
 Post subject:
PostPosted: Fri Feb 04, 2011 11:54 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
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.


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 5:29 am 
Offline
Senior Member

Joined: Tue Feb 01, 2011 5:14 pm
Posts: 53
Guspaz wrote:
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..


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 7:20 am 
Offline
Senior Newbie

Joined: Wed Jun 16, 2010 4:55 pm
Posts: 10
Use SUPHP/SUEXEC .. ?


Top
   
 Post subject:
PostPosted: Sun Feb 06, 2011 7:53 am 
Offline
Senior Member

Joined: Tue Feb 01, 2011 5:14 pm
Posts: 53
Amar wrote:
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.. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group