Palworld’s open-world survival crafting mechanics, massive creature AI simulation, and base-building systems place heavy computational demands on server hardware. Unlike lightweight indie titles, a busy Palworld multiplayer instance quickly saturates shared virtual CPU cores and consumes upwards of 16 GB to 32 GB of RAM during peak player activity. Running your instance on dedicated bare-metal infrastructure eliminates noisy-neighbor CPU stealing and provides full kernel-level control over memory and network buffers. This comprehensive walkthrough covers every phase of building a resilient Palworld host on Ubuntu 24.04 LTS—from installing SteamCMD and 32-bit runtime libraries to fine-tuning tick rates, isolating the process via systemd, and deploying an automated RCON watchdog script that gracefully warns players and restarts the server before memory leaks cause crashes.
What You'll Learn
Prerequisites & Hardware Sizing
Step 1: System Preparation & Installing SteamCMD Dependencies
Step 2: Creating an Isolated Service User & Installing Palworld
Step 3: Configuring PalWorldSettings.ini for Multiplayer Performance
Step 4: Firewall & Port Forwarding Configuration
Step 5: Daemonizing Palworld with Systemd
Step 6: Setting Up ARRCON for Remote Server Administration
Step 7: Writing an Automated Memory-Monitoring & RCON Restart Script
Step 8: Bare-Metal Kernel & NVMe Storage Optimization
Step 9: Automated Off-Site World Backups
Troubleshooting Common Palworld Server Issues
Frequently Asked Questions
Prerequisites & Hardware Sizing
Before executing commands on your bare-metal node, verify that your environment and hardware specifications match the workload demands of Palworld’s Unreal Engine 5 dedicated server binary:
-
Operating System: Clean installation of Ubuntu 24.04 LTS (Noble Numbat) or Ubuntu 22.04 LTS (64-bit).
-
CPU Architecture: High-frequency single-core processor (AMD Ryzen 7000/9000 series or high-clock AMD EPYC / Intel Xeon). Palworld’s main game loop and physics calculations rely heavily on single-thread execution speed.
-
Memory (RAM):
1–8 Players: Minimum 16 GB DDR4/DDR5 RAM.
8–16 Players: 32 GB RAM recommended.
16–32 Players (Heavy Base Building): 64 GB RAM recommended to absorb memory growth between scheduled restarts.
-
Storage: Enterprise NVMe SSD storage. Frequent world auto-saves serialize thousands of base objects and Pal states; slow SATA drives cause noticeable rubber-banding during save intervals.
-
Network: Unmetered 1 Gbps+ port with low-latency routing and Layer 4 UDP DDoS mitigation.
If you are still selecting hardware for high-tickrate multiplayer workloads, explore iDatam's high-frequency gaming dedicated servers engineered with NVMe storage and dedicated single-core performance.
Step 1: System Preparation & Installing SteamCMD Dependencies
SteamCMD—Valve’s command-line client used to download and update dedicated game server binaries—requires 32-bit compatibility libraries (i386) even on modern 64-bit Linux distributions.
-
Log in to your server via SSH as root or a sudo-enabled administrator and update the package index:
Bashsudo apt update && sudo apt upgrade -y -
Enable the i386 multi-architecture subsystem and add the multiverse repository required for proprietary Steam packages:
Bashsudo dpkg --add-architecture i386 sudo add-apt-repository multiverse -y sudo apt update -
Install
steamcmd, along with required runtime libraries (lib32gcc-s1,lib32stdc++6), arithmetic utilities (bc), and firewall tools:Bashecho steam steam/question select "I AGREE" | sudo debconf-set-selections echo steam steam/license note '' | sudo debconf-set-selections sudo apt install -y steamcmd lib32gcc-s1 lib32stdc++6 curl wget tar unzip jq bc net-tools ufw -
Verify that the
steamcmdbinary is accessible in your system path:Bashwhich steamcmd # Expected output: /usr/games/steamcmd
Step 2: Creating an Isolated Service User & Installing Palworld
Running game server binaries as root exposes your entire operating system to privilege escalation if a vulnerability is discovered in the game engine or third-party mods. Create a dedicated, unprivileged system user named palworld:
-
Create the
palworldsystem user and directory structure:Bashsudo useradd -r -m -d /opt/palworld -s /bin/bash palworld sudo mkdir -p /opt/palworld/{server,backups,scripts} sudo chown -R palworld:palworld /opt/palworld -
Switch into the
palworlduser environment:Bashsudo su - palworld -
Download the Palworld Dedicated Server files (Steam App ID 2394010) into
/opt/palworld/serverusing SteamCMD:Bash/usr/games/steamcmd +force_install_dir /opt/palworld/server +login anonymous +app_update 2394010 validate +quitDepending on your network interface speed, SteamCMD will download roughly 6–8 GB of game data and output
Success! App '2394010' fully installed.
Resolving the steamclient.so SDK Link Issue
When launching Unreal Engine dedicated servers on Ubuntu for the first time, the binary often fails to locate Valve’s 64-bit Steamworks SDK library, throwing a warning: dlopen failed trying to load: steamclient.so. Fix this permanently by downloading the Steamworks SDK Redistributable (App ID 1007) and linking the 64-bit library into ~/.steam/sdk64:
mkdir -p ~/.steam/sdk64
/usr/games/steamcmd +login anonymous +app_update 1007 +quit
ln -sf ~/Steam/steamapps/common/Steamworks\ SDK\ Redist/linux64/steamclient.so ~/.steam/sdk64/steamclient.so
Run the server binary briefly for 15 to 20 seconds to generate the initial directory hierarchy and default configuration templates, then stop it with Ctrl + C:
cd /opt/palworld/server
./PalServer.sh
Verification: Confirm that /opt/palworld/server/Pal/Saved/Config/LinuxServer/ exists before proceeding.
Step 3: Configuring PalWorldSettings.ini for Multiplayer Performance
By default, Palworld generates an empty PalWorldSettings.ini file and falls back to hardcoded defaults inside DefaultPalWorldSettings.ini. Copy the default template into your active configuration path:
cp /opt/palworld/server/DefaultPalWorldSettings.ini /opt/palworld/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
nano /opt/palworld/server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
Critical Formatting Rule: Palworld parses all configuration variables on a single continuous comma-separated line wrapped inside OptionSettings=(...). Do not press Enter or insert line breaks inside the parentheses, or the Unreal Engine parser will ignore everything after the break.
ServerName="iDatam Bare-Metal Palworld"— Public server browser display name.ServerDescription="High-Tickrate Bare-Metal Survival"— Short server description visible in the lobby browser.AdminPassword="YourStrongAdminPassword123!"— Required for executing in-game admin commands and RCON authentication.ServerPassword=""— Leave blank for a public server, or set a password for private communities.PublicPort=8211— Primary UDP gameplay port.RCONEnabled=True— Must be set to True so your monitoring script can broadcast shutdown warnings and save world data gracefully.RCONPort=25575— TCP port used for remote console commands.ServerPlayerMaxNum=32— Maximum concurrent player slots (adjust based on your available RAM).bEnableInvaderEnemy=True— Controls base raid events (setting to False significantly reduces CPU pathfinding spikes on high-population servers).BaseCampWorkerMaxNum=15— Maximum working Pals per base (capping at 15 prevents late-game AI pathfinding bottlenecks).
Save and close the file (Ctrl + O, Enter, Ctrl + X).
Optimizing Engine Tick Rate (Engine.ini)
To prevent network rubber-banding when 16+ players are exploring simultaneously, increase the Unreal Engine network tick rate from the default 30Hz to 60Hz (or 45Hz for 32-player servers). Open Engine.ini:
nano /opt/palworld/server/Pal/Saved/Config/LinuxServer/Engine.ini
Append the following block at the bottom of the file:
[/Script/OnlineSubsystemUtils.IpNetDriver]
NetServerMaxTickRate=60
LanServerMaxTickRate=60
[/Script/Engine.Player]
ConfiguredInternetSpeed=104857600
ConfiguredLanSpeed=104857600
Exit back to your sudo-enabled administrator session before configuring firewall rules and systemd units:
exit
Step 4: Firewall & Port Forwarding Configuration
Palworld requires UDP port 8211 for client gameplay traffic and UDP port 27015 for Steam server browser queries. Never expose RCON port 25575 to the public internet; restrict RCON exclusively to 127.0.0.1 (localhost) so only local scripts can execute administrative commands.
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp comment 'SSH Access'
sudo ufw allow 8211/udp comment 'Palworld Game Traffic'
sudo ufw allow 27015/udp comment 'Steam Query Port'
sudo ufw enable
sudo ufw status verbose
Verification: Confirm that only 22/tcp, 8211/udp, and 27015/udp appear as ALLOW IN, and port 25575 is not listed.
Step 5: Daemonizing Palworld with Systemd
Using systemd ensures your Palworld server starts automatically on system boot, runs cleanly in the background without requiring an active tmux or screen session, and automatically updates game binaries via SteamCMD before each launch.
sudo nano /etc/systemd/system/palworld.service
[Unit]
Description=Palworld Dedicated Server
Wants=network-online.target
After=syslog.target network.target nss-lookup.target network-online.target
[Service]
Type=simple
User=palworld
Group=palworld
WorkingDirectory=/opt/palworld/server
ExecStartPre=/usr/games/steamcmd +force_install_dir /opt/palworld/server +login anonymous +app_update 2394010 +quit
ExecStart=/opt/palworld/server/PalServer.sh -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publiclobby
Restart=always
RestartSec=15
LimitNOFILE=100000
[Install]
WantedBy=multi-user.target
Key Launch Flags Explained
-useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS: Enables Unreal Engine’s multi-threaded physics and worker thread pools across your bare-metal CPU cores.-publiclobby: Registers your instance in the official Palworld community server browser (omit this flag if running a private invite-only server).LimitNOFILE=100000: Raises the open file descriptor ceiling to prevent socket exhaustion during world saves and peak player logins.
sudo systemctl daemon-reload
sudo systemctl enable --now palworld.service
sudo systemctl status palworld.service
Verification: The service status should display active (running) with PalServer-Linux-Shipping listed in the CGroup process tree.
Step 6: Setting Up ARRCON for Remote Server Administration
To send automated chat warnings and force world saves before restarting the server, install ARRCON—a lightweight, CLI-driven RCON client for Linux.
cd /tmp
wget https://github.com/radj307/ARRCON/releases/latest/download/ARRCON-3.3.7-Linux.zip
unzip ARRCON-3.3.7-Linux.zip
sudo mv ARRCON /usr/local/bin/arrcon
sudo chmod +x /usr/local/bin/arrcon
rm -f ARRCON-3.3.7-Linux.zip
Test RCON connectivity against your running Palworld instance (replace YourStrongAdminPassword123! with your AdminPassword from Step 3):
arrcon -H 127.0.0.1 -P 25575 -p "YourStrongAdminPassword123!" "Info"
# Expected output: Welcome to Pal Server[v0.x.x.x] iDatam Bare-Metal Palworld
Step 7: Writing an Automated Memory-Monitoring & RCON Restart Script
Palworld’s server binary exhibits gradual memory growth over multi-hour sessions as players load new map chunks and breed Pals. If RAM usage reaches 100%, the Linux kernel’s Out-Of-Memory (OOM) killer will abruptly terminate PalServer.sh, causing unsaved world rollback.
Deploy a watchdog script that monitors PalServer-Linux-Shipping memory consumption every 5 minutes. When RSS memory exceeds your configured threshold (for example, 26 GB on a 32 GB server), the script warns connected players via RCON, executes a forced Save command, and restarts the service cleanly.
sudo su - palworld
nano /opt/palworld/scripts/ram_watchdog.sh
#!/bin/bash
# Configuration
RCON_HOST="127.0.0.1"
RCON_PORT="25575"
RCON_PASS="YourStrongAdminPassword123!"
MAX_RAM_GB=26.0
LOG_FILE="/opt/palworld/scripts/watchdog.log"
# Find PID of Palworld binary
PID=$(pgrep -f "PalServer-Linux-Shipping")
if [ -z "$PID" ]; then
echo "$(date '+%Y-%m-%d %H:%M:%S') - Palworld process not running." >> "$LOG_FILE"
exit 0
fi
# Calculate RSS Memory in GB
RSS_KB=$(ps -o rss= -p "$PID" | tr -d ' ')
RSS_GB=$(echo "scale=2; $RSS_KB / 1024 / 1024" | bc)
echo "$(date '+%Y-%m-%d %H:%M:%S') - Current Palworld RAM usage: ${RSS_GB} GB / Threshold: ${MAX_RAM_GB} GB" >> "$LOG_FILE"
# Check if usage exceeds threshold
EXCEEDED=$(echo "$RSS_GB >= $MAX_RAM_GB" | bc)
if [ "$EXCEEDED" -eq 1 ]; then
echo "$(date '+%Y-%m-%d %H:%M:%S') - Threshold exceeded (${RSS_GB} GB). Initiating graceful RCON restart..." >> "$LOG_FILE"
/usr/local/bin/arrcon -H "$RCON_HOST" -P "$RCON_PORT" -p "$RCON_PASS" "Broadcast [SERVER]_High_memory_detected._Restarting_in_60_seconds..."
sleep 30
/usr/local/bin/arrcon -H "$RCON_HOST" -P "$RCON_PORT" -p "$RCON_PASS" "Broadcast [SERVER]_Restarting_in_30_seconds._Saving_world..."
/usr/local/bin/arrcon -H "$RCON_HOST" -P "$RCON_PORT" -p "$RCON_PASS" "Save"
sleep 20
/usr/local/bin/arrcon -H "$RCON_HOST" -P "$RCON_PORT" -p "$RCON_PASS" "Broadcast [SERVER]_Restarting_in_10_seconds!"
sleep 10
# Graceful RCON shutdown (systemd will automatically restart the unit)
/usr/local/bin/arrcon -H "$RCON_HOST" -P "$RCON_PORT" -p "$RCON_PASS" "Shutdown 1 Server_maintenance_restart"
fi
RCON Broadcast Note: Palworld’s RCON Broadcast command splits arguments on spaces in certain builds. Using underscores (_) ensures the entire message renders cleanly in-game.
chmod +x /opt/palworld/scripts/ram_watchdog.sh
(crontab -l 2>/dev/null; echo "*/5 * * * * /opt/palworld/scripts/ram_watchdog.sh") | crontab -
crontab -l
Step 8: Bare-Metal Kernel & NVMe Storage Optimization
Because you are running on bare-metal hardware rather than a restricted virtual machine, you can tune Linux kernel parameters to reduce UDP packet drops and eliminate CPU frequency scaling jitter.
exit
1. Expand UDP Socket Buffers (sysctl.conf)
Unreal Engine relies heavily on UDP sockets. Increase the kernel network receive and send buffer limits to prevent packet loss during intense base raids:
sudo nano /etc/sysctl.d/99-palworld-network.conf
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 4194304
net.core.wmem_default = 4194304
net.core.netdev_max_backlog = 16384
vm.swappiness = 10
sudo sysctl --system
2. Lock CPU Governor to Performance Mode
Prevent the processor from down-clocking cores into power-saving idle states during low-activity moments:
sudo apt install -y linux-tools-common linux-tools-$(uname -r)
sudo cpupower frequency-set -g performance
Step 9: Automated Off-Site World Backups
World corruption can occur if a server loses power mid-save or if a game update introduces breaking changes. Create an automated daily backup script that archives /opt/palworld/server/Pal/Saved and prunes archives older than 7 days.
sudo su - palworld
nano /opt/palworld/scripts/backup_world.sh
#!/bin/bash
BACKUP_DIR="/opt/palworld/backups"
SAVE_DIR="/opt/palworld/server/Pal/Saved"
TIMESTAMP=$(date "+%Y-%m-%d_%H-%M-%S")
ARCHIVE_NAME="palworld_save_${TIMESTAMP}.tar.gz"
# Trigger an in-game world save via RCON before archiving
/usr/local/bin/arrcon -H 127.0.0.1 -P 25575 -p "YourStrongAdminPassword123!" "Save"
sleep 5
# Compress Saved directory (excluding large crash logs)
tar --exclude='Logs' --exclude='Crashes' -czf "${BACKUP_DIR}/${ARCHIVE_NAME}" -C "$SAVE_DIR" .
# Remove backups older than 7 days
find "$BACKUP_DIR" -type f -name "palworld_save_*.tar.gz" -mtime +7 -delete
chmod +x /opt/palworld/scripts/backup_world.sh
(crontab -l 2>/dev/null; echo "0 4 * * * /opt/palworld/scripts/backup_world.sh") | crontab -
Troubleshooting Common Palworld Server Issues
-
Server Not Appearing in the Community Browser:
Confirm
-publiclobbyis included inExecStartinside/etc/systemd/system/palworld.service.Verify UDP port
27015is open in UFW (sudo ufw status) and thatbIsUseBackupSaveData=Trueis intact inPalWorldSettings.ini.
-
Settings in PalWorldSettings.ini Reverting to Default:
Check for accidental newline characters or missing commas inside
OptionSettings=(...). Any syntax error causes Palworld to silently ignore the entire line and load hardcoded defaults.
-
Connection Timed Out When Joining via Direct IP:
Confirm the server process is actively listening on UDP
8211by runningss -tulnp | grep 8211. If nothing is returned, check live startup logs usingsudo journalctl -u palworld.service -f.
Frequently Asked Questions
Why is my Palworld server not appearing in the community browser?
Confirm that -publiclobby is included in ExecStart inside /etc/systemd/system/palworld.service, verify that UDP port 27015 is open in UFW (sudo ufw status), and ensure bIsUseBackupSaveData=True is intact in PalWorldSettings.ini.
Why do my settings in PalWorldSettings.ini revert to default?
Check for accidental newline characters or missing commas inside OptionSettings=(...). All configuration variables must stay on a single continuous comma-separated line inside the parentheses, or the parser ignores the line and falls back to default values.
Why does connecting via direct IP time out?
Confirm that the server process is actively listening on UDP 8211 by running ss -tulnp | grep 8211. If nothing is returned, check live startup logs using sudo journalctl -u palworld.service -f.
How much RAM do I need for a Palworld dedicated server?
Plan for at least 16 GB RAM for 1–8 players, 32 GB RAM for 8–16 players, and 64 GB RAM for 16–32 players with heavy base building to absorb gradual memory growth between scheduled restarts.
iDatam Recommended Tutorials
Control Panel
How to Fix Invalid cPanel License Error?
Find out how to fix the Invalid cPanel License error with this step-by-step guide. Resolve licensing issues quickly and get your hosting control panel back on track.
Control Panel
How to Install and Use JetBackup in cPanel
Learn how to install and use JetBackup in cPanel with this step-by-step tutorial. Discover how to back up and restore accounts, files, databases, and more efficiently.
Network
Remote Desktop Can’t Connect To The Remote Computer [Solved]
Learn how to fix the Remote Desktop can't connect to the remote computer error. Discover common causes such as network problems, Windows updates, and firewall restrictions, along with step-by-step solutions to resolve the issue and restore your remote desktop connection.
Discover iDatam Dedicated Server Locations
iDatam servers are available around the world, providing diverse options for hosting websites. Each region offers unique advantages, making it easier to choose a location that best suits your specific hosting needs.