Forum Moderators: bakedjake

Message Too Old, No Replies

mod_throttle does not throttle.... please help!

mod_throttle is not throttling traffic.

         

Panaman

5:41 am on Aug 13, 2003 (gmt 0)

10+ Year Member



I want to limit my bandwidth on my virtual hosts.
I am running redhat 7.3,apache-1.3.27-2, mod_throttle-3.1.2-5

I have my httpd.conf setup this way just to test it to see if it will refuse connection after it hits its limit.

<IfModule mod_throttle.c>
ThrottlePolicy none
ThrottleMaxDelay 10
<Location /throttle-status>
SetHandler throttle-status
</Location>
<Location /throttle-me>
SetHandler throttle-me
</Location>
<Location /~*/throttle-me>
SetHandler throttle-me
</Location>
</IfModule>

<VirtualHost 10.0.0.1>
ServerName test.mydomain.com
DocumentRoot /home/www/test.mydomain.com
ServerAdmin webmaster@test.mydomain.com
ErrorLog logs/test.mydomain.com-error_log
CustomLog logs/test.mydomain.com-access_log common
<IfModule mod_throttle.c>
ThrottlePolicy Volume 2k 1d
<Location /throttle-me>
SetHandler throttle-me
</Location>
</IfModule>
</VirtualHost>

The problem with this is it doesn not refuse connection...

The % column on the throttle-status page just stays red and keeps going up extremely high... like 20000% usage...

You can keep hitting the same website as much as you want.
It doesn't throttle it at all.

Has anyone seen this problem before....

Please help. My brain is going to fall out of my ear.