My queue webhook.log_hook got very high (>500k). This was a result due to high memory usage on the server:
Nov 26 11:43:25 mta01 kumod[2423]: 2024-11-26T10:43:25.022608Z ERROR qmaint-0 shrink_ready_queue_due_to_low_mem: kumod::ready_queue: did shrink 0 of out 20002 msgs in ready queue unspecified->webhook.log_hook@lua:make.webhook.log_hook due to memory shortage, and will requeue 76 due to hitting constraints
And now the queue is only slowly getting lower. I already tried to tweak the settings for the queue:
esp. the max_message_rate parameter, but it seams not to have any positive impact. it still only pushes 100 msg /sec.
max_retry_interval was set very high in order to not loose any message.
Do you have any good idea how to publish more messages?
I’m using current latest stable kumomta version: kumod 2024.11.08-d383b033
In the most recent development release we added better batching capability so you can send fewer but larger webhook batches. You might consider rewriting your webhook code to batch a thousand at a time.