[Moin-user] HOWTO setup Surge Protection?

Zoom Quiet zoom.quiet at gmail.com
Wed Apr 19 03:07:09 EDT 2006


careful readed
http://moinmaster.wikiwikiweb.de/HelpOnConfiguration/SurgeProtection

but! us wiki  http://wiki.woodpecker.org.cn/moin also tooo toplofty...
in wikiconfig.py i setup as::
    surge_action_limits = {
        # allow max. <count> <action> requests per <dt> secs
        # action: (count, dt)
        'show': (110, 60),
        'raw': (30, 60),  # some people use this for css
        'AttachFile': (60, 60),
        'diff': (30, 60),
        'fullsearch': (3, 60),
        'edit': (10, 120),
        'rss_rc': (1, 60),
        'default': (30, 60),
    }

but when i chk some page quick, Warning for Surge often...
the  'show': (110, 60), is means:
iff average 60 sec. user make MoinMoin showing 110 pages, is good.

but i walk in MoinMoin , can not pre 1 sec "show" 2 page... but
MoinMoin Surge Protection often...

how to understand the surge_action_limits's  action: (count, dt) ??


--
"""Time is unimportant, only life important!
blogging  :  http://blog.zoomquiet.org/pyblosxom/
wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
in douban:  http://www.douban.com/people/zoomq/
"""


More information about the Moin-user mailing list