Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Search found 161 matches
Search term used: +maxclients +prefork Search these results:

Author Message

 Forum: Web Servers and Web App Development   Topic: Help required fine tunning apache

Posted: Sat Jun 25, 2011 4:16 am 

Replies: 9
Views: 4696


... file /etc/apache2/apache2.conf: turn off KeepAlive: KeepAlive Off "prefork" is default variant, so find "IfModule mpm_prefork_module" ... mpm_prefork_module> StartServers 3 MinSpareServers 3 MaxSpareServers 5 MaxClients 85 MaxRequestsPerChild 4000 </IfModule> "MaxClients ...

 Forum: Performance and Tuning   Topic: Barley any free memory, but top doesn't indicate as such

Posted: Tue Jun 21, 2011 9:16 pm 

Replies: 6
Views: 4203


I'm running CentOS obs: I went into httpd.conf and changed my prefork settings to this: <IfModule prefork.c> StartServers 2 MinSpareServers 2 MaxSpareServers 4 ServerLimit 13 MaxClients 13 MaxRequestsPerChild 4000 </IfModule> My linode has 512MB RAM, and each ...

 Forum: Performance and Tuning   Topic: Lots of questions!

 Post subject: Re: Lots of questions!
Posted: Thu May 12, 2011 9:29 pm 

Replies: 2
Views: 3555


... I ran "httpd -l" and got this; Compiled in modules: core.c prefork.c http_core.c mod_so.c So it sounds like I'm using PHP5 in a CGI, ... premature optimization. Outside of a few specific cases (like adjusting MaxClients in apache's configuration), it's difficult to know what problems ...

 Forum: Performance and Tuning   Topic: Linode OOM, IO Spikes and CPU Spikes

Posted: Thu May 05, 2011 7:17 pm 

Replies: 4
Views: 3661


Assuming you're using Apache's Prefork MPM, what is your current MaxClients value in your Apache config?

 Forum: Performance and Tuning   Topic: My server crashed when tested with Siege... why?

Posted: Wed May 04, 2011 6:47 pm 

Replies: 4
Views: 3347


You ran out of memory, so OOMKiller started shooting random processes, which is why it stayed unresponsive... something important got killed.

You should reduce the MaxClients setting in your Apache config (in the <prefork> section) to something like 15.

 Forum: Performance and Tuning   Topic: No Traffic but I/O Spikes, OOMs, Crashes

 Post subject: Re: Same problem
Posted: Mon May 02, 2011 9:30 am 

Replies: 9
Views: 5458


You either need to edit the prefork or worker section, depending on which MPM you are using. You won't be using both at once.

I'd recommend dropping MaxClients down to 5, and seeing what happens.

 Forum: Performance and Tuning   Topic: OOMing

Posted: Thu Apr 28, 2011 8:32 am 

Replies: 5
Views: 4147


Apache is running as prefork. Size of the Linode is 16GB. Contents of apache2.conf are as below : # # Timeout: ... spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: ...

 Forum: Performance and Tuning   Topic: MaxClients and MaxRequestsPerChild on MPM Prefork

Posted: Thu Apr 14, 2011 3:08 pm 

Replies: 12
Views: 11533


... proving invaluable. I've currently got a Linode 512 running Apache MPM Prefork, PHP, Mysql and a send only exim mailer. No fancy apache mods either. ... mpm_prefork_module> StartServers 2 MinSpareServers 2 MaxSpareServers 5 MaxClients 30 ServerLimit 30 MaxRequestsPerChild 4000 </IfModule> Keepalives ...

 Forum: Web Servers and Web App Development   Topic: Need help diagnosing high disk IO and site down

Posted: Thu Mar 31, 2011 4:53 am 

Replies: 6
Views: 3712


... way to sort the process list but I never found out how! Set your apache MaxClients to 20 and restart apache. Ok, Unless there's another config file ... 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ...

 Forum: Performance and Tuning   Topic: Apache Crashing every few days on Linode 512

Posted: Tue Mar 29, 2011 11:31 am 

Replies: 2
Views: 3391


... = 1M query_cache_size = 12M httpd conf (Just changed this) <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 5 ServerLimit 256 MaxClients 25 MaxRequestsPerChild 1000 </IfModule> KeepAliveTimeout 2

 Forum: Performance and Tuning   Topic: Set up Debian Apache web server for 250 users

Posted: Tue Mar 29, 2011 8:08 am 

Replies: 15
Views: 9136


From http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxclients The MaxClients directive sets the limit on the number of simultaneous ... the connection will then be serviced. For non-threaded servers (i.e., prefork), MaxClients translates into the maximum number of child processes that ...

 Forum: Performance and Tuning   Topic: Tuning LEMP on a Linode 1536

Posted: Sun Mar 27, 2011 10:44 pm 

Replies: 16
Views: 8996


... $ apache2 -l Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c The following modules are enabled: $ a2dismod ... maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: ...

 Forum: General Discussion   Topic: Websites would stop responding, but SSH still on

Posted: Sat Mar 05, 2011 9:06 pm 

Replies: 43
Views: 18436


No problem guys. All great help. I'm running mpm_prefork_module, and MaxClients is 24. # # Based upon the NCSA server configuration files originally by Rob McCool. # # ...

 Forum: Web Servers and Web App Development   Topic: mpm-itk spare servers??

Posted: Sat Feb 05, 2011 5:29 am 

Replies: 4
Views: 2942


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

 Forum: General Discussion   Topic: [SOLVED] Need to figure out why Linode is crashing

Posted: Sat Feb 05, 2011 2:37 am 

Replies: 5
Views: 3336


- attempted to move to apache2-mpm-worker, but rolled back to prefork (reinstalling phplib5 in the process) What is MaxClients set to in your apache2.conf? As a rough guess, for prefork I'd suggest starting at ...
Sort by:  
Page 7 of 11 [ Search found 161 matches ]



Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group