You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pcntl extension is actually pretty important for Yii to communicate with the environment about what the process should be doing, especially in daemonized runners.
This section of the Queue page will need an update; Craft’s requirements aren't apt to change, though (Yii itself doesn't mandate it, and the queue code guards against calling functions that aren't enabled).
Revisiting this, today, after a user brought up some questions in Discord.
Both systemd and supervisor gently ask processes to quit by sending a SIGTERM, followed by a SIGKILL some number of seconds later that bypasses Yii's handlers and halts the process immediately.
systemd — May need a longer TimeoutStopSec;
supervisor — The equivalent setting appears to be stopwaitsecs;
I'm still not sure what specific values we should recommend. Same as the queue component or job’s ttr setting?
Product
Craft CMS
Description
The
pcntl
extension is actually pretty important for Yii to communicate with the environment about what the process should be doing, especially in daemonized runners.This section of the Queue page will need an update; Craft’s requirements aren't apt to change, though (Yii itself doesn't mandate it, and the queue code guards against calling functions that aren't enabled).
The text was updated successfully, but these errors were encountered: