HowTo HowTo fix CPU and RAM overload on XtreamUI
This solution is from the user @empire from XtreamUI Forum, all credits goes to him. I just successfully try this solution so I want to share it with you.
I hope this can support some of you as well it did for me - specially for VOD servers - Lets start
Make sure pid_monitor is in crons.
1. Clean up streams_sys using stream tools.
2. Optimize your server OS:
Set ulimit parameters on your ubuntu server. Check ulimit with this command:
if it was 1024 then we need to increase it as follow
add the following lines to the end of your file:
Then save and close the file.
3. Optimize sysctl
Edit sysctl.conf - sysctl preload/configuration file (these settings has been taken from an LB that had xtream-codes installed to it)
add the following lines to the end of your file:
Then save and close the file.
run this command:
4. Reboot your server and check it now !
after reboot, run these commands again to verify your changes:
-> should show 500000
-> should show the above values
Regards.
I hope this can support some of you as well it did for me - specially for VOD servers - Lets start
Make sure pid_monitor is in crons.
1. Clean up streams_sys using stream tools.
2. Optimize your server OS:
Set ulimit parameters on your ubuntu server. Check ulimit with this command:
if it was 1024 then we need to increase it as follow
add the following lines to the end of your file:
Then save and close the file.
3. Optimize sysctl
Edit sysctl.conf - sysctl preload/configuration file (these settings has been taken from an LB that had xtream-codes installed to it)
add the following lines to the end of your file:
Then save and close the file.
run this command:
4. Reboot your server and check it now !
after reboot, run these commands again to verify your changes:
-> should show 500000
-> should show the above values
Regards.
Relate Threads