Messages stuck in queue #1778
-
I'm having a issue with mails getting stuck in queue, and I'm not sure why. I had about 200-300 this morning. We have very low volume, usually only 2-10 messages per minute. I had about 225 messages stuck in queue for over 24 hours. I got about 160 of them to send by doing the following, but I can't get the rest to send. What should I check to figure out why?
Stopped postal:
Entered the mysql docker container:
Then I ran mysql -u root -p and looked at all the locked messages. They had all been locked for over 24 hours with 0 attempts.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Actually, nevermind- I found the issue. It seems that my server was running low on ram. This makes sense, because I just increased the ram limit on maraidb so that I could send larger emails- which constrained the ram on our cheap VPS. I noticed because I finally saw an error at the right time and the worker container failed with status 137- out of memory- when it got to a larger message in the queue to send. To work around this issue, since we have very low volume, I just added a swap file to our host so ram can overflow there if ever needed. The remaining queue emptied itself out, and now it seems to be fine. |
Beta Was this translation helpful? Give feedback.
Actually, nevermind- I found the issue. It seems that my server was running low on ram. This makes sense, because I just increased the ram limit on maraidb so that I could send larger emails- which constrained the ram on our cheap VPS. I noticed because I finally saw an error at the right time and the worker container failed with status 137- out of memory- when it got to a larger message in the queue to send.
To work around this issue, since we have very low volume, I just added a swap file to our host so ram can overflow there if ever needed. The remaining queue emptied itself out, and now it seems to be fine.