Plesk website is slow and CPU and memory usage by Apache or PHP processes is high in Plesk

Follow

Comments

5 comments

  • Avatar
    Michael Pratt

    Be cool if we could narrow down the cluprit/domain in the backend...

    2
    Comment actions Permalink
  • Avatar
    Bato Tsydenov

    @Michael Pratt

    Please check the following article:

    How to check which domain PHP process consumes CPU resources?

    0
    Comment actions Permalink
  • Avatar
    Michael Pratt

    Hi Bato, 

    I am familiar with the -c command. 

    This is not helpful if, for example, I am trying to determine a server crash the night before. Also top jumps around, so it really isnt ideal for troubleshooting in real time either, although it might help narrow it down, you still have to be in a position to SSH into the server as it is happening. 

    Would be so much easier, and productive, to have these stats and history in the backend, no?

    1
    Comment actions Permalink
  • Avatar
    Alexandr Bashurov

    @Michael Pratt

    Indeed, in case the error happened a while ago running top -c might not help.

    However, there is also atop, which can run as a daemon, logging all activity in the background and allowing for auditing and extracting reports from captured data. You may install, configure and use it as described here: How to monitor usage of system resources in a period of time using atop?

    0
    Comment actions Permalink
  • Avatar
    Wyk Parish

    Reading the instructions under "Switch to FPM by Nginx", I don't see a step that states to change "run PHP as:" to "FPM application served by Nginx".  Should that step be listed in there or is "run PHP as:" supposed to stay as "FPM application served by Apache"?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request