Comments (4)
Hey @jammsen thanks for this amazing docker. And I may find the reason of this problem
Synology provide a gui crontab to maintain server and I write a script to check memory usage every 30min, if palworld server exceed 16G then rcon save, broadcast to my friend, and restart docker
In the new version of pds you provide backupmanager that I didnt notice, default env setting backup server every hour. So the crash maybe at the sametime my script conflict with backupmanager
Now I changed BACKUP_CRON_EXPRESSION to 5 5 * * * to avoid two policy working at the same time
Will see if any furthuer crash would happen
parts of my script is as follows:
if (( $(awk -v gb="$memory_usage_gb" 'BEGIN { printf (gb > 16) }') )); then
echo "Memory usage exceeds 16GB. Sending broadcast and saving world before restarting..."
# using mcron to broadcast danger message, save, restart
mcrcon -H $mcrcon_ip -P $mcrcon_port -p $mcrcon_password "broadcast Memory_usage_exceeds_16GB_Server_will_restart_soon_Actual_memory_usage:"
mcrcon -H $mcrcon_ip -P $mcrcon_port -p $mcrcon_password "broadcast $memory_usage_gb GB"
# use mcrcon save
mcrcon -H $mcrcon_ip -P $mcrcon_port -p $mcrcon_password "save"
echo "Broadcast sent and world saved."
sleep 10
# restart
echo "Restarting docker instance..."
docker restart jammsen-palworld-dedicated-server1
echo "Docker instance restarted."
else
mcrcon -H $mcrcon_ip -P $mcrcon_port -p $mcrcon_password "broadcast Memory_usage_fine_Actual_memory_usage:"
mcrcon -H $mcrcon_ip -P $mcrcon_port -p $mcrcon_password "broadcast $memory_usage_gb"
echo "Memory usage within acceptable limits."
from docker-palworld-dedicated-server.
this is log from synology docker
from docker-palworld-dedicated-server.
i restore saved files from nearest backup files and problem solved, it seemed that the saved file crashed, but cant figure out where since at that moment it was my friends played and no clue what had they done
from docker-palworld-dedicated-server.
Hey @Hellfirest - Glad it works again, thanks for sharing the resolution!
from docker-palworld-dedicated-server.
Related Issues (20)
- [Bug Report] Player join/left issue with character creation HOT 1
- [Bug Report] Player join/leave cannot have commas in name HOT 1
- [Bug Report] Player join/leave doesn't work with players of the same name HOT 1
- [Bug Report] Crash Loop (LowLevelFatalError) HOT 4
- [Feature Request] Automatic Restart should not wait 15 minutes when no player is on the server
- [Bug Report] RCON Port setting change in 1.50 HOT 6
- [Bug Report] Error when auto restart HOT 3
- docker部署后无法正常使用RCON,cli: execute: auth: rcon: dial tcp: lookup tcp/###RCON_PORT###:unknown port HOT 6
- [Feature Request] Make gosu-binary building more transparent
- [Bug Report] Log file consumes all remaining HDD space associated with Docker system HOT 3
- [Feature Request] Implement server OoM crash detection and restart HOT 2
- [Bug Report] RCON Log gets cut off
- [Bug Report] New alias for rconcli with timestamp
- [Bug Report] After docker container update Server failed to start with permission denied HOT 11
- [Bug Report] Container backups also backup the Palworld built-in backups HOT 1
- [Bug Report] Automatic Restart stopped working HOT 2
- [Question] 您好,我在游戏中,会接受到容器显示的备份 通知,我想询问下这个备份通知能否不在游戏内显示,可以在容器日志中 HOT 3
- [Feature Request] use semantic versioning HOT 7
- [Bug Report] No config found, generating one HOT 3
- [Bug Report] Your descriptive title here! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-palworld-dedicated-server.