shaneharter / PHP-Daemon

Build production-ready Daemons using PHP 5.3+. Build fault-tolerant applications without the boilerplate.
Other
768 stars 166 forks source link

Run loop stops executing in PHP 5.5.23 after task completes. #67

Open rebeccathedev opened 9 years ago

rebeccathedev commented 9 years ago

Some system information: this daemon is running on Mac OS X, using PHP 5.5 installed via homebrew. The current stable in homebrew is 5.5.23.

My daemon launches several tasks to download files from a remote host. I have a condition that occurs when, after whatever the first task is that finishes, the main runloop stops executing (or, at the very least, execute() isn't being called). All of the tasks eventually finish and I can still call log() on the parent, and if I look at a process list the daemon is still "running", but not actually doing anything and no new tasks are created.

Downgrading to PHP 5.5.20 fixes it.

I know this is a frustratingly vague bug report, so if there's anything else I can help you with I would be glad to provide assistance.