Find Your Perfect Server AI-powered · Instant results

IN AFRICA

ALBANIA

ARGENTINA

AUSTRALIA

AUSTRIA

AZERBAIJAN

B AND H

BANGLADESH

BELGIUM

BRAZIL

BULGARIA

CANADA

CHILE

CHINA

COLOMBIA

COSTA RICA

CROATIA

CYPRUS

CZECH

DENMARK

ECUADOR

EGYPT

EL SALVADOR

ESTONIA

FINLAND

FOR BACKUP AND STORAGE

FOR DATABASE

FOR EMAIL

FOR MEDIA STREAMING

FRANCE

GEORGIA

GERMANY

GREECE

GUATEMALA

HUNGARY

ICELAND

IN ASIA

IN EUROPE

IN NORTH AMERICA

IN SOUTH AMERICA

INDIA

INDONESIA

IRELAND

ISRAEL

ITALY

JAPAN

KAZAKHSTAN

KENYA

KOSOVO

LATVIA

LIBYA

LITHUANIA

LUXEMBOURG

MALAYSIA

MALTA

MEXICO

MOLDOVA

MONTENEGRO

MOROCCO

NETHERLANDS

NEW ZEALAND

NIGERIA

NORWAY

PAKISTAN

PANAMA

PARAGUAY

PERU

PHILIPPINES

POLAND

PORTUGAL

QATAR

ROMANIA

RUSSIA

SAUDI ARABIA

SERBIA

SINGAPORE

SLOVAKIA

SLOVENIA

SOUTH AFRICA

SOUTH KOREA

SPAIN

SWEDEN

SWITZERLAND

TAIWAN

THAILAND

TUNISIA

TURKEY

UK

UKRAINE

UNITED ARAB EMIRATES

URUGUAY

USA

UZBEKISTAN

VIETNAM

IN OCEANIA

How to Host and Optimize a Palworld Dedicated Server on Ubuntu Bare Metal

A complete, production-ready walkthrough for deploying, configuring, and optimizing a Palworld dedicated server on Ubuntu 24.04 LTS bare-metal infrastructure. Learn how to install SteamCMD, configure multiplayer tick rates, automate boot startup with systemd, and prevent memory-leak crashes using RCON-integrated monitoring scripts.

Host and Optimize a Palworld Dedicated Server on Ubuntu Bare Metal

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

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.

  1. Log in to your server via SSH as root or a sudo-enabled administrator and update the package index:

    Bash
    
    sudo apt update && sudo apt upgrade -y
                                            
  2. Enable the i386 multi-architecture subsystem and add the multiverse repository required for proprietary Steam packages:

    Bash
    
    sudo dpkg --add-architecture i386
    sudo add-apt-repository multiverse -y
    sudo apt update
                                            
  3. Install steamcmd, along with required runtime libraries (lib32gcc-s1, lib32stdc++6), arithmetic utilities (bc), and firewall tools:

    Bash
    
    echo 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
                                            
  4. Verify that the steamcmd binary is accessible in your system path:

    Bash
    
    which 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:

  1. Create the palworld system user and directory structure:

    Bash
    
    sudo 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
                                            
  2. Switch into the palworld user environment:

    Bash
    
    sudo su - palworld
                                            
  3. Download the Palworld Dedicated Server files (Steam App ID 2394010) into /opt/palworld/server using SteamCMD:

    Bash
    
    /usr/games/steamcmd +force_install_dir /opt/palworld/server +login anonymous +app_update 2394010 validate +quit
                                            

    Depending 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:

Bash

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:

Bash

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:

Bash

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:

Bash

nano /opt/palworld/server/Pal/Saved/Config/LinuxServer/Engine.ini
                                

Append the following block at the bottom of the file:

INI

[/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:

Bash

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.

Bash

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.

Bash

sudo nano /etc/systemd/system/palworld.service
                                
INI

[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.

Bash

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.

Bash

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):

Bash

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.

Bash

sudo su - palworld
nano /opt/palworld/scripts/ram_watchdog.sh
                                
Bash

#!/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.

Bash

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.

Bash

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:

Bash

sudo nano /etc/sysctl.d/99-palworld-network.conf
                                
INI

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
                                
Bash

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:

Bash

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.

Bash

sudo su - palworld
nano /opt/palworld/scripts/backup_world.sh
                                
Bash

#!/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
                                
Bash

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 -publiclobby is included in ExecStart inside /etc/systemd/system/palworld.service.

    • Verify UDP port 27015 is open in UFW (sudo ufw status) and that bIsUseBackupSaveData=True is intact in PalWorldSettings.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 8211 by running ss -tulnp | grep 8211. If nothing is returned, check live startup logs using sudo 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.

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.

Up