Hi ! I’m having some trouble with a ready queue that is kind of stuck, I don’t really understand where it’s coming from. Some messages are going out but not all, this queue did go through some tsa suspension, and I have these messages on tsa-daemon at the time of the first increase
Hey there @clever-impala, thanks for posting. Please read the “Troubleshooting” and “How to Ask for Help” buttons below. If you would like a 1:1 support session from the KumoMTA team, details are at the “Book a Support Session” button below.
The TSA-daemon stuff should be completely independent of the throughput of SMTP. The broken pipe messages there imply that the new realtime suspension client disconnected from the daemon, which is probably OK and likely doesn’t need to be logged as an error, assuming that it reconnects again. Do the timestamps match up to config changes being made on the MTA?
One thing that I’m curious about is why there are 0 connections for that particular ready queue.
What’s supposed to happen is that the maintainer task (which wakes up every minute, and is triggered when messages are placed into the ready queue) is supposed to compute a target number of connections based on the size of the ready queue, and then start making connections until the goal is met
I’ve set the logging to trace and I have kumod::ready_queue: maintain COG74.11->smtp-in.orange.fr@smtp_client: there are now 0 connections, suspended=false
but when I send a new message to the queue with swaks, I do have the kumod::ready_queue: spawning client for COG74.11->smtp-in.orange.fr@smtp_client
and it’s delivered
it’s possible that this might just be a stats bug; the ready queue size metric is recorded through deltas, so it’s potentially possible to miss updating the count in some case and end up with a skewed counter. If that is the case, then there aren’t really any messages in the ready queue. Restarting the MTA would “resolve” this until it happened again, but we wouldn’t know if that was really the problem. Is it feasible to analyze the logs for that queue to see what the count of Receptions vs. (Delivery + Bounce) looks like, and compare with the ready queue + scheduled queue counts shown in the queue summary?