Discover Centmin Mod today
Register Now

PHP command is running all the time

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Mike Guista, Feb 27, 2024.

  1. Mike Guista

    Mike Guista New Member

    24
    10
    3
    Sep 15, 2014
    Ratings:
    +10
    Local Time:
    5:58 AM
    1.7.6
    10.x
    Hi,

    On my Centmin server this command is running all the time. Is this something normal? How do I stop these if it's not normal?

    [​IMG]

     
  2. brijendrasial

    brijendrasial Active Member

    207
    154
    43
    Mar 21, 2018
    Ratings:
    +236
    Local Time:
    7:28 PM
    1.13.9
    10.0.22-MariaDB
    I think its from cron. You can disable the cron.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,368
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    11:58 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If you have used centmin.sh menu option 22 to create Wordpress Nginx site, it automatically adds a cronjob to auto update Wordpress plugins every 8hrs and one of the commands is wp plugin status check.

    cronjob listing with grep filter on Wordpress updater scripts will show you each auto added cronjob entry
    Code (Text):
    crontab -l | grep 'wp_updater'


    It should end running after cronjob finishes. But looks like yours has issues terminating and/or you have many Wordpress installs and all their cronjobs are running (as expected) - just you have a lot of Wordpress installs?

    You can try running this command to kill those processes. But you still probably need to find out why they aren't ending

    Code (Text):
    kill -9 $(ps aufxww | grep 'wp plugin status' | grep -v grep | awk '{print $2}')