Olivier
February 16, 2024, 7:30am
1
Good morning,
Since switching to version 7, when I have to print more than 10 invoices at once the process crashes with this single message in the logs:
[CRITICAL] WORKER TIMEOUT
The process worked perfectly in previous versions and I can’t find how to increase this timeout.
Thank you in advance for your feedback
Olivier
udono
(udono)
February 16, 2024, 7:40am
2
Good morning,
it seems you have the workers activated in the trytond.conf
file. Did you also start at least one trytond-worker
service?
Olivier
February 16, 2024, 8:06am
3
Hello,
In my configuration file I specified:
[queue]
worker=false
But actually I have this line in the logs after restarting the server:
[INFO] Using worker: sync
udono
(udono)
February 16, 2024, 8:26am
4
What happens when you remove the complete section (the default of worker
is False
)?
Olivier
February 16, 2024, 8:42am
5
Basically there was nothing in this section, I tried a bit of everything before coming to talk about it here.
ced
(Cédric Krier)
February 16, 2024, 8:46am
6
Which process?
Is it the exact content of the log?
What is your setup?
Olivier
February 16, 2024, 9:15am
7
I solved the problem by adding:
timeout=3600
in the file /etc/gunicorn.conf.py
acaubet
(Adrià Tarroja Caubet)
February 19, 2024, 9:50am
8
FTR, it was already reported and was closed and classified as “expected behavior”.