Minion::Backend::Pg is DELETE waiting
xiaocang opened this issue · comments
Johnny Wang commented
- Minion version: 5.08
- Perl version: 5.22
- Operating system: CentOS release 6.5 (Final)
Steps to reproduce the behavior
perl ./script/minion_example minion worker -j 20
(worker number is 20)
Expected behavior
Actual behavior
postgresql is stuck on DELETE waiting
postgres 16695 16649 0 11:30 ? 00:00:00 postgres: minion minion_jobs_20160613 10.162.63.17(39757) idle
postgres 16696 16649 33 11:30 ? 00:15:48 postgres: minion minion_jobs_20160613 10.162.63.17(39758) DELETE
postgres 18112 16649 1 11:41 ? 00:00:40 postgres: minion minion_jobs_20160613 127.0.0.1(42078) DELETE waiting
postgres 19751 16649 74 11:55 ? 00:15:47 postgres: minion minion_jobs_20160613 10.162.63.17(44214) DELETE
postgres 19937 16649 3 11:57 ? 00:00:40 postgres: minion minion_jobs_20160613 10.162.63.17(45155) DELETE waiting
postgres 19944 16649 3 11:57 ? 00:00:40 postgres: minion minion_jobs_20160613 10.162.63.17(45334) DELETE waiting
root 20156 20150 0 11:58 ? 00:00:00 perl /opt/app/edge_api/script/edge_api minion worker -j 20
postgres 20178 16649 0 11:58 ? 00:00:00 postgres: minion minion_jobs_20160613 127.0.0.1(44288) idle
postgres 20179 16649 3 11:58 ? 00:00:40 postgres: minion minion_jobs_20160613 127.0.0.1(44289) DELETE waiting
postgres 20406 16649 0 12:00 ? 00:00:00 postgres: minion minion_jobs_20160613 10.162.63.17(46778) idle
postgres 20407 16649 0 12:00 ? 00:00:00 postgres: minion minion_jobs_20160613 10.162.63.17(46779) idle
postgres 21138 16649 0 12:06 ? 00:00:00 postgres: minion minion_jobs_20160613 10.162.63.17(50022) idle
postgres 21139 16649 0 12:06 ? 00:00:00 postgres: minion minion_jobs_20160613 10.162.63.17(50023) DELETE waiting
Sebastian Riedel commented
Minion does not perform DELETE
operations in worker processes.