Outbound Bandwidth per VirtualHost

#3
When we set the outgoing traffic of the server to 100 KB and try to watch a video on any page of the site, the other pages become unreachable. When we pause the video, the browser starts to load the pages. How can we fix that?
 

webizen

Well-Known Member
#4
Are you able to open 2nd connection to watch that video while the first one is still open? Can other user (from different IP) access the site while the video is playing?
 

webizen

Well-Known Member
#6
i can download the mp4 video via wget (command line) and load the page (http://cizgifilmseyret.com) & watch the video from firefox(different tabs) at the same time. also wget the video from 3 terminal sessions at the same time, all achieve ~100KB/s %

session1
$ wget http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
--2011-04-06 22:08:11-- http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
Resolving s1.webtekno.com... 178.162.191.150
Connecting to s1.webtekno.com|178.162.191.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45336900 (43M) [video/mp4]
Saving to: `116808615055609_10689.mp4'

100%[==========================================================================================>] 45,336,900 113K/s in 7m 25s

2011-04-06 22:15:36 (99.5 KB/s) - `116808615055609_10689.mp4' saved [45336900/45336900]
session2
# wget http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
--2011-04-06 22:08:21-- http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
Resolving s1.webtekno.com... 178.162.191.150
Connecting to s1.webtekno.com|178.162.191.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45336900 (43M) [video/mp4]
Saving to: `116808615055609_10689.mp4'

100%[==========================================================================================>] 45,336,900 101K/s in 7m 26s

2011-04-06 22:15:47 (99.3 KB/s) - `116808615055609_10689.mp4' saved [45336900/45336900]
session3
# wget http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
--2011-04-06 22:08:29-- http://s1.webtekno.com/cizgifilmseyret/116808615055609_10689.mp4
Resolving s1.webtekno.com... 178.162.191.150
Connecting to s1.webtekno.com|178.162.191.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45336900 (43M) [video/mp4]
Saving to: `116808615055609_10689.mp4'

100%[==========================================================================================>] 45,336,900 109K/s in 7m 29s

2011-04-06 22:15:59 (98.6 KB/s) - `116808615055609_10689.mp4' saved [45336900/45336900]
So the problem you describe is not happening.
 
Last edited:
#12
Static Requests/second 0
Dynamic Requests/second 0
Outbound Bandwidth (bytes/sec) 100000
Inbound Bandwidth (bytes/sec) 0
Connection Soft Limit 10000
Connection Hard Limit 10000
Grace Period (sec) 15
Banned Period (sec) 300
 

webizen

Well-Known Member
#13
the following setting limits download throughput per client (IP). for a 43MB mp4 video, 100KB/s is easy to achieve for a connection. that's why other connections from same IP have to wait until bandwidth is available. hence the problem. my earlier tests were from different IPs (one connection per each IP). hence no issue.

Outbound Bandwidth (bytes/sec) 100000
You should set it to zero - 0 (disable throttling) to work around this.
 
Last edited:

webizen

Well-Known Member
#15
such thing (evenly split bandwidth among multiple connections from one client) is not available. you could have lsws proxy mp4 (served from other server with low speed e.g. < 50KB/s) to serve mp4 and the page to user at the same time.
 
Last edited:
Top