Closed greyhammer closed 2 years ago
You need to set SERVER_PORT
to match the properties value of 25568 (or let the container manage the properties entirely) since that's the port knockd is checking.
Great, that worked. IT paused .. and then cam back when I opened the server browser as expected.
Should the server release the memory used by the server? That's the whole reason I tried to set this up. I didn't notice any more available RAM after the server autopaused
No, autopause does not help to release memory, only CPU usage. It sends a SIGSTOP to the process to pause it. Modern linux kernels swap out inactive memory pages, so it may not be worth worrying about.
Ok, cool.
Thanks for the timly response and all your work on this wonderful Repo
Closing
Describe the problem
Running Paper MC in docker with docker compose using latest version 1.19.1
I have configured the various items to enable Autopause, but the server never pauses and I never see anything related to Autopause past
[init] Autopause functionality enabled
in the logsNothing like
[Autopause loop] MC Server listening for connections - stopping in 600 seconds,
The server just runs forever
Server Properties
Container definition
Container logs