Maxclients
May 27, 2009
im using apache2, and in apache config i set maxclients value is 60.
it mean, my vps will accept only 60 clients at the same time.And when vps have more than 60 clients, all clients over are locked out till my vps have less than 60 connections.
But when my vps had more than 60 clients, apache is crash, ram is not full, and i must restart apache.
View 6 Replies
Jun 13, 2008
i want to larger the "MaxClients",
i add the MaxClients 1000 in the httpd/conf/httpd.conf and restart the httpd
but it looks likely not work at all,
what should i do else?
my apache is version 2
View 10 Replies
View Related
May 25, 2008
Noticed that our http.conf file only contains MaxClients but not HardServerLimit. Is it because we are running an older version of Apache where the server limit has to be compiled with that set? We are running: 1.3.37
Our management server has set MaxClients to 2000 and it seems to work. Have been doing lots of reading and this number may cause issues when the server spikes in traffic. Most users recommend a number below 500.
View 0 Replies
View Related
Aug 17, 2014
I am using Plesk 12 / Ubuntu 14.04
In PLESK 11 I could set maxclients, ServerLimit ..... in /etc/apache2/apache2.conf
But I cannot find these settings in apache2.conf.
Where to configure these settings, in which file?
View 6 Replies
View Related
Mar 25, 2008
I`m on VPS 768Ram WHM/Cpanel
when i check error log on apache i see that error around 5 times daily.
[error] server reached MaxClients setting, consider raising the MaxClients setting
the apache restart automatically (~3 second). and that the problem when user make downloading all connections CUT.
my httpd.conf
maxclients 150
maxrequestperchild 0
i can increase maxclients no problem but i don`t know if i need to do something else or not.
Is there any way to LIMIT connection ( if server get more than 256 connection it says SERVER BUSY and doesn`t accept any connection )
View 7 Replies
View Related
Jan 8, 2008
Since I upgraded to apache2.2 I dont seem to be able to find the "MaxClients" setting in httpd.conf.
I spent some time on google and aparently this has been taken out because apache2 is multi-threaded. What I do know is no more than about 250 people can connect to my server.
View 13 Replies
View Related
Nov 30, 2007
well now my server load is back to normal i.e 1 - 2
but i want to increase the maxclients limit in my httpd.conf..
when i did 312 and restarted it, it says the max is 256.. so how do i increase the limit
View 8 Replies
View Related
Mar 23, 2005
I am using prefork MPM in apache because we are running php which is not thread safe.
I have a ServerLimit of 500 and a MaxClients/MaxSpareServers set at 500. However, the server seems to be stuck at 352 processes.
Any ideas of why that may be?
View 0 Replies
View Related
Feb 1, 2007
One of my sites gets around 10k+ visitors a day which has caused my httpd to be really slow.
My MaxClients is set to 250.
What should I do to get it back to normal?
View 5 Replies
View Related
Jun 18, 2015
I am using apache 2.2 webserver and tomcat 6 as app server.
I have two unix boxes (let say A and B) where apache is installed for load balancing purpose.
The issue is now and then I see that on both the server reaches to 250 busy servers which makes my site very slow and after some time the site is unaccessible.
When I see this I restart apache on both unix boxes and also restart my app server.
But that does not work. As soon as I start apache the httpd process ramps up to 12 (ps -ef | grep httpd) within a minute and the busy servers still remains at 250.
The only I have to do is wait and watch till the busy servers goes down to 250 and then site is back to normal.
Some times it takes hours for busy servers to go down below 250.
I dont understand that why even restarting apache and tomcat doesn't work. why the busy servers are still at 250. even after I restart.
This is what I have in httpd.conf
<IfModule worker.c>
ServerLimit 80
StartServers 2
MaxClients 250
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
I tried to increase MaxClients to 300, which also didn't work and apache or httpd process shuts down by itself.
View 3 Replies
View Related