Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Daemon crashes after a certain amount of time #72

Open
theanchorsmith opened this issue Jun 12, 2015 · 1 comment
Open

Daemon crashes after a certain amount of time #72

theanchorsmith opened this issue Jun 12, 2015 · 1 comment

Comments

@theanchorsmith
Copy link

I've build a deamon with several workers with PHP-Daemon v2.0
At a certain point of time (after approximately 8 hours with 8 workers) the Daemon reaches an "Fatal Error" and tries to restart the worker processes. There's probably something wrong with the memory allocation. Because if I restart the Worker (and automaticly flush the memory) it works like before.

See in the detail here:

[2015-06-10 05:56:04] 13940 mitchell Message Queue Error 13: Permission denied]
[2015-06-10 05:56:04] 13940 mitchell Incrementing Error Count for catchall to 24
[2015-06-10 05:56:04] 13940 mitchell Message Queue Error 13: Permission denied
[2015-06-10 05:56:04] 13940 mitchell Incrementing Error Count for catchall to 25
[2015-06-10 05:56:04] 13940 mitchell Message Queue Error 13: Permission denied
[2015-06-10 05:56:04] 13940 mitchell IPC 'catchall' Error Threshold Reached
[2015-06-10 05:56:04] 13940 mitchell Fatal Error: Worker process will restart
[2015-06-10 05:56:04] 13940 WheresAppDaemon\Daemon is Shutting Down...
[2015-06-10 05:56:07] 13940 Restart Happening Now...

Date PID Label Message
[2015-06-10 05:56:32] 18615 Invalid Alias. Identifiers must be scalar.
[2015-06-10 05:56:32] 18615 WheresAppDaemon\Daemon is Shutting Down...
[2015-06-10 05:56:34] 18615 Restart Happening Now...

Date PID Label Message
[2015-06-10 05:56:36] 18620 Invalid Alias. Identifiers must be scalar.
[2015-06-10 05:56:36] 18620 WheresAppDaemon\Daemon is Shutting Down...

Also when the Daemon tries to restarts itself I got the message Identifiers must be scalar. Maybe this is related to the fact that there's no memory left for the Daemon. I run a Vagrant hashicorp/precise32 Ubuntu machine with 2048MB of memory.

@theanchorsmith theanchorsmith changed the title Daemon crashes after Daemon crashes after a certain amount of time Jun 12, 2015
@ghost
Copy link

ghost commented Jul 8, 2015

Isn't this because your not starting it in daemon mode and the applications is restarting after 8 hours as a "feautre"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant