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
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 http://xyz.com/signin.html
ab -n 60 http://xyz.com/images/button.png
but mod_qos was not able to restrict the anything when I checked the same in access.log. Please guide for the same.
You may use the option "-c" to let ab execute requests in parallel, e.g. ab -c 120 -n 100000 http://xyz.com/images/button.png
However, be aware that you won't see 120 request in parallel if the server processes the request quickly.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.