Closed unplugged216 closed 2 months ago
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?
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
Well,
that certainly made the logs barf out a ton of grit messages and then shut down lol. Troubleshooting that now.
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
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!
Did I miss that in the documentation?
I added a note in smtp.ini pointing to https://github.com/haraka/Haraka/wiki/Performance-Tuning, where this is documented.
Thank you for pointing me in this direction!
You're welcome.
Did I miss that in the documentation?
I added a note in smtp.ini pointing to https://github.com/haraka/Haraka/wiki/Performance-Tuning, where this is documented.
Thank you for pointing me in this direction!
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.