Forum Moderators: phranque

Message Too Old, No Replies

mod_throttle

doesnt seem to work

         

mercsha

5:35 pm on Jul 19, 2004 (gmt 0)

10+ Year Member



I have the following config in my apache conf file

<IfModule mod_throttle.c>
ThrottlePolicy Concurrent 50 1d
</IfModule>

However the number of writing processes for this site went up to as high as 245! Do i need to set some other parameter as well?

gergoe

6:55 pm on Jul 19, 2004 (gmt 0)

10+ Year Member



This is a not supported module (well, none of them are really supported, but this one even not that much ;-), I'd suggest you to contact the author of the module, although here are some tips which you can try:

The default unit is kilobytes for the limit, which means that if you define 50 it means 50k, which is about 50000 "bytes". So the policy you've defined sets the limit for the concurrent sessions to 50000, which lasts for one day. Either try to reduce the limit to 5, 1 or even to 0.05 (which might not work).
Set the throttle-status content handler so you can see the status of the module, why it is not forcing your limit on the connections, or what do you really configured.
Is the module loaded at all? Take off the <IfModule /> directives from before and after the mod_throttle directives and test your configuration files, or just restart it if it is a test environment.

See [snert.com...] for further details on mod_throttle