mcsleepingserverstarter icon indicating copy to clipboard operation
mcsleepingserverstarter copied to clipboard

Use `SIGSTOP` and `SIGCONT` to freeze the process

Open obj-obj opened this issue 2 years ago • 0 comments

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:

obj-obj avatar Oct 04 '23 00:10 obj-obj