The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_bandwidth issue?

Discussion in 'cPanel Developers' started by Alfarin, Jul 15, 2005.

  1. Alfarin

    Alfarin Member

    Joined:
    Feb 22, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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

    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. __DoPe_ShOw__

    __DoPe_ShOw__ Well-Known Member

    Joined:
    Mar 8, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Louisiana
    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. quadrahost

    quadrahost Active Member

    Joined:
    Jul 17, 2003
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page