On Wed, Dec 04, 2013 at 10:17:58AM +0800, dtpalmer wrote:
> Our instance of DSpace occasionally gets hammered with excessive requests for 
> downloads of the same item, in a very short time, say 8,000 in one hour.  No 
> idea why.  Perhaps the bogey was testing his software against our server?
> 
> Is there any way to detect, and set a limit of x downloads in y amount of 
> time, after which the server blocks that IP ?
> It skews our stats, and may eventually create more serious problems.

Two approaches come to mind:

1.  If your servlet container (e.g. Tomcat) sits behind Apache HTTPD,
    then you can use one of several rate-limiting modules to throttle
    overenthusiastic clients.  I've toyed with mod_cband but have no
    good advice for it.

2.  Add the problematic addresses to the spider list, so the client
    can do what he wishes but doesn't pollute the statistics.

    
https://wiki.duraspace.org/display/DSDOC18/DSpace+Statistics#DSpaceStatistics-ConfigurationsettingsforStatistics

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to