-
Notifications
You must be signed in to change notification settings - Fork 23
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
procServ fails to start immediately after shutting it down #35
Comments
I am able to reproduce this on Buster without systemd on upstream 2.8.0. I built procServ in a directory adjacent to the IOC top, and ran this script in the procServ directory:
|
@daykin after heading into the wrong direction for quite a while myself I realized that this is not be the right way to reproduce the problem since there's an important difference:
The following version of the script should behave more like systemd:
but it does not show the problem if I'm sending a SIGTERM (by running Other findings:
|
I only see this issue with a large IOC which is consuming multiple GB of RAM, multiple CPU cores and spawns hundreds of threads. The problem is not showing with small IOC on a single-core VM. |
After a failure systemd automatically restarts the service and it succeeds on the second try. Here's my service file:
I'm using procServ 2.7.0-1 on Debian 10 "buster".
The text was updated successfully, but these errors were encountered: