Archive for the ‘beanstalk’ Category

Beanstalkd stats and jobs delete

telnet localhost 11300 stats   peek-ready FOUND 7 90 {"job":"Kleidoo\\Queue\\Job\\Shop\\Import\\ProductFeed","data":{"id":"303","revision":19}}   peek-delayed FOUND 7 90 {"job":"Kleidoo\\Queue\\Job\\Shop\\Import\\ProductFeed","data":{"id":"303","revision":19}}   delete 7

Beanstalkd “cold” delete all jobs

/etc/init.d/beanstalkd stop cd /var/lib/beanstalkd rm -r -f * /etc/init.d/beanstalkd start

Beanstalk Job Cycle

Tubes: [ready]->[reserved: in processing]->[delayed: (timeout before again moving to ready tube)]

Beanstalk delete the job

1. telnet localhost 11300 2. use mytube 3. peek-ready or peek-delayed 4. kick or delete