Results 1 to 20 of 20
  1. #1

    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..

  2. #2
    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.

  3. #3
    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 PID
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  4. #4
    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.com
    RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca

    www.HostingSecList.com - Security Notices for the Hosting Community.

  5. #5
    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..

  6. #6
    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.

  7. #7
    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..

  8. #8
    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.

  9. #9
    Quote Originally Posted by Chris-M View Post
    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..

    Thanks for the help : )

  10. #10
    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!

  11. #11
    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.

  12. #12
    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
    This will list the top 20 processes by memory and CPU.

    Also: approximately how many sites are running on the server and what are they running (just some examples)?

  13. #13
    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..

  14. #14
    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.

  15. #15
    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.

  16. #16
    But when I disable it domains get messy as mentioned, and yes I saw the parellels instructions n disabled nginx from plesk itself..

  17. #17
    Quote Originally Posted by Chris-M View Post
    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.
    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 !!

  18. #18
    Join Date
    Oct 2011
    Posts
    234
    You can disable nginx proxy with

    # /usr/local/psa/admin/bin/nginxmng -d

  19. #19
    Quote Originally Posted by IgorG View Post
    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?

    thanks..

  20. #20
    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

  1. Replies: 2
    Last Post: 09-24-2013, 07:39 AM
  2. Server Load by domain in Plesk..
    By ballighohosting in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 09-23-2013, 01:48 PM
  3. plesk 3 domain on server
    By mfatih in forum Dedicated Server
    Replies: 8
    Last Post: 07-15-2010, 09:35 AM
  4. High Server Load because only one domain! Please help
    By sambahost in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-19-2006, 03:06 PM
  5. High Server Load - how to tell what domain is the cause
    By Scifimaster in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-17-2006, 05:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •