[WikiCaretakers] Wiki slowness
Paul Hänsch
paul at fsfe.org
Fri Nov 17 09:22:11 CET 2017
On Thu, Nov 16, 2017 at 02:50:36PM +0100, Paul Hänsch wrote:
> On Wed, Nov 15, 2017 at 02:08:48PM +0100, Jonas Oberg wrote:
> > Paul; could you please make this your current priority, to explore why the
> > wiki is so slow and what we should do about it?
>
> Okay then!
I identified the hitcounter as a possible problem. It is used by the <<Hits>>
macro and by the statistics subpage for every page. The only page using the
macro was the sandbox of my own user page (that is how I got suspicious the
first time). The statistics subpages (Info -> Show "Page hits and edits") seem
to be rarely clicked by humans but are regularly indexed by search engines.
- I disabled the statistics pages using a rewrite rule
- I disabled the macro by unsetting the read permission of
/opt/moin-1.9.8/MoinMoin/macro/Hits.py
- Independently from this I installed fail2ban which by default is active for
ssh
I had a look into the source code of moin-1.9.9 and the problem does not yet
seem fixed there (although the devs seem to be aware that the corresponding
code needs an overhaul).
> Funny thing: I do not experience the lag in everyday use (maybe two or three
> seconds max, sometimes when editing a page). Maybe you could keep an eye out
> for the pages and actions that immediately lead to larger delays.
I will try to keep an eye out too. Please let me know, if my changes did not
yet do the trick.
--
Paul Hänsch █▉ Webmaster, System-Hacker
█▉█▉█▉
Jabber: paul at jabber.fsfe.org ▉▉ Free Software Foundation Europe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.fsfe.org/pipermail/wikicaretakers/attachments/20171117/d09cd1ba/attachment.pgp>
More information about the WikiCaretakers
mailing list