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!

SQL Down Peak Hours

pinaliz

Extended Member
Ext. Member
Joined
Feb 24, 2020
Messages
41
Reaction score
15
Points
19
Location
DENMARK
SQL fails during peak hours. The panel then gives an HTTP 500 error. and broadcasts are closing. If I do mysql restart it will be back. The main server has 128 GB of ram. There is no peak in Ram and CPU. Could you please help me?
 
SQL fails during peak hours. The panel then gives an HTTP 500 error. and broadcasts are closing. If I do mysql restart it will be back. The main server has 128 GB of ram. There is no peak in Ram and CPU. Could you please help me?
i can help you, contact me in pm
 
SQL fails during peak hours. The panel then gives an HTTP 500 error. and broadcasts are closing. If I do mysql restart it will be back. The main server has 128 GB of ram. There is no peak in Ram and CPU. Could you please help me?
what is your workload (number of user connections, live streams ? ) on your main server ?
Do you have load balancing servers ? and do you transcode all your streams ?
 
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
what is your workload (number of user connections, live streams ? ) on your main server ?
Do you have load balancing servers ? and do you transcode all your streams ?
There are no channels or users on main. Yes, I have about 15 load balance servers. I don't transcode streams.
 
How many users do you have ? 128GB is a hell lot of RAM for a main server without channel or streams. What is the size of your DB ?
 
Ana sunucum 128 gb ram'a sahip. ancak ram / cpu hiç zirvede değil. 4000-5000 çevrimiçi olduğunda, her yarım saatte bir sql hatası verir. sonra http 500 hatası alıyorum. DB boyutunu bilmiyorum. yaklaşık 10 MB.
 
Last edited:
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
Yes true. only sql is running on the main server. nothing else.. yesterday I asked this to my friend. He said that there are many queries on SQL.
Process Monitor

 
I see. Your Main server is specs are overkill for your usage.
What you need now is one of those 2 solutions :
1) caching your mysql queries (through memcached)
2) run a proxy to pool queries (through a mysql proxy solution)

Yes true. only sql is running on the main server. nothing else.. yesterday I asked this to my friend. He said that there are many queries on SQL.
Process Monitor

Do you know the number of queries MySQL is processing on peak load ?
 
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
I see. Your Main server is specs are overkill for your usage.
What you need now is one of those 2 solutions :
1) caching your mysql queries (through memcached)
2) run a proxy to pool queries (through a mysql proxy solution)


Do you know the number of queries MySQL is processing on peak load ?
no he doesn't, thats not the issue
 
no he doesn't, thats not the issue
I'm assuming that he's already done all the MYSQL and OS tweaks needed and is still facing bottleneck (otherwise simply increasing the buffer size and max connections in Mysql should be sufficient). This also why i asked the number of queries during peak load.
 
Last edited:
I don't know mysql maximum query. I don't understand mysql. I have to ask this to my friend.
 
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