Results 1 to 20 of 20
Thread: Plesk server load by domain..
-
10-29-2013, 09:33 AM #1Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
Plesk server load by domain..
Hello ..
the server is getting slow.. is there a way to know which domain is consuming server resources?? I'm running plesk on centos 6 ..
Thanks..
-
10-29-2013, 09:47 AM #2Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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.
-
10-29-2013, 09:52 AM #3Web Hosting Master
- Join Date
- Jun 2003
- Location
- World Wide Web
- Posts
- 581
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 PIDSupportExpertz.com - the name says it all!
Managed Cloud Servers
Server Management and Monitoring
24x7 outsourced customer support
-
10-29-2013, 10:06 AM #4Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
If you install CloudLinux, it'll be much easier to determine who is using the most resources. (We highly recommend CloudLinux!)
www.cloudlinux.comRACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
10-29-2013, 10:24 AM #5Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
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??
Thanks..
-
10-29-2013, 11:30 AM #6Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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.
-
10-29-2013, 11:36 AM #7Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
well that's what I thought.. I told hetzner and they brought down the server for hardware test ..
hope it's a hardware error..
Thanks..
-
10-29-2013, 11:38 AM #8Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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.
-
10-29-2013, 11:41 AM #9Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
-
10-29-2013, 11:43 AM #10Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
OK - best to wait and see what Hetzner say and then take it from there. Let me know how that goes!
-
10-29-2013, 11:50 AM #11Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
Thanks mate
hetzner replied with this:
Dear Client,
As requested, we have checked your server.
First of all the HDD-Test did not show any HDD-related issues:
-----------------%<-----------------
HDDTEST-Z1F0QPR6 OK
HDDTEST-W1F0NDRF OK
-----------------%<-----------------
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.
-
10-29-2013, 11:56 AM #12Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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:
Code: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)?
-
10-29-2013, 01:02 PM #13Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
AHHHHHHHHHHHHH!! I knew what the problem was!!
it's stupid nginx, after I stopped the nginx service yesterday because of this problem:
http://www.webhostingtalk.com/showthread.php?t=1316615
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!
Thanks..
-
10-29-2013, 01:10 PM #14Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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:
http://kb.parallels.com/en/114705
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.
-
10-29-2013, 01:13 PM #15Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
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.
-
10-29-2013, 01:14 PM #16Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
But when I disable it domains get messy as mentioned, and yes I saw the parellels instructions n disabled nginx from plesk itself..
-
10-29-2013, 01:53 PM #17Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
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!
I've read around and uber_upload doesn't work with nginx:
http://sourceforge.net/p/uber-upload...rt-requests/6/
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 !!
-
10-30-2013, 12:10 AM #18Junior Guru
- Join Date
- Oct 2011
- Posts
- 234
You can disable nginx proxy with
# /usr/local/psa/admin/bin/nginxmng -d
-
10-30-2013, 12:13 AM #19Junior Guru
- Join Date
- Feb 2013
- Posts
- 181
-
10-30-2013, 09:38 AM #20Web Hosting Guru
- Join Date
- Mar 2004
- Location
- UK
- Posts
- 265
I would suggest trying the various solutions that are posted in the Uber Uploader Sourceforge page at:
http://sourceforge.net/p/uber-upload...hread/5c5e6a8a
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.
Similar Threads
-
Estimate how many Domain/Account will run on this server at max load
By viborahost in forum Dedicated ServerReplies: 2Last Post: 09-24-2013, 07:39 AM -
Server Load by domain in Plesk..
By ballighohosting in forum Hosting Software and Control PanelsReplies: 2Last Post: 09-23-2013, 01:48 PM -
plesk 3 domain on server
By mfatih in forum Dedicated ServerReplies: 8Last Post: 07-15-2010, 09:35 AM -
High Server Load because only one domain! Please help
By sambahost in forum Hosting Security and TechnologyReplies: 4Last Post: 04-19-2006, 03:06 PM -
High Server Load - how to tell what domain is the cause
By Scifimaster in forum Hosting Security and TechnologyReplies: 2Last Post: 01-17-2006, 05:12 PM