Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Cpu Problem

muri

Extended Member
Ext. Member
Joined
Dec 25, 2020
Messages
3
Reaction score
1
Points
1
Location
Frankfurt
I am using Xtream UI panel. CPU and Memory Instant 100% during evening peak hours and sometimes drops by themselves in 2-3 minutes. When it does not fall, I change the main server domain, then it drops. Do you think this is an attack or a system error?
 
I am using Xtream UI panel. CPU and Memory Instant 100% during evening peak hours and sometimes drops by themselves in 2-3 minutes. When it does not fall, I change the main server domain, then it drops. Do you think this is an attack or a system error?

Hi,

My recommendation, try to filter your process with htop to see who is using the majority percentage of CPU.

Keep in mind Xtream UI show us a average of CPU use in the dashboard.

Merry Christmas
 
Last edited:
I am using Xtream UI panel. CPU and Memory Instant 100% during evening peak hours and sometimes drops by themselves in 2-3 minutes. When it does not fall, I change the main server domain, then it drops. Do you think this is an attack or a system error?

PROCESS MONITOR - HIGH CPU / MEMORY USAGE
If you're having issues with high cpu or memory usage, you can list the processes that are causing issues using the process monitor function. Go to the dashboard and click the CPU / Memory Usage of an individual server or select Process Monitor from the settings cog dropdown to begin. It can take a few seconds to enumerate processes but will list anything that is being used by the Xtream Codes user. You can then see what individual streams or processes are causing you the biggest issues.

An example that can cause high CPU usage is having movies set up on one server, but the video files themselves are hosted on another server. This will cause XC to download those files using the system_api.php file to the server and attempt to process them upon completion. Doing this with hundreds of movies will cause you big issues. Best practice is to host the movies on the same server as the one encoding / symlinking them. Try to use symlink more often than not as it's the least intensive.

For high memory usage where you can't isolate the issue, try the following:


Notes from a trusted user who had 100% CPU and 100% Memory, managed to reduce this drastically using process monitor:

  • Make sure pid_monitor is in crons.
  • Clean up streams_sys using stream tools.
  • Restart services.
  • For Any high percentage vod - make sure its set to same server as the source and symlink is on.
  • Any live streams that are high percentage that aren't being transcoded for a reason are likely starting and stopping too much: turn them direct or on demand.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Transcoding HVEC will cause high load.
 
PROCESS MONITOR - HIGH CPU / MEMORY USAGE
If you're having issues with high cpu or memory usage, you can list the processes that are causing issues using the process monitor function. Go to the dashboard and click the CPU / Memory Usage of an individual server or select Process Monitor from the settings cog dropdown to begin. It can take a few seconds to enumerate processes but will list anything that is being used by the Xtream Codes user. You can then see what individual streams or processes are causing you the biggest issues.

An example that can cause high CPU usage is having movies set up on one server, but the video files themselves are hosted on another server. This will cause XC to download those files using the system_api.php file to the server and attempt to process them upon completion. Doing this with hundreds of movies will cause you big issues. Best practice is to host the movies on the same server as the one encoding / symlinking them. Try to use symlink more often than not as it's the least intensive.

For high memory usage where you can't isolate the issue, try the following:


Notes from a trusted user who had 100% CPU and 100% Memory, managed to reduce this drastically using process monitor:

  • Make sure pid_monitor is in crons.
  • Clean up streams_sys using stream tools.
  • Restart services.
  • For Any high percentage vod - make sure its set to same server as the source and symlink is on.
  • Any live streams that are high percentage that aren't being transcoded for a reason are likely starting and stopping too much: turn them direct or on demand.
everything is true. when I upload or delete an vod. The CPU is goes high
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
TO CLEAR XC UI LOGS USING MYSQL

Login to XC via MySql
mysql -u root -pPASSWORD
use xtream_iptvpro;

Then run each one of these commands:

TRUNCATE panel_logs;
TRUNCATE client_logs;
TRUNCATE stream_logs;
TRUNCATE epg_data;

With best regards.
 
Forum Spamming
I am using Xtream UI panel. CPU and Memory Instant 100% during evening peak hours and sometimes drops by themselves in 2-3 minutes. When it does not fall, I change the main server domain, then it drops. Do you think this is an attack or a system error?
How do you solve this issue?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top