Why Does This Error Happen?
A "500 Internal Server Error" usually means the engine running your panel (PHP-FPM) has run out of memory. Think of it like a chef trying to cook too many orders at once—eventually, they just stop working.
This happens because the default memory limit in Xtream UI is set too low for modern servers. We simply need to increase this limit.
1Step 1: Check Current Memory Limit
First, let's see what your current limit is. Login to your server via SSH (PuTTY) and run this command:
If it says something low like 128M, that is likely your problem.
2Step 2: Edit the Configuration
Now we need to open the settings file and change that number. We use the nano editor for this.
What to Change:
Use the arrow keys to scroll down until you find memory_limit. Change the value based on your server's RAM:
- 1GB RAM Server: Set to
256M - 2GB RAM Server: Set to
512M - 4GB RAM Server: Set to
1024M - 8GB+ RAM Server: Set to
1536M
Once changed, press CTRL+X, then Y, then Enter to save.
3Step 3: Restart Services
The changes won't work until you restart the panel. Run this command to apply the new settings immediately:
Wait a few seconds, then refresh your panel page. The 500 error should be gone!
4Bonus: Clean Up Logs
Sometimes, full logs can also cause errors. While you are logged in, it is good practice to clear them out to free up space.
(You will need your MySQL root password for this).
