Portal Home > Knowledgebase > Articles Database > Am I running out of power?
Am I running out of power?
Posted by ninjapiraatti, 03-11-2014, 01:58 AM |
Hi!
I'm running a managed server from Hetzner (MX90, can't link to it apparently). I have roughly 20 clients set up there, all have pretty low traffic except for the latest one, which has about 50-100 users at any given moment, according to google analytics.
Last night the new site became incredibly slow. I checked other sites on the server and they were very sluggish too, save for the one in CloudFlare. But only one user from the new site's forum reported bad performance so it's as if the server is working perfectly for most people. Many reported normal performance.
This morning everything is back to normal.
My question is, if you look at the specs of the server, it should easily be able to run 20 light, low traffic Wordpress sites plus one with a bit more traffic, yes?
I'd also be interested if there's any way to measure and monitor the traffic for the entire server. It's managed so I can't install any Apache mods for example.
Thank you!
|
Posted by Dr_Michael, 03-11-2014, 02:06 AM |
What is the average server load? Have you any option to monitor it?
|
Posted by ninjapiraatti, 03-11-2014, 02:12 AM |
That's just it, I don't. I did send a ticket and asked if it's possible.
|
Posted by Dr_Michael, 03-11-2014, 02:13 AM |
Can you setup a test account and upload and install a SMF forum? If yes, I have a php script which will show server load and many other useful information. But this script requires SMF installation.
|
Posted by ninjapiraatti, 03-11-2014, 02:15 AM |
Yeah, no problem.
|
Posted by ninjapiraatti, 03-11-2014, 02:35 AM |
Ok, got the SMF running.
|
Posted by Dr_Michael, 03-11-2014, 08:22 AM |
I am not allowed to give you a link to download it. Also I cannot send you email with that script.
|
Posted by ninjapiraatti, 03-11-2014, 08:31 AM |
That's ok. With SSH command top I was able to pinpoint an account that constantly hogged up to 40% of CPU (or core). It's now down to 0 so the problem is gone at least temporarily and I now have a better idea of my server's capacity.
I just don't understand what was going on yesterday. Oh, now I also have load averages: 1.11, 1.19, 1.22. When the CPU hog was still hogging, they were between 1.5-1.7.
|
Posted by bithoster, 03-12-2014, 03:10 PM |
Are you caching your sites?
|
Posted by ninjapiraatti, 03-12-2014, 03:13 PM |
I am now and the loads are down to roughly 0.3-0.4.
|
Posted by ninjapiraatti, 03-12-2014, 03:58 PM |
And again the site is practically unusable, at the same time (around 9.30 PM local time). Server loads are very low, traffic normal and yet the site loads in 30+ seconds. What could this be?
|
Posted by Dr_Michael, 03-13-2014, 01:34 AM |
Maybe you have a link to another site or you use an API from another site which is causing the issue?
|
Posted by ninjapiraatti, 03-13-2014, 01:39 AM |
Wouldn't this slow the site for everyone? No one on the site's forums had any problems. And for me, only sites on my server were slow, everything else worked normally.
|
Posted by Kailash12, 03-13-2014, 10:47 AM |
Kindly check the running MySQL processes. It is possible that MySQL is unstable on your server. Since you have data driven website, it is possible that MySQL queries taking more time.
|
Posted by ninjapiraatti, 03-13-2014, 10:49 AM |
MySQL memory and CPU usage looks nominal. Can I find more detailed info somewhere besides the top command?
|
Posted by Novogara, 03-13-2014, 10:51 AM |
Check 'show processlist' on mysql
|
Posted by ninjapiraatti, 03-13-2014, 10:53 AM |
From SSH? PhPmyadmin? Sorry for the dumb questions..
|
Posted by Kailash12, 03-13-2014, 11:14 AM |
In SSH, run the following command to see running MySQL processes:
watch -n 2 mysqladmin proc
Or if you have cPanel, you can check running mySQL processes from WHM.
|
Posted by ninjapiraatti, 03-13-2014, 11:17 AM |
All right, I'll test this in the evening when the site slows down again Thanks!
|
Add to Favourites Print this Article
Also Read
VPSLink Down (Views: 721)