Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    13

    Default mod_bandwidth issue?

    I am noticing a weird mod_bandwidth related issue on my server right now, and I'm wondering if anyone can share some experties to help me sort this out.

    Due to bandwidth restriction problems, I decided to put in mod_bandwidth on my server to help cut the bandwidth usage on a few file mirroring that I offer. I installed mod_bandwidth into apache and it seems to work without causing any crash, which is a good sign. I then proceeded to add this segment into the domain's section of /usr/local/apache/conf/httpd.conf

    <VirtualHost 83.223.xxx.xxx>
    <IfModule mod_bandwidth.c>
    <Directory /home/psro/public_html/files>
    BandWidthModule On
    BandWidth all 131072
    BandWidthPulse 1000000
    </Directory>
    </IfModule>
    ...
    I tested to grab files from that directory, and it does, indeed work as it suppose to (push data to me at ~128kb/s), so I was happy. But after a few days, I received complaints from people that they can't seem to download faster than 5kb/s from the directory. I tried to remove that segment and restarted apache, and people reflected that it works as if there's no cap, then putting it back on, and it went back down to 5kb/s. Is there something wrong with the above? Or is it their ISP's problem causing the download to mess up? Is there anything I can do to prevent the weird clog down from happening?

    Thanks.

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    101

    Default

    Hi, I could only think that maybe its their ISP or maybe theres multiple people downloading from the site at one time. The bandwidth rules only allow a total of 128kb/s downloading. So therefor if theres 15 people downloading at one time then they're only going to recieve about 8.3 kb/s each. I am not sure if theres anything else that it could be but that was just my first thoughts, maybe someone else can help you out more. I hope I helped a little.

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    44

    Default

    mod_bandwidth sets a cap on the bandwidth and it is divided by all connected users. You need to install mod_throttle to limit download speeds to a set speed.

Similar Threads & Tags
Similar threads

  1. mod_bandwidth.c don't work
    By upsforum in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-26-2010, 07:30 PM
  2. Regardng mod_bandwidth Addon
    By Janak in forum cPanel Developers
    Replies: 1
    Last Post: 09-02-2009, 01:04 PM
  3. mod_bandwidth
    By Stonemage in forum cPanel Developers
    Replies: 3
    Last Post: 02-26-2006, 05:06 PM
  4. mod_bandwidth help needed
    By TheRaven in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-18-2004, 11:21 PM
  5. mod_bandwidth help
    By TheRaven in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-18-2004, 12:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube