Skip to main content
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog

Loading…

Servers Are Up

Your apps, automation and data on hardware we own. Build a private stack with predictable capacity and access through your dashboard, API or SSH.

SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    29 Step-by-Step Guides
  • Cloud & SaaS Catalog
    112 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Key Vault & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 23 Scopes
  • MCP Server
    129 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    34 Commands (v0.2)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/deploy operate

Tune Linux UDP sysctls, SteamCMD, FiveM, and PaperMC servers

Eliminate game server packet loss and tick lag using Linux UDP socket sysctls, clean SteamCMD automation, systemd FiveM units, and PaperMC ZGC/Aikar flags.

Intermediate
30 min
Updated 2026-11-23

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

Commands checked on 2026-11-23 with Linux 6.8+, Java 21, PaperMC 1.21, FiveM txAdmin, SteamCMD.

What you will have at the end

A low-jitter Linux dedicated game host tuned to handle burst UDP packet loads without silent socket drops, clean unprivileged SteamCMD update scripts for Rust/Palworld, supervised systemd FiveM/txAdmin startup, and optimal Java 21 Generational ZGC or Aikar G1GC flags for smooth 20 TPS Minecraft servers.

Before you start

  • A Linux server or provisioned Game Server instance; see Game server first start and Deploy a game server.
  • Awareness that game UDP and query ports (such as 25565/tcp+udp, 30120/tcp+udp, 8211/udp, 28015/udp) must be opened explicitly in Network Builder / Public Access.

Steps

1. Raise Linux kernel UDP socket receive buffers and backlog ceilings

High-tick multiplayer games burst thousands of small UDP datagrams per second. Default Linux rmem_max (~212 KB) drops UDP packets silently during player explosions, chunk syncs, or map loads. Apply /etc/sysctl.d/99-gameserver.conf:

sudo tee /etc/sysctl.d/99-gameserver.conf >/dev/null <<'EOF'
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.rmem_default = 33554432
net.core.wmem_default = 33554432
net.core.netdev_max_backlog = 100000
vm.swappiness = 10
fs.file-max = 2097152
EOF
sudo sysctl --system

Monitor real UDP buffer drops cleanly before and after tuning with nstat -az UdpInErrors UdpRcvbufErrors or netstat -su.

2. Choose PaperMC JVM flags for Java 21+ cleanly

Never mix Aikar's G1GC flags with ZGC flags, and always set -Xms equal to -Xmx while leaving at least 1.5–2 GB RAM headroom for the Linux OS and JVM off-heap buffers (metaspace, Netty direct buffers):

For Java 21+ large heaps (>= 12 GB), Generational ZGC keeps GC pause times sub-millisecond:

java -Xms12G -Xmx12G \
  -XX:+UseZGC -XX:+ZGenerational \
  -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem \
  -jar paper.jar --nogui

For smaller/medium heaps (4 GB–10 GB), Aikar's tuned G1GC flags remain predictable:

java -Xms6G -Xmx6G \
  -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 \
  -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch \
  -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M \
  -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 \
  -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 \
  -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 \
  -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 \
  -jar paper.jar --nogui

3. Automate SteamCMD updates under an unprivileged steam user

Never install or run SteamCMD games as root. Use a dedicated steam service account with LimitNOFILE=65535:

sudo useradd -m -r -s /bin/bash steam || true
sudo -u steam mkdir -p /home/steam/steamcmd /home/steam/games/palworld
cat <<'EOF' | sudo -u steam tee /home/steam/update-palworld.sh >/dev/null
#!/usr/bin/env bash
set -euo pipefail
/home/steam/steamcmd/steamcmd.sh \
  +force_install_dir /home/steam/games/palworld \
  +login anonymous \
  +app_update 2394010 validate \
  +quit
EOF
sudo -u steam chmod +x /home/steam/update-palworld.sh

4. Supervise FiveM + txAdmin reliably with systemd

# /etc/systemd/system/fivem.service
[Unit]
Description=FiveM Dedicated Server with txAdmin
After=network-online.target

[Service]
Type=simple
User=steam
WorkingDirectory=/home/steam/fivem/server-data
ExecStart=/home/steam/fivem/alpine/opt/cfx-server/ld-musl-x86_64.so.1 --library-path /home/steam/fivem/alpine/usr/lib/:/home/steam/fivem/alpine/lib/ -- /home/steam/fivem/alpine/opt/cfx-server/FXServer +set citizen_dir /home/steam/fivem/alpine/opt/cfx-server/citizen/ +exec server.cfg
Restart=on-failure
RestartSec=10
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target

Check that it works

Confirm applied socket buffers, running process limits, and zero UdpRcvbufErrors increments while players connect:

sysctl net.core.rmem_max net.core.wmem_max net.core.netdev_max_backlog
nstat -az UdpRcvbufErrors
ss -ulnp | grep -E ':(25565|30120|8211|28015)\b'

What can go wrong

  • Players time out right after entering password, even though server logs show running. Either the game's UDP port (not just TCP) is closed in Network Builder Public Access, or the service bound strictly to 127.0.0.1 instead of 0.0.0.0.
  • Minecraft container or service OOM-kills even with 8 GB RAM assigned and -Xmx8G. Native JVM overhead, thread stacks, and Netty buffers consume ~1–1.5 GB above -Xmx. On an 8 GB host or container, set -Xmx6G to leave safe headroom.
  • SteamCMD aborts mid-download with Missing 32-bit libraries or Disk write failure. Install lib32gcc-s1 (apt-get install -y lib32gcc-s1) on Debian/Ubuntu x86_64 and verify df -h has at least 20% headroom for temp staging chunks.

Good practice

  • Always schedule world-save backups using Backups and snapshots before upgrading game artifacts, Forge/Paper builds, or FiveM SQL migrations.
  • Keep txAdmin / RCON ports restricted to operator allowlist IPs or private VPN access rather than leaving RCON open globally.
  • Run Spark (/spark profiler) on PaperMC or resmon on FiveM to isolate lagging plugins/scripts before upgrading vCPU counts.

Where to go next

  • Game server first start
  • Diagnose Linux OOM kills, sysctl limits, and disk spikes
  • Firewall and port forwarding

Related Articles

Set up a fresh Ubuntu 24.04 server safely

Read more

Run a Next.js app as a systemd service on Ubuntu

Read more

Frequently Asked Questions

What does the Tune Linux UDP sysctls, SteamCMD, FiveM, and PaperMC servers documentation guide cover?
Eliminate game server packet loss and tick lag using Linux UDP socket sysctls, clean SteamCMD automation, systemd FiveM units, and PaperMC ZGC/Aikar flags. It is rated intermediate difficulty (30 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Tune Linux UDP sysctls, SteamCMD, FiveM, and PaperMC servers?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

What you will have at the endBefore you startSteps1. Raise Linux kernel UDP socket receive buffers and backlog ceilings2. Choose PaperMC JVM flags for Java 21+ cleanly3. Automate SteamCMD updates under an unprivileged steam user4. Supervise FiveM + txAdmin reliably with systemdCheck that it worksWhat can go wrongGood practiceWhere to go next
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library