I have a very beefy server... but I need to find out how to do something... can someone help me???? -How can I find out why my server load is so much??? I have WHW so where specifically can I check to find out why I have a large load???
do you mean WHM? You can click server status and look at your cpu/mysql usage. It will show you what file(s) are currently using up the most memory
yeah... WHM This is what it shows me currently in that section??? How can I find out why the server load is so high??? httpd (1.3.37 (Unix)) up ftpd up mysql (4.1.21-standard) up pop up cpsrvd up named (9.2.4) up imap up spamd up exim (exim-4.63-1_cpanel_maildir) up antirelayd up Server Load 5.99 (4 cpus) Memory Used 41.4 % Swap Used 0.00 % Disk sda7 (/) 33 % Disk sda1 (/boot) 31 % Disk sda8 (/home) 13 % Disk hdc1 (/backup) DMA+ 7 % Disk sda6 (/tmp) 4 % Disk sda2 (/usr) 60 % Disk sda5 (/var) 31 %
You are looking at the system health page. You want the "server status" page - its about 1/3 way down on the list. You'll see stuff like this: Top Process %CPU 0.2 httpd [www.poopypuppies.com] [/design/images/title_rating.gif] If you have something take up a ton of CPU power, theres your issue. the typical cause of high cpu usage is someone hotlinking images.
yeah... it's even highlighting a few things in red for me. Like an avatar file. My server load just keeps climbing higher. Server Load 9.14 (4 cpus)
Is your blog on the same server? If so, its definitely dragging. The pages load, but the CSS file does not. Well, now the blog isn't loading either.
yeah... this is our peak hours right now. We have 8GB of RAM and 92% was used when I was on the phone with my server dudes. Within 2 minutes on *one* site we had a little over 1,005 unique visitors... and it's a VB forum. (slow) Time to go get another server... I think I have done just about everything one could do. VB optimization... MySQL optimization... time outs.
It is normally that linux used up 92% of the memory as it is been designed in this way. You might want to check what sites is using the most resource and you might want to get another server on the same network to setup a remote MySQL server to lessen the load on your main server.
login over ssh and run command: top Keep an eye on it for awhile, what processes are those eating most resources? How is your memory usage...how much you have free and how much buffer? Furthermore, keep an eye on your swap usage. If your system uses alot of swap and very little ram is free, then you are certanly running out of ram. Next...how is your processor usage? Before changing server to biger one you should optimize the current one, as good optimizing has huge effect on server performance.
I have 26% swap usage, is that too much? I tend to say yes but I don't have any context except to compare to a desktop PC.
hello well maybe this help you turn off persistent conection in your php.ini [MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = Off add this lines in my.cnf wait_timeout = 10 connect_timeout = 8 add a memory limit in whm if no no have limite !
Can I do that in cpanel? if so, where? I run a vbulletin forum approx 3,400 members, trying not to have to upgrade to the next biggest VPS if I can help it!!
If you run a forum don't turn off persistant connections. Turning those off in this case will actually use more resources than keeping those on.
And I thought that server load was high. LOL Server Load 103.02 (4 cpus) Crap! how high can a server load go???
Mine got up to a 500 load on one 1 CPU... with a bad apache mistake (mod_rewrite and N option, I think). So, it can go pretty high, just processes waiting on the CPU. =) You've got too many processes, not enough CPU. =) Like 4 load should be max for you with 4 CPUs, you can spike above it and still function, but something is waiting for the CPU. If you are constantly above it... might be time to upgrade or do some tuning?
You might be getting httpd flood or some other kind of DDOS, check output of "netstat -an" You might need to install MOD_Evasive module for apache and also try some firewall like apf or CSF (I Recommend CSF as it integrates very well in WHM) Greets
No.... 2-3 times per week I get a lot of traffic within a very short time frame. (1-2 hours) We opened up the Apache "requests currently being processed" from 150 to 200 and this seemed to let more people on my site.... however it caused the server load (103) to go crazy. We also cut down the connection time to 5 sec Vs the 15 sec it was set at. Even with the server load so high... the servers preformed better than last week and the load time was 4-6 seconds during peak times. (not too bad.. IMO)