I think I have to disagree regarding to the upload speed. It will have a huge effect on your server because total upload speed into your server effect the write performance.
I myself is interested in finding out if the upload speed can be limited. I am not talking about regular users uploading at 1mbps...I am talking about some people uploading at 100mbps to our file servers using dedicated servers.
In this case both I/O and CPU will be effected making your file server unusable to normal up-loaders and downloaders.
Thanks
XFileSharing Pro - I/O and CPU Will be effected by total upload speed
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
well this is a way you can try
http://www.tidytutorials.com/p/speedbump.html
but not sure if it works like you want it to work
i also read on forums that they say to use iptables and traffic shaping
but those are mainly for global rules and that is not what we want
so that link is a good solution , but i never tryied it out
Greetings From PowerChaos
http://www.tidytutorials.com/p/speedbump.html
but not sure if it works like you want it to work
i also read on forums that they say to use iptables and traffic shaping
but those are mainly for global rules and that is not what we want
so that link is a good solution , but i never tryied it out
Greetings From PowerChaos
this is a real good question. we have a lot of problems with clients that use remote upload und uploading with 1gb/s to our servers and normal upload gets temp errors!
we have nginx.. so powerchaos???
how can we do it like... every ip max 100mb/s or something like that?
we have this problem on our file servers only..
we have nginx.. so powerchaos???
how can we do it like... every ip max 100mb/s or something like that?
we have this problem on our file servers only..
niginx ?
I have not tried the method given by PowerChaos. I wonder how this would work under a file server that has nginx mod. Since upload connection numbers are fairly low I dont think the method will use up lot of memory.
Has anyone else tried this before?
thx
Has anyone else tried this before?
thx
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
it does not mather if you use nginx , lighttp or apache or tomcat
the script is suposed to use iptables ( firewall that is basic in linux like winows firewall) to lock the speed
it is the same as trafic shaping , traffic shaping limits the amount you can upload/download and get mostly used to keep some traffic free so you can always acces SSH
also traffic shaping get used in case you are working with torrents on your own computer , so you got traffic free to browse on the internet (with slow connections)
so the provided script should be able to put a limit per user based ( ip ) and not a global rule like traffic shaping does
i do not know about the amount of ram it use , but as it use iptables should it use as mutch ram as a firewall use
Greetings From PowerChaos
the script is suposed to use iptables ( firewall that is basic in linux like winows firewall) to lock the speed
it is the same as trafic shaping , traffic shaping limits the amount you can upload/download and get mostly used to keep some traffic free so you can always acces SSH
also traffic shaping get used in case you are working with torrents on your own computer , so you got traffic free to browse on the internet (with slow connections)
so the provided script should be able to put a limit per user based ( ip ) and not a global rule like traffic shaping does
i do not know about the amount of ram it use , but as it use iptables should it use as mutch ram as a firewall use
Greetings From PowerChaos
Iptables is not a Traffic Shaper. It can only chain the traffic so you can shape it.PowerChaos wrote:it does not mather if you use nginx , lighttp or apache or tomcat
the script is suposed to use iptables ( firewall that is basic in linux like winows firewall) to lock the speed
it is the same as trafic shaping , traffic shaping limits the amount you can upload/download and get mostly used to keep some traffic free so you can always acces SSH
also traffic shaping get used in case you are working with torrents on your own computer , so you got traffic free to browse on the internet (with slow connections)
so the provided script should be able to put a limit per user based ( ip ) and not a global rule like traffic shaping does
i do not know about the amount of ram it use , but as it use iptables should it use as mutch ram as a firewall use
Greetings From PowerChaos