Apache question, limit bandwidth?
From: Ohmster (donteven_at_thinkaboutit.com)
Date: 10/30/04
- Next message: Erik de Castro Lopo: "Re: is Ubuntu just a rebundled morphix??"
- Previous message: Bit Twister: "Re: /dev/hdc? and changing drive letters"
- Next in thread: Trygve Selmer: "Re: Apache question, limit bandwidth?"
- Reply: Trygve Selmer: "Re: Apache question, limit bandwidth?"
- Reply: Jeffrey Froman: "Re: Apache question, limit bandwidth?"
- Reply: Walter Mautner: "Re: Apache question, limit bandwidth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 23:25:36 GMT
I run a redhat 9 server from my home on my ADSL connection. I get 1.5Mbps
down and 380Kbps up and this is pretty good. I also run vsftpd and server up
files and videos for my friends and family.
When I would put a large file, such as an iso file for my brother or someone
to download from me, I put it in my FTP directory and then my family could
download it with CuteFTP. This worked and they could get a whole CD in a few
hours this way, but it would kill my bandwidth because all of my upload
bandwidth would get used for the transfer and there would be nothing left for
regular netsurfing on my home LAN. My ping to my local ISP would go from 30Ms
to way over a thousand or a few thousand, and it would take 30 seconds to
load a single web page when I would use any of my home computers to netsurf.
I fixed this problem by adding:
# You can set the maximum transfer rate for anonymous users here. All
settings
# are in kilobytes per second.
anon_max_rate=31250
# The maximum data transfer rate permitted, in bytes per second,
# for local authenticated users.
local_max_rate=31250
To my vsftpd.conf file. This really worked out well as FTP users could only
suck files at 250Kbps and that would leave me 130Kbps upload for netsurfing
and FTP users still got a decent upload rate.
Here is the problem: I host video files for the family and will provide them
as streaming video so that they can play on the page in email, but I ran into
the "all of my upload bandwidth gone again" problem.
Question: Is there a way to restrict upload bandwidth for apache in my
httpd.conf file to limit upload bandwidth to 250Kbps I did with vsftpd, and
if so, how?
Thanks.
-- tinykitty "ay tea" newsguy "dee oh tea" com ~Ohmster
- Next message: Erik de Castro Lopo: "Re: is Ubuntu just a rebundled morphix??"
- Previous message: Bit Twister: "Re: /dev/hdc? and changing drive letters"
- Next in thread: Trygve Selmer: "Re: Apache question, limit bandwidth?"
- Reply: Trygve Selmer: "Re: Apache question, limit bandwidth?"
- Reply: Jeffrey Froman: "Re: Apache question, limit bandwidth?"
- Reply: Walter Mautner: "Re: Apache question, limit bandwidth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]