mod_qos installed but not working any rule

  • niraj

    niraj - 2012-05-05


      I have installed the mod_qos-10.5 in centos 5.6.      I have created the file /etc/httpd/conf.d/qos.conf

    and content of its

    <IfModule mod_qos.c>
    QS_SrvMaxConnPerIP 50
    QS_LocRequestLimit      /var/www/auction/vendx/html_asp/       30
    QS_LocRequestLimit      /images 40
    QS_LocRequestLimitMatch       "^.*\.png$"              50

    I have used this rules one by one by running this command from other system

    ab -n 60

    and  this

    ab -n 60

    but mod_qos  was not able to restrict the anything when I checked the same in access.log.  Please guide for the same.

  • Pascal Buchbinder

    You may use the option "-c" to let ab execute requests in parallel, e.g. ab -c 120 -n 100000

    However, be aware that you won't see 120 request in parallel if the server processes the request quickly.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks