Open Bug 844721 Opened 12 years ago Updated 2 years ago

jobqueue.pl "hangs" when it is unable to find the process id to stop

Categories

(Bugzilla :: Email Notifications, defect)

4.0.3
All
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: altlist, Unassigned)

Details

Apologies if this is a dup, I did a search and couldn't find anything.... The command below hangs if the pid doesn't exist. jobqueue.pl -p [pid_file] stop Instead, it prints below and just sits indefinitely: Process [pid] no longer running It also doesn't delete the associated pid file, hence Ctrl-C and rerunning "jobqueue.pl stop" still hangs. I think the correct solution is to just delete the pid file and exit. In my case, I have a "restart" script that doesn't work because the "stop" command doesn't exit. Net result, the jobqueue doesn't restart.
You need to log in before you can comment on or make changes to this bug.