Tags:
create new tag
view all tags

SID-00238: Grep slows down server

Status: Answered Answered TWiki version: 4.1.2 Perl version: 5.8
Category: CategoryPerformance Server OS: redhat Last update: 16 years ago

Many grep processes cause poor TWiki performance.

At any given time the server process table may show many grep commands. These could be egrep or fgrep etc.

I found out that views of WebRss topics create many grep processes and these do have an affect on the service.

In order to diagnose other sources could someone post the reasons for when grep is used . I assume that the following is used to check backlinks during a rename?

bin/egrep -i -l -H -- META.TOPICMOVED.*from

Thanks for any input

-- PeterJones - 01 Apr 2009

Discussion and Answer

Odd, WebRss should not span grep. A lot of optimization can be done in TWiki. Some of the speed optimization has been inadvertently removed in the large scale TWiki 4 code refactoring work.

In any case, consider caching of RSS pages, see HowToCacheRssFeedsWithRewriteRule

-- PeterThoeny - 2009-06-02

      Change status to:
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.
SupportForm
Status Answered
Title Grep slows down server
SupportCategory CategoryPerformance
TWiki version 4.1.2
Server OS redhat
Web server apache
Perl version 5.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-06-02 - 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.