CPU spikes when sending to inexistent domains
My QA team just sent a batch of 10k e-mail messages to an inexistent domain (e.g. joe@notexists.org) and that operation caused the server to hang for several minutes with 100% CPU usage.
We repeated the same batch of 10k e-mail messages but this time using an inexistent account on a valid domain (e.g. no_such_account@gmail.com) and no issue was observed.
Version 2.3.7
Comments (5)
-
repo owner -
reporter Thank you @SH
Do you have any suggestions for a workaround? I’ve read the GH issue but I have no clue about where I should set the config
acquireTimeoutMillis
on my poste.io deployment.I’ve created the “notexists.org” domain on my own mail server, and it seems to have solved the problem. It’s ok since I can predict the “unknown” domain my users are going to use, but it isn't really a general-case workaround.
-
repo owner Which version are you using? I’ve tried to dig deeper to the issue and everything worked as expected.
There was similar Haraka looping bug which was fixed couple versions ago
-
reporter Version 2.3.7, I’m going to update to the latest and ping you back.
Thank you.
-
repo owner - changed status to resolved
Please try latest version, there were some changes at Haraka
- Log in to comment
There might be Haraka related issue, see https://github.com/haraka/Haraka/issues/3100