Tags:
create new tag
view all tags

Question

For the past month my Twiki installation has been running very slowly. All page views, edits, saves, attaches, etc take up to one minute.

My sys admin says this about the debug.txt file:

The file starts on March 20 at 00:44, and ends (currently) at 03:12 today. It's 57,990 lines of this:

| 26 Apr 2008 - 03:12 | WebStatistics: Bad logfile line | 26 Apr
2008 - 01:44 | TWikiGuest | changes | Sandbox |  gsa | 132.239.180.72 |

Any ideas?

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin
Server OS: Unix solaris
Web server: Apache 1.3.34
Perl version: 5.8.7
Client OS:  
Web Browser:  
Categories: Performance

-- CarlMcKinney - 26 Apr 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

gsa looks like you use Google Appliance. We have blocked this crawler because it would lock up all resources. But you may a bit less drastic approach with a robots.txt file.

-- ArthurClemens - 26 Apr 2008

Are you on a load-balanced setup? If so you may get corrupted log entries. They can safely be ignored though.

There are many reasons for a slow TWiki: Slow LDAP authentication, BlackListPlugin interference, including a page in the sidebar that has a slow SEARCH, high load by spiders, high load by users, etc. See TWikiScalability for some ideas.

I would start by monitoring the system:

  • Run top
  • Scan Apache and TWiki log files for IP addresses that access TWiki most often. Here is one command I use frequently on twiki.org to identify agressive spiders:
    alias ti5='grep " view " /home/twiki/data/log`date +%Y%m`.txt | tail -500 | sed "s/ \|$//; s/.* //" | sort |uniq -c|sort -r | head -20'

-- PeterThoeny - 26 Apr 2008

Blocking crawlers seems to have solved the problem, but I'm still curious why they were showing up in the error log?

-- CarlMcKinney - 11 May 2008

Closing this question after more than 30 days of inactivity. Please feel free to re-open if necessary.

-- PeterThoeny - 23 Jul 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-07-23 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.