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
Is your feature request related to a problem? Please describe.
On some shared hosting environments (e.g. Mittwald which is very popular in Germany) the ps command is not available due to security considerations. The ProcessCleanUpHook uses ps to find orphaned queue processes if the option cleanup.cleanUpOldQueueEntries is set to true.
Describe the solution you would like
Ideally the hook would check whether ps is can be executed and try to execute an alternative, if it is not. I don't know of any such alternatives, though.
Describe alternatives you've considered
Alternatively, the hook could use try {} catch() {} and merely print out a warning.
The text was updated successfully, but these errors were encountered:
Just got back to this because a colleague of mine stumbled across this very same problem, again.
It might be enough to wrap the exec('ps aux ...') call in the hook with an if-statement like so
Feature Request
Is your feature request related to a problem? Please describe.
On some shared hosting environments (e.g. Mittwald which is very popular in Germany) the
ps
command is not available due to security considerations. The ProcessCleanUpHook usesps
to find orphaned queue processes if the optioncleanup.cleanUpOldQueueEntries
is set totrue
.Describe the solution you would like
Ideally the hook would check whether
ps
is can be executed and try to execute an alternative, if it is not. I don't know of any such alternatives, though.Describe alternatives you've considered
Alternatively, the hook could use
try {} catch() {}
and merely print out a warning.The text was updated successfully, but these errors were encountered: