Sites Have Gone Slow. Should Increase Maxclients

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


ADVERTISEMENT

Increase Maxclients Limit

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

Vps Slow How Increase Numproc Parameter

Jun 25, 2007

i have a vps with 384mb ram,20Gb space and two sites hosted but everthing is down. on Qos alerts i have many yellow and black zone.

For the traffic statistics i see just a little gb a day and 1300-1500 visitors daily.

The support staff answer my ticket that the server work with a high tcp connections to my vps and this cause the down stats of all my website.

more details:

Code:
uid resource held maxheld barrier limit failcnt
7041: kmemsize 6851969 6887410 20761600 23068672 0
lockedpages 0 0 256 256 0
privvmpages 118485 119083 235929 262144 0
shmpages 6654 6654 65536 65536 0
dummy 0 0 0 0 0
numproc 86 87 200 200 682
physpages 41110 41692 0 2147483647 0
vmguarpages 0 0 98304 2147483647 0
oomguarpages 41110 41692 98304 2147483647 0
numtcpsock 30 32 500 500 0
numflock 8 8 11340 12600 0
numpty 2 2 64 64 0
numsiginfo 0 1 256 256 0
tcpsndbuf 393036 399744 3154974 5258291 1009
tcprcvbuf 380616 405756 3154974 5258291 28300
othersockbuf 21916 158504 3271557 8388608 0
dgramrcvbuf 0 700 1572864 1572864 0
numothersock 21 26 500 500 0
dcachesize 668198 677622 8304721 9227468 0
numfile 2650 2677 8192 8192 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 500 500 0[

How can i increase the numproc,tcprcvbuf and all parameters that give fails.

View 10 Replies View Related

Plesk 12.x / Linux :: Increase PHP Memory Limit For All Hosted Sites

Nov 12, 2014

I am trying to increase the PHP memory limit for all Plesk hosted sites.

I've updated the 'memory_limit' setting in /etc/php.ini

Then I ran

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
Checking a phpinfo() page on hosted sites I see that this setting has not been effective.

Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.

I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading

I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?

View 3 Replies View Related

QOS Alerts And Sites Running Slow On Occasion

Jul 5, 2008

My sites have been receiving a little more traffic these days (but not too much) and it seems my vps is slowing and at times vbulletin/wordpress page doesn't loads or loads a bit sluggishly (refreshing the page gets rids of not loading issue but not sluggishness).

So I logged into Virtozzo and saw the following QOS alerts:

Jul 05, 2008 11:38:25 AM Green zoneGreen zone kmemsize
Jul 05, 2008 11:38:25 AM Green zoneGreen zone tcpsndbuf
Jul 05, 2008 11:34:54 AM Green zoneGreen zone privvmpages
Jul 05, 2008 11:33:54 AM Yellow zoneYellow zone privvmpages
Jul 05, 2008 11:33:15 AM Black zoneBlack zone kmemsize
Jul 05, 2008 11:33:15 AM Black zoneBlack zone tcpsndbuf
Jul 05, 2008 11:28:05 AM Black zoneBlack zone kmemsize
Jul 05, 2008 11:28:05 AM Black zoneBlack zone tcpsndbuf
Jul 05, 2008 11:27:55 AM Red zoneRed zone tcpsndbuf
Jul 05, 2008 11:22:55 AM Black zoneBlack zone kmemsize
Jul 05, 2008 11:22:54 AM Black zoneBlack zone tcpsndbuf
Jul 05, 2008 11:17:54 AM Black zoneBlack zone kmemsize
Jul 05, 2008 11:17:45 AM Black zoneBlack zone tcpsndbuf
Jul 03, 2008 05:31:29 PM Green zoneGreen zone othersockbuf
Jul 03, 2008 05:26:19 PM Black zoneBlack zone othersockbuf

I have previously seen tcpsndbuf going into yellow and even black zone (but only once in a blue moon) however never saw kemsize going into black zone.

These are the limits my host has set:
IDCurrent UseSoft LimitHard LimitUnits
tcpsndbuf301,8602,580,4804,055,040bytes
kmemsize9,135,28929,614,08030,474,240bytes
othersockbuf17,8881,689,1203,145,728bytes

My Cpanel VPS has around 384MB of dedicated ram and around 896Mb of burst Ram. At any given time, there is at least 150Mb of free dedicated RAM. So based on this, are these values correct or they need to be changed or do I need to look for something else which might be causing this problem?

I don't run Spamassassin

View 4 Replies View Related

Moved In Some Sites, Now The Server Is Running Slow

Sep 4, 2007

If you check out [url], you can see that its not running super fast. The load is nothing, iostat, vmstat, etc don't show anything out of the ordinary. Is there anything else I can do to see what might be causing it? Am I just in need of some good mysql optimization?

View 6 Replies View Related

Some Sites Load Slow, Some Sites Load Fine, Server Load Is Fine

Aug 12, 2008

I'm having the oddest issue. For some reason, some of the websites on my server load fine, and some take a really long time to load (2 minutes).

Now, the server load is fine, and the size of the sites aren't the issue either. I've restarted Apache and a couple more services, and still the same sites seem to load very slow.

What could be causing this since it's only effecting certain websites?

View 14 Replies View Related

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 View Related

Modify MaxClients

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

No HardServerLimit, Just MaxClients

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

Apache2 - Where To Set Maxclients

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

Server Reached Maxclients

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

How To Change MaxClients On Apache2

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

Apache ServerLimit MaxClients / MaxSpareServers?

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

Apache :: Busy Servers Reaches Maxclients

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

VPS Incredibly Slow, Huge Numbers Of Slow MySQL Queries For Plesk/Watchdog

Nov 11, 2008

I've got 25 domains on a Virtuozzo/Plesk8.6/CentOS5 VPS. Each domain has one up-to-date install of WordPress, most have very little traffic (average 200mb per month), maybe 2 domains get 5-7gb traffic per month.

I monitor port 80 connections and rarely see more than 10 at a time.
That should in my opinion be no problem at all for a VPS with 768mb guaranteed ram and 2.4ghz cpu. I've got 30gb hard drive spare too.

But.... about 8 or 10 times a day it grinds to a complete halt: server load at 500-1000%, sites timing out, plesk takes 3mins to load, often I can't even connect with SSH, and the plesk web server, apache

INSERT INTO module_watchdog_sys_stat (time, type, value, service_id) VALUES(FROM_UNIXTIME(1226404705), 'MAINMEM_USAGE', 17472, 11);

80 seconds sounds like a huge amount of time for a MySQL insert to me! Does anyone know if this is likely to be the cause of my trouble? Some problem with Plesk and the database? Or could it be something else?

View 3 Replies View Related

Increase Hdd In Vmware?

Jul 7, 2009

we have problem with increase HDD for VPS in vmware

when i increase HDD show this error:

"Reconfigure Virtual Machine" failed to complete OK
If these problems persist, please contact your system administrator.
DetailsOperation failed because file already exists.

View 6 Replies View Related

Increase Nf_conntrack Value

Jul 10, 2007

I want to edit the nf_conntrack value 'cause I'm being DDoSed and my /var/log/messages says nf_conntrack is full...

I know how ip_conntrack can be modified.. but I can't figure out how to edit nf_conntrack (installed FC 7...)

if there are any additional settings i must edit on apf to work with nf_conntrack please warn me about it.

View 6 Replies View Related

How To Increase FTP Timeout

May 23, 2007

Is there a way to increase FTP timeouts to 60 minutes within WHM? Otherwise, how would one do it via SSH?

View 5 Replies View Related

CPanel VPS License Increase

Jul 18, 2008

Just received this from cPanel... it is a substantial price increase (33%). Should be fun explaining to customers why they will start to be billed more...


Earlier this year we released cPanel VPS Optimized as part of our ongoing effort to provide quality web hosting automation software. You can learn more about this optimization of our software for VPS environments on our website at:

http://www.cpanel.net/products/cpvps/

In order to provide optimized software and ensure continuous updates for your virtual server customers, effective September 1, 2008 the monthly pricing for all internal virtual server licenses will be increased by $2 per license.

This price increase is for virtual server licensing only and will not affect your dedicated server license pricing.

View 14 Replies View Related

How Can I Increase My Terminal Connections

Jul 13, 2009

i have a dedicated server windows 2008

and i created users on the group (remote desktop users)

but only 2 users can join online

how can i increase this?

View 4 Replies View Related

Raid 10 Performance Increase

Nov 4, 2009

althogh the cpu is very powerful now,

i feel the sata speed and io is the bottleneck of server,

if we use four SATAII HDs to do raid10,

about the hd performance,

will take how many more than original one sata hd?

View 14 Replies View Related

What Increase In Performance To Expect

May 2, 2009

I'm considering upgrading our company's server. We run an ecommerce site php/mysql based, we have about 12,000 visitors per day and we use up about 1500 gig per month. Simple ecommerce site, nothing fancy. We had some complains from people that our site is "slow" (despite it running smoothly for us, but these people claimed that only our site was "slow" and that they use fast connections) so that's why now I'm thinking maybe its time to upgrade.

We are using softlayer, for an extra $50 per month they recommended that we upgrade from our Opteron 1216 to "Xeon 3220 - 2.40GHz (Kentsfield) - 2 x 4MB cache"

Are we going to see a serious increase in performance? Will the increase be enough that most visitors will actually be able to feel it?

View 14 Replies View Related

Increase In Fraud Orders

Jul 28, 2009

Anyone else see an influx of fraudulent CC orders with all valid information? Even the IP of these orders matches or comes close to matching the address. What's in common is that email correspondence reveals Asia-based IP addresses and the phone number never checks out.

Could this be due to the recent Network Solutions breach? I've never seen so many fraudulent orders with nearly everything checking out.

View 6 Replies View Related

Disk Used Of VPS Increase Everyday

Oct 21, 2008

I use a VPS with CentOS and LX-Admin. My VPS run only 1 forum phpbb3.0.2 and nothing else.

3 days ago, disk used was 2.6GB, yesterday disk used was 2.7BG and to day disk used is 2.8GB ...

I wonder why disk used of my VPS increase everyday? It's may be because of cache and log? How to clean unnecessary cache and log?

View 7 Replies View Related

How Can You Increase The Uptime Of Your Server

Nov 3, 2008

how can you increase the uptime of your server?

can i ask how could you increase the uptime of your server?

View 2 Replies View Related

Level3 Price Increase Jan 1st

Jan 19, 2007

We've been considering getting a cabinet at Level3 in Tampa and the last pricing we got was November 2006. Yesterday I spoke with the rep I'd been dealing with to place the order, and was told that Level3 raised their prices substantially as of January 1st.

The quote we got 2 months ago is now a full 30% higher.

Can anyone confirm whether Level3 really did take a fat increase, or am I being hustled?

View 4 Replies View Related

Bandwidth Usage Increase

May 25, 2007

I have an increase in bandwidth for one of my site.

Usually, it average around 6 or 7 gigs per month. This month im almost at 10 gig. In awstats, it report that a spcific ip have used 3.49 GB alone and as 128668 pages view and 128668 hits. Last access was 18th of may.

I have done a IP whois, and it appears that this IP belongs to [url], which is an ISP.

Now, im thinking of all types of things. Is my account serving files for someone? hack?

View 3 Replies View Related

Increase Mail Send Limit

Jun 14, 2009

I'm sending out a mail campaign and noticed that there is a default limit of 300 set somewhere on my server. how do i chance this...

has exceeded the max emails per hour (300) allowed. Message discarded.

View 5 Replies View Related

Increase /home Directory Size

Apr 23, 2008

Is it possible to add another hard-drive and attach it to increase the size of the /home directory?

Beginning to run out of space.

View 6 Replies View Related

How To Increase Import Max File In PhpMyAdmin

Dec 15, 2008

I have CentOs 5 With LxAdmin

My Current Import Max File in PhpMyAdmin is 8192 KiB

I have Changed Values in php.ini and my.cnf But Still No Luck At ALL, Its Not Working

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved