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: Apache outages that I don't understand

Posted: Tue Jan 24, 2012 1:59 pm 

Replies: 3
Views: 2052


... apache2ctl -l Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c This suggests me that I'm using the prefork MPM module. As for the MaxClients and related settings: <IfModule mpm_prefork_module> StartServers 1 MinSpareServers ...

 Forum: Web Servers and Web App Development   Topic: Apache outages that I don't understand

Posted: Sat Jan 21, 2012 11:27 am 

Replies: 3
Views: 2052


Are you using prefork in apache and is your MaxClients set at the default? This is the cause of like 90% of the OOM errors people have here.

 Forum: Performance and Tuning   Topic: OOM on Linode1024

Posted: Tue Jan 17, 2012 7:20 pm 

Replies: 5
Views: 3058


... settings? But never mind, here's your most likely culprit. <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 </IfModule> That should be changed to something like: <IfModule prefork.c> ...

 Forum: Performance and Tuning   Topic: OOM on Linode1024

Posted: Tue Jan 17, 2012 6:50 pm 

Replies: 5
Views: 3058


... = "SET NAMES utf8" This is a part of my httpd.conf # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ... server processes which are kept spare # ServerLimit: maximum value for MaxClients for the lifetime of the server # MaxClients: maximum number of ...

 Forum: Performance and Tuning   Topic: CPU and outgoing traffic WAY to high

Posted: Sun Jan 15, 2012 10:45 am 

Replies: 12
Views: 9629


... = 1 query_cache_limit = 1M query_cache_size = 16M <IfModule prefork.c> StartServers 3 MinSpareServers 3 MaxSpareServers 8 ServerLimit 12 MaxClients 12 MaxRequestsPerChild 1000 </IfModule> I'm also logging slow MySQL queries for ...

 Forum: Performance and Tuning   Topic: How Do I Identify Cause of CPU Spikes

Posted: Fri Jan 13, 2012 9:44 am 

Replies: 6
Views: 5311


prefork yes maxclient, I figured was great, been running without issues since I moved to this ... 5 <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 80 MaxRequestsPerChild 0 </IfModule>

 Forum: Performance and Tuning   Topic: How Do I Identify Cause of CPU Spikes

Posted: Thu Jan 12, 2012 9:05 pm 

Replies: 6
Views: 5311


are you using prefork and is your maxclients set too high?

 Forum: Performance and Tuning   Topic: Performance/tuning newbie

Posted: Tue Jan 10, 2012 10:57 am 

Replies: 14
Views: 5533


... where I'm at... I've implemented the following changes in apache2.conf/prefork: StartServers 1 MinSpareServers 3 MaxSpareServers 6 ServerLimit 24 MaxClients 24 MaxRequestsPerChild 3000 Per http://library.linode.com/troubleshooting/memory-networking ...

 Forum: Web Servers and Web App Development   Topic: LAMP stack tuning

Posted: Mon Jan 09, 2012 5:05 am 

Replies: 7
Views: 4072


... ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ... server processes which are kept spare # ServerLimit: maximum value for MaxClients for the lifetime of the server # MaxClients: maximum number of ...

 Forum: Performance and Tuning   Topic: VPS blew up and had to reboot, what happened?

Posted: Wed Nov 30, 2011 10:38 pm 

Replies: 11
Views: 6393


... immediately, not after 10 hours, unless I'm gravely mistaken... prefork does not immediately start up 150 processes with MaxClients 150, that's the limit. It will just run as many as are needed, as specified by StartServers, ...

 Forum: Performance and Tuning   Topic: Thrashing, Yelling, Crying - Advice Needed

Posted: Wed Nov 16, 2011 11:29 pm 

Replies: 6
Views: 3912


... apache2 -l Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c apache2.conf <IfModule mpm_prefork_module> StartServers 3 MinSpareServers 3 MaxSpareServers 5 ServerLimit 48 MaxClients 48 MaxRequestsPerChild 4000 </IfModule> keepalive OFF /etc/mysql/my.cnf ...

 Forum: Performance and Tuning   Topic: What the hell am I doing wrong? Slow times: 4.9 req/sec

Posted: Fri Nov 04, 2011 12:29 pm 

Replies: 15
Views: 9088


... 30 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 6 <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 512 MaxClients 512 MaxRequestsPerChild 4000 </IfModule> # worker MPM (commented out)

 Forum: General Discussion   Topic: Help with server slowing way down and going into swap

Posted: Thu Oct 20, 2011 8:49 am 

Replies: 9
Views: 4278


Try "MaxClients" of about 20 or so, and be sure to disable Keepalives (or set the timeout ... that should get it to stop killing itself. Running PHP within Apache requires mpm-prefork, and Apache's default settings aren't great for mpm-prefork on systems with a finite ...

 Forum: General Discussion   Topic: Help with server slowing way down and going into swap

Posted: Wed Oct 19, 2011 10:44 pm 

Replies: 9
Views: 4278


... the server with htop and did some research and realized it might be the MaxClients setting for MPM prefork that's letting memory run out. I backed the default number down from 150 to 30, but ...

 Forum: Web Servers and Web App Development   Topic: Taking over Linode

 Post subject: httpd.conf, apache2.conf
Posted: Thu Sep 29, 2011 2:59 pm 

Replies: 7
Views: 3733


... 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: ... maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: ...
Sort by:  
Page 5 of 11 [ Search found 161 matches ]



Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group