If your server is experiencing high CPU or memory usage, it may become slow or unresponsive. This guide will help you diagnose and optimize server performance.
Note: If you prefer expert assistance, our Managed Services include server optimization. This is not included in basic support, but you can upgrade by contacting sales@support.nubius.io.
To see what is using the most resources, use one of these methods:
Log in via Remote Desktop (RDP).
Open Task Manager (Ctrl + Shift + Esc).
Click the Processes tab and sort by CPU or Memory to see what is using the most resources.
Connect via SSH (use PuTTY on Windows or Terminal on Mac/Linux).
Run the following command:
top
Press Shift + M to sort by memory usage.
Press Shift + P to sort by CPU usage.
Look for processes that are using excessive resources.
If a specific service is using too many resources, restart it:
Linux:
sudo systemctl restart service-name
Windows:
Open Task Manager → Click Services.
Find the service and right-click Restart.
If certain processes are consuming too many resources:
Linux: Use the following command:
sudo kill process-ID
(Replace process-ID with the actual number from the top command.)
Windows: Open Task Manager, right-click the process, and select End Task.
If you are running a web server (Apache, Nginx, etc.), high CPU usage could be due to excessive traffic.
Linux: Check active connections:
netstat -an | grep :80 | wc -l
If you see a large number, consider using a CDN (like Cloudflare) to reduce load.
Database Issues: If you run MySQL or PostgreSQL, optimize queries and indexes.
Heavy Scripts: Check cron jobs and scheduled tasks that may be running too frequently.
If your server is constantly maxing out CPU or memory, consider upgrading:
Log in to the Nubius Customer Portal.
Go to Services → My Services.
Select your server and click Upgrade/Downgrade.
Choose a plan with more CPU or RAM.
Use 360 Monitoring for real-time alerts on high CPU or memory usage.
Log in to the Nubius Customer Portal.
Navigate to Store → 360 Monitoring.
Select a plan and follow the setup instructions.
Important: Before running any update make sure you backup your server. Updating Linux may break your configuration or applications.
For Linux: Run updates regularly:
sudo apt update && sudo apt upgrade -y # Debian/Ubuntu sudo yum update -y # CentOS/RHEL
For Windows: Install updates via Windows Update.
If troubleshooting is too complex, our Managed Services handle performance tuning for you. Contact sales@support.nubius.io to upgrade.