var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Plesk server load by domain..
the server is getting slow.. is there a way to know which domain is consuming server resources?? I'm running plesk on centos 6 ..
Can you check which processes are consuming the most CPU and/or memory by looking at the output of 'top' on the console?
Once you know the processes that are hogging the system, you can then work out how to identify which user(s) is running those processes.
Yes, use the top command to find the process that taking load in server.
You can also use " top -cd2 " command to display the top processes in every 2 seconds.
Once you identified the top process , you can stop them by
kill -9 PID
SupportExpertz.com - the name says it all! Managed Cloud Servers
Server Management and Monitoring
24x7 outsourced customer support
If you install CloudLinux, it'll be much easier to determine who is using the most resources. (We highly recommend CloudLinux!)
I was hoping you'd never say that! I hate top and never understood the stupid thing!!
it's a hetzner ex40 server with an i7-4770 cpu and 32Gbs RAM..
here's the output of the top command:
top - 15:18:45 up 47 min, 1 user, load average: 1.19, 2.05, 2.95
Tasks: 253 total, 1 running, 250 sleeping, 0 stopped, 2 zombie
Cpu(s): 4.7%us, 1.1%sy, 0.0%ni, 93.3%id, 0.7%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 32694392k total, 29319808k used, 3374584k free, 411740k buffers
Swap: 12582832k total, 0k used, 12582832k free, 27332900k cached
and here's free -m:
total used free shared buffers cached
Mem: 31928 28671 3256 0 406 26716
-/+ buffers/cache: 1548 30379
Swap: 12287 0 12287
is there anything to worry about??
Your load and everything else looks reasonably OK to me. It's a busy server, but it's not maxed out by any means.
When you say "the server is slow", what exactly is slow? Is it websites, email, FTP, what?
As a sidenote, you should really try to get to like top because it should be one of the first things to look at to see what your system is up to.
well that's what I thought.. I told hetzner and they brought down the server for hardware test ..
hope it's a hardware error..
No problem. But, out of interest, what exactly was slow? These sorts of things are not usually hardware related - you would probably be seeing other things beyond slowness if there was a physical fault.
well the sites barely open and often return an error.. that's what I meant by slow..
Originally Posted by
Thanks for the help : )
OK - best to wait and see what Hetzner say and then take it from there. Let me know how that goes!
hetzner replied with this:
As requested, we have checked your server.
First of all the HDD-Test did not show any HDD-related issues:
So we've replaced the RAM with RAM from a different manufacturer and updated it's
BIOS to the latest version available.
If this issue happens again, please answer to this ticket and we will replace the
whole server on goodwill, while keeping the HDDs.
Your server is now back online and reachable.
So they replaced the RAM. I'd suggest giving it some time and see if sites are loading at better speeds.
If not, can you give me some output such as:
This will list the top 20 processes by memory and CPU.
ps aux --sort=%mem,%cpu | tail -n 20
Also: approximately how many sites are running on the server and what are they running (just some examples)?
AHHHHHHHHHHHHH!! I knew what the problem was!!
it's stupid nginx, after I stopped the nginx service yesterday because of this problem:
things started to go downhill !!
why is nginx affecting the sites like that ?? they took loads of time to load and most of the times they didn't even open!!
any workaround top this issue? I still don't want nginx!
Did you try stopping Nginx again as per the other thread? And did this help?
There is a Parallels KB article on how to stop (and optionally remove) Nginx on your system:
Nginx will cache static content, but if your videos are big there would be no point at all in caching these so probably best to disable Nginx.
Correction, just re-read your other thread, so you disabled Nginx because you couldn't upload large files and then the sites started loading slowly.
So if we avoid the issue of uploading for the moment, and you re-enable Nginx, do the sites load quickly? If so, best to leave Nginx enabled and then work on the underlying problem as to why you can't upload large files.
But when I disable it domains get messy as mentioned, and yes I saw the parellels instructions n disabled nginx from plesk itself..
This sucks! I just found out it doesn't accept even small videos! the uber_upload thingy says it failed to get "flength file" then nginx displays the stupid error about entity too large!
Originally Posted by
I've read around and uber_upload doesn't work with nginx:
is it really that I can't stop nginx without destroying the sites???? I've run these sites without nginx for years .. but when I upgraded plesk it forced nginx on me !!
You can disable nginx proxy with
# /usr/local/psa/admin/bin/nginxmng -d
but will this fix the lag problem and the sites will act normally?
Originally Posted by
I would suggest trying the various solutions that are posted in the Uber Uploader Sourceforge page at:
Many people are posting solutions there so I would suggest trying each of them to see if this resolves your issue.
Failing that, why don't you just disable Nginx and see what the performance is like as per IgorG's post above? You can always re-enable it if the results are not good.
By viborahost in forum Dedicated Server
Last Post: 09-24-2013, 07:39 AM
By ballighohosting in forum Hosting Software and Control Panels
Last Post: 09-23-2013, 01:48 PM
By mfatih in forum Dedicated Server
Last Post: 07-15-2010, 09:35 AM
By sambahost in forum Hosting Security and Technology
Last Post: 04-19-2006, 03:06 PM
By Scifimaster in forum Hosting Security and Technology
Last Post: 01-17-2006, 05:12 PM