Answer the question
In order to leave comments, you need to log in
Why is php daemon shutting down on linux?
Good afternoon!
Can you please tell me why a php daemon can die, launched from the terminal with the following command:
php -f patch/to/autoapdate_daemon.php &
It works for several hours, but then it crashes.
Tried nohup php -f patch/to/autoapdate_daemon.php & - similar.
Answer the question
In order to leave comments, you need to log in
It can do all its work and just end, an unhandled exception may occur, it may fall by the limit. Lots of options
Telepaths are quarantined in bunkers, and no one will help you without logs.
I don't know anything about PHP (yes, yes, I exist), but in your place, I would start this process in screen
apt-get update
apt-get install screen
screen -R php
php -f patch/to/autoapdate_daemon.php
These are not demons.
Please tell me why the php daemon can die, launched from the terminal with the following command:
php -f patch/to/autoapdate_daemon.php &
nohup php -f patch/to/autoapdate_daemon.php &
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question