The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php scripts running forever

Discussion in 'Workarounds and Optimization' started by servinio, Feb 24, 2013.

  1. servinio

    servinio Member

    Joined:
    Oct 17, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    sometimes my server gets full with processes like this


    274329 faturnet 20 0 163m 16m 7752 S 0.3 0.1 0:41.15 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    304204 faturnet 20 0 161m 17m 7792 S 0.3 0.1 0:36.74 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    312203 faturnet 20 0 159m 47m 7732 S 0.3 0.1 0:34.80 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    320380 faturnet 20 0 159m 50m 7732 S 0.3 0.2 0:33.09 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    361317 faturnet 20 0 159m 49m 7736 S 0.3 0.2 0:26.65 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    409486 faturnet 20 0 158m 49m 7736 S 0.3 0.2 0:19.41 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    418795 faturnet 20 0 158m 49m 7732 S 0.3 0.2 0:18.33 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    445522 faturnet 20 0 158m 49m 7732 S 0.3 0.2 0:15.09 /usr/bin/php /home/faturnet/public_html/wp-cron.php
    453496 faturnet 20 0 158m 48m 7704 S 0.3 0.2 0:14.17 /usr/bin/php /home/faturnet/public_html/wp-cron.php


    which tend to run forever, even a php script should run for max 90 secods. How come is that possible and how we can prevent it?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
  3. servinio

    servinio Member

    Joined:
    Oct 17, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    sorry, I'm using suPHP
     
  4. ciaolinh

    ciaolinh Registered

    Joined:
    Feb 27, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I also encountered the same situation
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This is a wordpress issue. This link may be helpful:
    /http://www.inmotionhosting.com/support/website/wordpress/disabling-the-wp-cronphp-in-wordpress
     
  6. servinio

    servinio Member

    Joined:
    Oct 17, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    not ,really, it happens for the other scripts too..
     
Loading...

Share This Page