-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: daemon dies unexpectedly - Error: read ECONNRESET #3398
Comments
In smtp.ini, make sure to set nodes > 1, so that Haraka has a supervisory process that restarts workers after a crash / failure: nodes=2 |
Ah! I'll give that a whack. Did I miss that in the documentation? |
Well, that certainly made the logs barf out a ton of grit messages and then shut down lol. Troubleshooting that now. |
Ok, up and running. I keep forgetting with the daemon you have to remove the PID file. Maybe I'll write a wrapper to handle this. Anyway, it's running, I'll report back what happens. Thank you for pointing me in this direction! |
I added a note in smtp.ini pointing to https://github.com/haraka/Haraka/wiki/Performance-Tuning, where this is documented.
You're welcome. |
Hello, This did not solve the issue. Same exact error and notes in the log. Still monitoring to see if we can find out what's up. |
Describe the bug
While running Haraka in daemon mode, after some time, hours, the daemon dies with a very short message.
Expected behavior
The expected behavior would be to not die... However, more clearly would be to log the issue and move along as in a daemon environment no human eyes are babysitting it to ensure it does stop.
Observed behavior
While the daemon is running, the daemon will die and post to the log the following output.
Steps To Reproduce
Frankly, I enabled demonize in
smtp.ini
and ran it. I let it run over night and sometime in the evening it dies. This happens during the day as well. So far, every 6 hours or so.System Info
Additional context
I would not be trying to run this as a daemon indefinitely if I could get the service to work. There is a whole lot of documentation missing from hark.service to drop it in and go lol. I am trying to work through it but omg this one is rough. Im likely missing something obvious but yeah.
The text was updated successfully, but these errors were encountered: