Script running forever on process manager

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

MicroBoy
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Mar 15, 2009 7:06 am

Script running forever on process manager

Postby MicroBoy » Wed Jun 26, 2013 1:51 pm

Hello,

I have a PHP script which has to make some posts on wordpress blogs, it runs with a cron job every 5 minutes. I have a dedicated server. Sometimes the script works well but sometimes after a time of running it just go 0% CPU consumption and 0.1% RAM consumption and stays like that forever, I have to manually kill it. I know that it never ends because if it went to 0% CPU the last line of code in the script is never executed. Earlier this script had to post 150 articles and it did well, now I have reduced to 20 and it does not work well. Can it be a problem with server or with the script?

Best regards,
Edoniti.

jwenk1988
New php-forum User
New php-forum User
Posts: 3
Joined: Mon Mar 17, 2014 1:58 am

Re: Script running forever on process manager

Postby jwenk1988 » Mon Mar 17, 2014 6:50 am

Hi,

Are you able to post your script here.


Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest

cron