Coder Social home page Coder Social logo

Comments (3)

ayakasuki avatar ayakasuki commented on July 16, 2024 2

首先感谢您提供这个。我已经与 8 个人成功使用了一段时间。我遇到了 sav 文件损坏和内存泄漏的问题。

我正在编写一个 python 脚本来做一些事情:

  1. 检查内存使用情况。
  2. 发出 /save 和 /shutdown rcon 命令。
  3. 备份Saved/SaveGames/0/*/Players到 /backup (可能每小时作为 cron 作业)。
  4. 当内存使用达到上限时重新启动服务器。

您对添加这些内容的拉取请求感兴趣吗?

Memory leaks now there is a better way

from palworld-docker.

KagurazakaNyaa avatar KagurazakaNyaa commented on July 16, 2024 2

First off thank you for providing this. I've been using it for a while now successfully with 8 people. I'm having issues with sav file corruptions and memory leaks.

I'm in process of writing a python script to do a few things:

1. check memory usage.

2. issue /save and /shutdown rcon commands.

3. backup `Saved/SaveGames/0/*/Players` to /backup (probably hourly as a cron job).

4. restart server when memory usage is hit.

Would you be interested in a pull request to add these things?

For save backup, I personally use another container for automatic backup.

  backup:
    image: jareware/docker-volume-backup
    restart: unless-stopped
    network_mode: bridge
    environment:
      - BACKUP_CRON_EXPRESSION=*/10 * * * *
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data:/backup/palworld-data:ro
      - ./backups:/archive

from palworld-docker.

ic3man5 avatar ic3man5 commented on July 16, 2024

Awesome, I'll check this out. I'm currently in process of writing an app to be able to manage the server better here:

https://github.com/ic3man5/rcon_palworld

I'm hoping I can do everything remotely once I complete it. The backup stuff is very helpful though, thanks

from palworld-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.