wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

stop command does not work #104

Open roll4life opened 7 years ago

roll4life commented 7 years ago

app/Console/cake CakeResque.CakeResque stop will say stopping and list the pid, but does not actually stop the process Stopping 28555 ... Stopping 28547 ... Stopping 5871 ... Stopping 15033 ... Stopping 15016 ... Stopping 7394 ... Stopping 19934 ... Stopping 26302 ...

php 5.5.9 cakephp 2.9.6 ubuntu 14.04.5

rui902 commented 7 years ago

I had the same problem, you're probably starting workers as www-data , and trying to stop them as regular user ... using sudo you cand stop them , but my guess is user issues..

roll4life commented 7 years ago

Actually, it turns our that the process we not actually running, so the data in redis did not match the data on the system. An easy way to replicate, is to start some processes and then reboot the server.