Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

xtream mod HIGH RAM

rennsatan

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
78
Reaction score
34
Points
29
Location
german
Xtream UI mod have problems with HIGH RAM usage what can I do
 

ddmmyy

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
98
Reaction score
287
Points
64
Location
Universe
I had same problem but go in putty check htop see which process is taking ram ?
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

rennsatan

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
78
Reaction score
34
Points
29
Location
german
So smart and what if he take more RAM then ? Should he take another step to take more RAM ? and more RAM and more RAM ??? Try to help if you can if not then dont abuse.
this is not due to the RAM I have 4x64 GB that is due to the xtream update 24
I solved the problem

thank you friend for helping me
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

peezy

Extended Member
Ext. Member
Joined
Oct 2, 2019
Messages
56
Reaction score
255
Points
44
Location
The Woods
So smart and what if he take more RAM then ? Should he take another step to take more RAM ? and more RAM and more RAM ??? Try to help if you can if not then dont abuse.
Will do, but what exactly am I abusing?
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

rennsatan

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
78
Reaction score
34
Points
29
Location
german
is there allready a fix?
i used this one

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:
Code:

ulimit -u


if it was 1024 then we need to increase it as follow
Code:

nano /etc/security/limits.conf


add the following lines to the end of your file:
Code:

* 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


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)

Code:

nano /etc/sysctl.conf


add the following lines to the end of your file:

Code:

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


Then save and close the file.

run this command:
Code:

sudo sysctl -p


4. Reboot your server and check it now !

after reboot, run these commands again to verify your changes:
Code:

ulimit -u

-> should show 500000

-> should show the above values

Regards.
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

sc0tsman

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
655
Reaction score
826
Points
104
Location
spain
i used this one

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:
Code:

ulimit -u


if it was 1024 then we need to increase it as follow
Code:

nano /etc/security/limits.conf


add the following lines to the end of your file:
Code:

* 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


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)

Code:

nano /etc/sysctl.conf


add the following lines to the end of your file:

Code:

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


Then save and close the file.

run this command:
Code:

sudo sysctl -p


4. Reboot your server and check it now !

after reboot, run these commands again to verify your changes:
Code:

ulimit -u

-> should show 500000

-> should show the above values

Regards.
thank you worked well
 

herny8

Extended Member
Ext. Member
Joined
Nov 28, 2019
Messages
399
Reaction score
444
Points
74
Location
USA
Hello,

I am also using the 22mod ...and about 4 days ago I noticed high ram usage.. I used to have about 50 to 55 percent with 380 live connections but right now I had only 79 connections and ram was at 45 to 55 percent.. the. I HAD only 50 connections and ram went crazy high to 82 percent.. I used the commands in here and were very useful.. now im back to normal ram usage according to streams online..

Thanks so much for such helpful commands.

Update:

Ram got fixed yesterday with commands here but today its gone up again..using 70% with only 70 live streams.. im running those streams on a 64g ram 8core dedicated.

Any other advise please?
 

donev

Extended Member
Ext. Member
Joined
Dec 12, 2019
Messages
35
Reaction score
300
Points
64
Location
Mars
You can read up here:


your streams folder lives in the RAM and occupies 90% of it (default):
/home/xtreamcodes/iptv_xtream_codes/streams/

All the chunks of your streams (live or on demand) are put there. You may have only one viewer who goes thru all of your on demand streams - it may still fill up all of the server ram.

You can change ffmpeg segment_time and segment_list_size they are both located in:
/home/xtreamcodes/iptv_xtream_codes/wwwdir/includes/lib.php

Default segment time is 10 seconds and segment list size 6.
* It may affect delayed streams, I think they are based on the default values.

Reducing segment time to 6 seconds, will reduce your ram usage and improve throughput
according to:
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock