Support » Fixing WordPress » How to Find out the php-cgi processes draining my server

  • Resolved dannyogolo

    (@dannyogolo)


    My hosting is maxing out 98-100% and i had a chat with my hosting support, they said 3 processes are taking up about 98%

    PID PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1616074 20 0 550m 170m 10m R 45.6 0.1 0:01.80 php-cgi
    1616165 20 0 479m 96m 11m R 28.6 0.1 0:00.86 php-cgi
    1616237 20 0 395m 83m 9.8m R 23.3 0.1 0:00.70 php-cgi

    These 3 php-cgi processes are using 45.6%, 28.6% and 23.3% of the processor

    Is there a way I can find out what is taking all those resources, so i know what to do about it?Maybe its a plugin or theme or some malware or even a bad stuff by a dev.

    Thanks

    • This topic was modified 1 year, 3 months ago by dannyogolo.
    • This topic was modified 1 year, 3 months ago by dannyogolo.
    • This topic was modified 1 year, 3 months ago by dannyogolo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dannyogolo,

    First, do not forget to back up your site you can use UpdraftPlus. Also update WordPress, your themes and plugins to the latest version and be sure to use the recommended version of PHP by site health.

    Then try this popular WordPress technique to pinpoint issues:

    – Shift to the default WordPress theme (twenty twenty) to see if this issue is related to the theme you are using.

    – Deactivate all your plugins then reactivate them one by one the know if this issue is related to a specific plugin.

    – Finally, scan for malware try this plugin but this scan can take ages as your hosting resources are maxed out.

    Let me know if this helps

    Thread Starter dannyogolo

    (@dannyogolo)

    I updated all the plugins and themes on all my websites and it was resolved,
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Find out the php-cgi processes draining my server’ is closed to new replies.