Status
Not open for further replies.

adammohamed

Member
14
2019
1
0
Hi, I have dedicated server with “Basic Unmetered 1 Gbit/sec” bandwidth, I install a centos 7 on it and using Apache, I used it to make a website for sharing video files, My problem is when visitors use all network bandwidth my server be very slow, I want to know is there any limit or anything I can do so the server still alive but with low download speed? or what should I do ?
 
4 comments
To start I would limit max bandwidth per connection to just above what is needed to stream without buffer.

This looks like it does the job https://www.tecmint.com/wondershaper-limit-network-bandwidth-in-linux/

Check if video files are being leeched and block if appropriate?

Or just get a server with unlimited bandwidth
Thank you for your reply, There is no server with unlimited connection speed it my be until "10 Gbit/sec" this is the highest internet connection speed available, I tried to limit bandwidth using wondershaper before but when I limit it to 800mb/sec, When visitors take whole 800mb/sec it get slow again and get down, I want when they take whole 800mb/sec download speed slow down and server keep alive
 
Looking some more I think Wondershaper limits the whole adapter and not per IP.

I would find something that limits per IP, I think ngnix can use limit_rate but have never used anything like this before, it would be more like 1MB's/sec max.
 
Looking some more I think Wondershaper limits the whole adapter and not per IP.

I would find something that limits per IP, I think ngnix can use limit_rate but have never used anything like this before, it would be more like 1MB's/sec max.
Yes I know, I use mod_ratelimit on apache but same problem it get down, I want to limit whole adapter for visitors "800mb/sec" and let "200mb/sec" free for keep server a live and download the player with a low download speed
 
Status
Not open for further replies.
Back
Top