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

Can't kill workers #52

Closed 512banque closed 10 years ago

512banque commented 10 years ago

CakePHP 2.4.3. Everytime I do a ./cake CakeResque.CakeResque restart, the workers won't kill and the total amount increases.

user@domain:~/path/public_html/app/Console$ ./cake CakeResque.CakeResque restart Notice Error: unserialize(): Error at offset 0 of 5 bytes in [/home/user/path/public_html/app/Plugin/CakeResque/vendor/kamisama/resque-status/src/ResqueStatus/ResqueStatus.php, line 127]

Notice Error: unserialize(): Error at offset 0 of 5 bytes in [/home/user/path/public_html/app/Plugin/CakeResque/vendor/kamisama/resque-status/src/ResqueStatus/ResqueStatus.php, line 127]

Notice Error: unserialize(): Error at offset 0 of 5 bytes in [/home/user/path/public_html/app/Plugin/CakeResque/vendor/kamisama/resque-status/src/ResqueStatus/ResqueStatus.php, line 127]

Stopping workers Stopping 29206 ... Done Stopping 29133 ... Done Stopping 17320 ... Done

Restarting workers Starting worker ... Done Starting worker ... Done Starting worker ... Done Starting worker ... Done Starting worker ... Done Starting worker ... Done

user@domain:~/path/public_html/app/Console$

wa0x6e commented 10 years ago

Are you starting, stopping and restarting the workers from the same server ?

meotimdihia commented 10 years ago

i met this error but it was solved when installed phpredis.