SID-00238: Grep slows down server
| Status: |
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
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.