[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 12:06:39 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481

--- Comment #18 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I think I recreate the problem this way:

% more /etc/rabbitmq/rabbitmq.conf
consumer_timeout = 15000

Add a sleep 10 in Koha::BackgroundJob::BatchUpdateItem->process

Then enqueue several batch item mod jobs.

However:
1. I don't see jobs stuck in "new" (without the patch)

2. I am seeing the following in the rabbitmq logs, with and without the patch

2023-01-04 11:01:03.041 [warning] <0.2774.0> Consumer
Q_/queue/koha_kohadev-long_tasks on channel 1 has timed out waiting on consumer
acknowledgement. Timeout used: 15000 ms                                        
2023-01-04 11:01:03.041 [error] <0.2774.0> Channel error on connection
<0.2764.0> (127.0.0.1:39578 -> 127.0.0.1:61613, vhost: '/', user: 'guest'),
channel 1:                                                        
operation none caused a channel exception precondition_failed: consumer ack
timed out on channel 1                                                          
2023-01-04 11:01:03.042 [error] <0.2758.0> STOMP error frame sent:              
Message: precondition_failed
Detail: "PRECONDITION_FAILED - consumer ack timed out on channel 1\n"
Server private detail: none
2023-01-04 11:01:03.042 [info] <0.2758.0> closing STOMP connection <0.2758.0>
(127.0.0.1:39578 -> 127.0.0.1:61613)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list