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.

Best way to limit download speed --> Apache 2.x

Discussion in 'Workarounds and Optimization' started by musioc, Jul 22, 2013.

  1. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Hello
    I am searching to find the best way or a better way! to limit apache download speed.
    Our network BW is 100Mbps but I can see often it is 100% used bye two or three sites.




    Is there any module to limit download speed per ip?
    Or per virtual host (with option to set it for all virtual hosts)
     
  2. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Is there any way?

    I found mod_cband but it seams this module is not compatible with apache 2.2
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Re: Best way to limit download speed --> Apache 2.x

    Hello,
    I was searched many times,
    I want to know user's experiences to select best module (fast & reliable)



    I found mod_cband, But it seams, It is not compatible with apache 2.x

    - - - Updated - - -

    Hello,
    I was searched many times,
    I want to know user's experiences to select best module (fast & reliable)



    I found mod_cband, But it seams, It is not compatible with apache 2.x
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Best way to limit download speed --> Apache 2.x

    Searched google for this:
    mod_cband on cpanel

    Found lots of Info across the web on this topic. Many on WebHostingTalk.
     
  6. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Re: Best way to limit download speed --> Apache 2.x

    Hello
    Thank you very much, I was installed it.
    The only problem is that I have to edit httpd.conf and set custom mod_cband config for each virtual host

    Is there anyway to use a global configuration for all vhosts?
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Best way to limit download speed --> Apache 2.x


    You're welcome, happy to help. :)

    See if this is helpful to you:

    EasyApache: Changes Contained Within a VirtualHost Directive - cPanel Documentation
     
  8. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Hello
    I found set this option for all virtual host is not possible, Apache goes down after this config.

    I set limit only for huge usage websites.
    Then I use /usr/local/cpanel/bin/apache_conf_distiller --update to save changes

    after distill, When I execute /usr/local/cpanel/bin/build_apache_conf all changes will be died.
    What is the solution ?
     
  9. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Problem solved with custom config file in userdata dir
     
Loading...

Share This Page