Skip to content
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

Use SIGSTOP and SIGCONT to freeze the process #204

Open
obj-obj opened this issue Oct 4, 2023 · 0 comments
Open

Use SIGSTOP and SIGCONT to freeze the process #204

obj-obj opened this issue Oct 4, 2023 · 0 comments

Comments

@obj-obj
Copy link

obj-obj commented Oct 4, 2023

You might want to add an option to suspend the server, using SIGSTOP to freeze and SIGCONT to resume the process. This would only work on Unix-like platforms (Linux and macOS), but it would allow the server to be resumed instantly.

If you don't know what SIGSTOP and SIGCONT are, they essentially work the same as sleep mode but only for one process.

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants