OCA / queue

Asynchronous Job Queue
GNU Affero General Public License v3.0
185 stars 465 forks source link

[16.0] Job queues not running, stuck on pending #685

Open tusharkimbal opened 1 month ago

tusharkimbal commented 1 month ago

Module

queue_job

Bug

I am using Odoo 16 Enterprise and have started utilizing the queue_job module for some processes. My Odoo instance is running on AWS ECS, and I am using a Queue Job Runner on EC2. Initially, everything was functioning well, but now the jobs are stuck in the ‘started’ state.

My odoo.conf for jobrunner

Affected versions: odoo 16+e

This below config I am using on EC2 specifically for queue_job runner server_wide_modules = web,queue_job

[queue_job] channels = root:4 host = port = 443 scheme = https jobrunner_db_user = odoo jobrunner_db_host = 10.10.1.192 jobrunner_db_password = odoo jobrunner_db_port = 5432

amh-mw commented 1 month ago

Are you seeing any timeouts in the logs? I intermittently suffer from queue job workers timing out and not recovering. I usually end up slicing my jobs into smaller batches so that they finish with plenty of time to spare.

wsoftprodev2 commented 1 month ago

Hi @tusharkimbal

You need to configure this options in odoo.conf,looks like you have configured.

image