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
ProjectZomboid64.json and crontab are resetting to factory settings on planned restarts #19
Comments
Hello, in order to add new crontabs running as pzserver1, you'll have to add them to a new file in /home/pzserver1/.pzst/crontabs/ and then run |
BTW could you send the console.txt when the crash occurs please? Also any useful information that could help troubleshoot the issue |
Thanks - it worked. I didn't know about the Also running About the crash, it was occurring because server was defaulting to 8 GB and would run out of heap memory (Xmx reset to 8), now it's properly going for 96 after Many thanks! |
Awesome! I'm glad to hear everything is fixed 😄 |
need help |
I don't get it. Could you explain your problem in more details please? |
ProjectZomboid64.json im set ram 64g. Can't solve the problem according to the above thread. |
The system does not read this instruction to use.when restart daily
|
Which OS/Version are you using? |
Ubuntu 20.4 |
Same problem with this case. |
I tried again to reproduce your issue without luck. I did the following:
Can you try to login as pzstadmin and show me the last commit you have? Here are the steps:
|
Also I know some hosting provider ship modified versions of Ubuntu which can break pzst. Can you show me the output of the following command?
|
OK then it's really weird. Probably something went wrong during install. I suppose you already tried to reinstall pzst? (It won't delete your saved game). If you already did, I don't know how to help except by looking myself at your server to troubleshoot the issue. Would that be OK to you? |
1 17 * * * sudo -u "$user" pzserver restart use nano /etc/pzst/config.json |
OK, now we're talking. I can indeed reproduce the issue. |
Hum, really weird, if I run |
OK good news, I found the culprit. Basically from |
thank you |
All right, it should be fixed. Sorry for the delay to troubleshoot this problem. Please reopen this issue if the fix is not satisfying. |
After moving servers and reinstalling pz-server-tool on the new one, we noticed that other jobs we add to the pzserver1 crontab AND ProjectZomboid64.json are being reset frequently to factory settings. (EDIT Jul 5: it happens on the planned restarts defined at /etc/pzst/config.json).
This is causing Xmx to reset to 8 GB (we have 128 GB, I'm using 96 GB) and server ends up crashing after a restart.
The text was updated successfully, but these errors were encountered: