| Author |
Message |
Forum: General Discussion Topic: Sysadmining made easier? MySQL constantly crashing, etc |
| Vance |
|
Posted: Fri Jul 17, 2015 3:57 am
|
|
Replies: 6 Views: 1159
|
| ... a victim of the Out Of Memory killer. I guess you have Apache in prefork mode and more visits than your available RAM + swap can handle. Are ... you still have out-of-memory problems after following that, reduce MaxClients even lower. As suggested earlier, you could also switch to nginx ... |
|
 |
Forum: General Discussion Topic: Newbie question: How can I find the process which is consuming all of the available virtual memory? |
| glg |
|
Posted: Wed Jul 01, 2015 10:36 pm
|
|
Replies: 6 Views: 1161
|
| The process which is taking all your memory is almost always Apache in prefork mode using mod-php. (You can use the "top" command to check, ... offline, I don't have secondary hosting. Do a search in this forum for MaxClients, this question is asked very frequently. Simple answer is to try ... |
|
 |
Forum: General Discussion Topic: High memory usage |
| hunini2010 |
|
Posted: Fri Jun 26, 2015 11:15 am
|
|
Replies: 9 Views: 1277
|
| ... as linode tutorial. Apache: KeepAlive Off ....... <IfModule prefork.c> StartServers 2 MinSpareServers 6 MaxSpareServers 12 ServerLimit 256 MaxClients 30 MaxRequestsPerChild 3000 </IfModule> MySQL: max_connections = 75 key_buffer ... |
|
 |
Forum: Linux Networking Topic: are there any way to make limit of total connections by IP? |
| math |
|
Posted: Sat Apr 18, 2015 8:27 pm
|
|
Replies: 13 Views: 3368
|
| How big is your linode? 200 is *way* too high of a MaxClients in prefork unless you have a huge amount of RAM my VPS ram is: 16G and values now using #free -m [root@li453-144 ... |
|
 |
Forum: Linux Networking Topic: are there any way to make limit of total connections by IP? |
| glg |
|
Posted: Sat Apr 18, 2015 4:23 pm
|
|
Replies: 13 Views: 3368
|
| ... 80 :?: using iptables Iam using Linode with LAMP stack Centos 6.5, with prefork apache module works with below settings, but I think its iptable ... StartServers 8 MinSpareServers 8 MaxSpareServers 15 #ServerLimit 256 MaxClients 200 MaxRequestsPerChild 3000 </IfModule> thanks and regards How ... |
|
 |
Forum: Linux Networking Topic: are there any way to make limit of total connections by IP? |
| math |
|
Posted: Sat Apr 18, 2015 4:48 am
|
|
Replies: 13 Views: 3368
|
| ... 80 :?: using iptables Iam using Linode with LAMP stack Centos 6.5, with prefork apache module works with below settings, but I think its iptable ... StartServers 8 MinSpareServers 8 MaxSpareServers 15 #ServerLimit 256 MaxClients 200 MaxRequestsPerChild 3000 </IfModule> thanks and regards |
|
 |
Forum: Web Servers and Web App Development Topic: MaxClients Directive & KeepAlive |
| reaktor |
|
Posted: Tue Mar 17, 2015 3:02 pm
|
|
Replies: 2 Views: 1054
|
If you are using php (mod_php) you are using prefork mode. You can ignore the other modes.
The problem you are seeing is doubtful to be these apache settings but rather the backend app (php, mysql, etc). |
|
 |
Forum: Web Servers and Web App Development Topic: MaxClients Directive & KeepAlive |
| rssamad |
|
Posted: Wed Mar 11, 2015 8:08 pm
|
|
Replies: 2 Views: 1054
|
| ... if this has to do with Apache settings, so I started looking into the MaxClients directive. I noticed that there was no directives in the initial ... for both port 80 and 443? 2) Also, is the module setting significant (prefork, worker, event)? 3) I am not sure what module was used when installing ... |
|
 |
Forum: Web Servers and Web App Development Topic: Apache2: [info] server seems busy |
| ameneyro |
|
Posted: Mon Aug 11, 2014 11:39 pm
|
|
Replies: 0 Views: 1248
|
| ... KeepAliveTimeout 5 MaxKeepAliveRequests 100 KeepAlive Off <IfModule mpm_prefork_module> StartServers 10 MinSpareServers 12 MaxSpareServers 24 ServerLimit 100 MaxClients 70 MaxRequestsPerChild 6000 </IfModule> <IfModule mpm_event_module> StartServers ... |
|
 |
Forum: Performance and Tuning Topic: Server performance issue |
| speaking |
|
Posted: Fri May 16, 2014 3:05 am
|
|
Replies: 5 Views: 3598
|
| ... 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: ... |
|
 |
Forum: Web Servers and Web App Development Topic: Very low traffic web server but Apache is very slow. |
| ycs2000 |
|
Posted: Wed Jan 01, 2014 11:42 am
|
|
Replies: 14 Views: 3395
|
| Apache 2.2.22 Prefork 1GB Linode Running 3 virtualhosts, but only one is "active" at the moment. ... Off <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 80 MaxRequestsPerChild 3000 </IfModule> I've also tried putting StartServers, ... |
|
 |
Forum: Performance and Tuning Topic: Out of memory: server halts many times a day! |
| drein |
|
Posted: Mon Dec 23, 2013 11:29 am
|
|
Replies: 6 Views: 3508
|
I put maxclients to 8, and remove the serverlimit since I don't think have sense with prefork, Still server completely locked! do you know where to look for log file that explain the error? |
|
 |
Forum: Web Servers and Web App Development Topic: Cant find Apache tuning settings |
| ruchirablog |
|
Posted: Fri Nov 29, 2013 8:04 am
|
|
Replies: 3 Views: 3529
|
| ... using with the following: apache2ctl -M | grep -i mpm If this is prefork, and assuming the configuration is somewhere under /etc/apache2/, the following command should show you where it belongs: grep -Ri maxclients /etc/apache2/ Keep in mind this may indicate the file you edited ... |
|
 |
Forum: Web Servers and Web App Development Topic: Cant find Apache tuning settings |
| Vance |
|
Posted: Fri Nov 29, 2013 6:37 am
|
|
Replies: 3 Views: 3529
|
| ... using with the following: apache2ctl -M | grep -i mpm If this is prefork, and assuming the configuration is somewhere under /etc/apache2/, the following command should show you where it belongs: grep -Ri maxclients /etc/apache2/ Keep in mind this may indicate the file you edited ... |
|
 |
Forum: Web Servers and Web App Development Topic: Cant find Apache tuning settings |
| ruchirablog |
|
Posted: Thu Nov 28, 2013 11:31 am
|
|
Replies: 3 Views: 3529
|
| ... my RAM. Its normal for Apache but my problem is I cant find Apache maxclients and other settings anywhere on Apache2.conf file which is located ... . Tried putting these inside the file <IfModule prefork.c> StartServers X MinSpareServers X MaxSpareServers X ServerLimit ... |
|
 |
| Sort by: |