Closed
Description
What steps will reproduce the problem?
- Install yii2-queue, using DB Mysql driver
- Start process via supervisord https://github.com/yiisoft/yii2-queue/blob/master/docs/guide/worker.md
- Kill database or drop table
queue
- In php error.log see errors, processes will died.
- When achieving max number of retries, worker will down forever.
- Up database. Worker died.
What's expected?
Worker live when database is live.
What do you get instead?
2019-01-16 12:19:23,808 INFO gave up: yii-queue-worker_01 entered FATAL state, too many start retries too quickly
2019-01-16 12:19:23,814 INFO exited: yii-queue-worker_00 (exit status 1; not expected)
2019-01-16 12:19:24,815 INFO gave up: yii-queue-worker_00 entered FATAL state, too many start retries too quickly
Workers is down.
Additional info
Q | A |
---|---|
Yii version | 2.0.15.1 |
PHP version | 7.1.14 |
Operating system | Debian 8 |