[critical] worker timeout

Good Day

We get the following error on:
/home/frappe/frappe-bench/logs/web.error.log:


[2018-03-23 10:38:01 +0000] [22079] [CRITICAL] WORKER TIMEOUT (pid:9173)
[2018-03-23 10:38:01 +0000] [9173] [INFO] Worker exiting (pid: 9173)
[2018-03-23 10:38:01 +0000] [9245] [INFO] Booting worker with pid: 9245

[2018-05-17 15:22:50 +0000] [4531] [CRITICAL] WORKER TIMEOUT (pid:6812)
[2018-05-17 15:22:50 +0000] [6812] [INFO] Worker exiting (pid: 6812)
[2018-05-17 15:22:50 +0000] [7032] [INFO] Booting worker with pid: 7032

TypeError: argument of type ‘NoneType’ is not iterable
[2018-05-17 15:44:35 +0000] [4531] [CRITICAL] WORKER TIMEOUT (pid:7259)
[2018-05-17 15:44:35 +0000] [7259] [INFO] Worker exiting (pid: 7259)
[2018-05-17 15:44:35 +0000] [7291] [INFO] Booting worker with pid: 7291

TypeError: argument of type ‘NoneType’ is not iterable
[2018-05-17 16:09:59 +0000] [4531] [CRITICAL] WORKER TIMEOUT (pid:7403)
[2018-05-17 16:09:59 +0000] [7403] [INFO] Worker exiting (pid: 7403)
[2018-05-17 16:09:59 +0000] [7609] [INFO] Booting worker with pid: 7609
[2018-05-17 16:21:53 +0000] [4531] [CRITICAL] WORKER TIMEOUT (pid:7609)
[2018-05-17 16:21:53 +0000] [7609] [INFO] Worker exiting (pid: 7609)
[2018-05-17 16:21:53 +0000] [7689] [INFO] Booting worker with pid: 7689
[2018-05-17 16:25:34 +0000] [4531] [CRITICAL] WORKER TIMEOUT (pid:7689)
[2018-05-17 16:25:34 +0000] [7689] [INFO] Worker exiting (pid: 7689)
[2018-05-17 16:25:34 +0000] [7717] [INFO] Booting worker with pid: 7717

and what happens is everything freeze (No browser response) for 10sec to 10min… and does it randomly through the day, sometimes it seems to reaccur at certain times.

What could be causing of the problem?

Hope there someone who could shed light on this.

Thank You

Albertus Geyser

I have experienced something vaguely similar while using the production module.
That thread is here https://discuss.frappe.io/t/worker-timeout-stock-entry-transfer-on-production-orders/34544 and might be of some use in terms of debugging or troubleshooting possibilities.
I found it to be linked to the gunicorn timer, but I have not yet solved, or found a solution for it.

Thank You trentmu

Hope there someone who could explain what could be cause of our problems.

Thank You

Albertus Geyser