Preloader
Performance Fix

Tutorial: How To Fix High RAM and CPU Usage on XUI.One

Dashboard hitting 100% usage? Here is exactly how to cool down your server.


The "Traffic Jam" Effect

When your XUI.One server hits 100% CPU or RAM, it's like a traffic jam. The server is trying to process thousands of video packets (cars), but the road (bandwidth/RAM) is too narrow, and the traffic officer (CPU) is overwhelmed.

This usually happens because the default Ubuntu settings are meant for simple websites, not heavy streaming. We need to widen the roads.

1Step 1: Check for Transcoding

Before editing files, check your streams. The #1 cause of high CPU on XUI.One is accidental transcoding.

  • What to look for: Go to your live streams and check the settings. If "Transcode" is enabled but not needed, disable it.
  • Why? Transcoding (changing video format on the fly) uses huge amounts of CPU. Even one stream can take 50% of a CPU core.

2Step 2: Increase Process Limits (ulimit)

Linux limits how many "files" (connections) can be open at once. XUI.One needs to open thousands. The default limit is usually 1,024, which is tiny. Let's fix that.

Check your current limit:

ulimit -n

If it is low, edit the security limits file:

nano /etc/security/limits.conf

Add these lines to the bottom to force the limit to 500,000:

# Boost limits for high traffic * hard nofile 500000 * soft nofile 500000 root hard nofile 500000 root soft nofile 500000 * soft nproc 500000 * hard nproc 500000 root soft nproc 500000 root hard nproc 500000

Press CTRL+X, then Y, then Enter to save.

3Step 3: Optimize Network Stack (sysctl)

Now we need to optimize how the server handles network memory. These settings help your RAM clear out old data faster, preventing it from filling up.

Open the system control file:

nano /etc/sysctl.conf

Paste these optimization settings at the end:

# Optimized Network & Memory Settings net.core.somaxconn = 6815744 net.ipv4.route.flush=1 net.ipv4.tcp_no_metrics_save=1 net.ipv4.tcp_moderate_rcvbuf = 1 fs.file-max = 6815744 fs.aio-max-nr = 6815744 fs.nr_open = 6815744 net.ipv4.ip_local_port_range = 1024 65000 net.ipv4.tcp_sack = 1 net.ipv4.tcp_timestamps = 0 net.ipv4.tcp_rmem = 10000000 10000000 10000000 net.ipv4.tcp_wmem = 10000000 10000000 10000000 net.ipv4.tcp_mem = 10000000 10000000 10000000 net.core.rmem_max = 524287 net.core.wmem_max = 524287 net.core.rmem_default = 524287 net.core.wmem_default = 524287 net.core.optmem_max = 524287 net.core.netdev_max_backlog = 300000 net.ipv4.tcp_max_syn_backlog = 300000 net.netfilter.nf_conntrack_max=1215196608 net.ipv4.tcp_window_scaling = 1 vm.max_map_count = 655300 net.ipv4.tcp_max_tw_buckets = 1440000

Save the file. Apply changes instantly with:

sudo sysctl -p

4Step 4: Reboot & Monitor

Reboot your server. Once it is back online, monitor your dashboard. You should see lower CPU usage and stable RAM levels.

Pro Tip: If usage is still high, your hardware might simply be too small for your user base. You may need to upgrade RAM or add a Load Balancer.

Server Still Overloaded?

If you have optimized everything and your XUI.One server is still struggling, the problem might be the software efficiency itself. Some panels are just heavier than others.

Looking for maximum efficiency? The Xtream-Masters OTT Panel runs on a highly optimized core that consumes 60% less resources than standard panels. It handles thousands of connections without breaking a sweat.

Professional Admin Panel

IPTV Admin Panel Auto Installer

Fast Installation, Stability, Security & Optimized Performance

Built for speed and stability. The Xtream-Masters OTT Panel ensures your server runs smoothly, saving you money on hardware and keeping your clients happy with buffer-free streaming.

IPTV Admin Panel €39.99/Month
  • Panel license includes main server + Unlimited LoadBalancers
  • Optimized Core: Uses 60% less RAM/CPU than competitors
  • Minimum 32 GB RAM server required for main server
  • Auto Database Migration: Seamless switch from XUI.One
  • Advanced Anti-DDoS & Security tools included

Start Your IPTV Business Today

Get Your License Now

Why Professionals Choose Us

We solved the problems that other panels ignore. Stability is our #1 priority.

🚀

Optimized Performance Core

Enhanced binary and optimized code to minimize RAM and CPU consumption, ensuring super stability for handling large event loads with ease.

🛡️

Server Guard Security

Every server benefits from enhanced security measures to defend against playlist probing, brute force attacks, and Layer 7 DDoS.

☁️

xDrive Encrypted Cloud Backup

Automated xDrive Encrypted Cloud Backups ensure you can restore your panel and data instantly if the server fails.

🔄️

Auto Database Migration

Powerful database migration system that enables you to seamlessly transition from XUI.One to the Xtream-Masters OTT panel.

Support Center

Switching is Easy

Worried about moving your data? We have automated tools to handle it for you.

01

Can move from XUI.One to Xtream-Masters Panel?

YES! We have an automated database migration system specifically designed for this.

You simply take a backup of your XUI database, install our panel on a fresh server, and upload the backup. Our migration tool handles the rest, reconfiguring your tables and settings automatically.

Stop Fixing. Start Streaming.

Upgrade to the panel that professionals trust.

Purchase License - €39.99/Month