Long running php cron scripts - DBEventQueue and SzrMessaging

9 views
Skip to first unread message

Srini

unread,
Mar 23, 2012, 5:24:25 AM3/23/12
to scalr-...@googlegroups.com
I noticed some DB related errors (inserts not working etc) after running for a few days. I traced this down to the 2 daemonized php cron scripts that run all the time. Has anyone noticed this problem due to SzrMessaging and DBEventQueue running forever?

I noticed that the scrips are restarted on exceeding a specified memory or if the file has changed. I just added another condition to restart the script after every few hours and the problem went away.

Has anyone noticed this behaviour? ps aux | grep php will typically show up these 2 processes

Cheers
Srini

Reply all
Reply to author
Forward
0 new messages