Tags:
create new tag
view all tags

SID-01472: Multiple instances of rdiff running

Status: Answered Answered TWiki version: Perl version:
Category: Server OS: Last update: 13 years ago

Lately I have noticed on our web server that multiple instances of "rdiff" are being called by apache, sometimes as many as 10 at the same time, and they use up a lot of CPU resources. So what exactly does rdiff do? And do so many instances of it need to be running? Is it a critical service for TWiki to run properly, or could I just rename it to something else so that it won't constantly run? Any suggestions for dealing with this would be helpful.

-- ZhewarRostam - 2012-05-31

Discussion and Answer

The rdiff script shows the difference between topic versions, links accessible at the bottom of the page. If a page has hundreds of revisions it can take a long time to render all revisions. If you have bots crawling the site they can put a load on the server, especially if they follow the rdiff links. It is safe to kill those long running processes.

Fix: Modify the robots.txt file to exclude the rdiff script. Alternatively, put the rdiff script under authentication (as I did here on twiki.org).

-- PeterThoeny - 2012-05-31

Thanks a lot, I have noticed an unusual number of registration emails lately, I assumed they were bots. I will take your suggestions and hopefully the issue will go away.

-- ZhewarRostam - 2012-05-31

Closing question.

-- PeterThoeny - 2012-05-31

      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 Multiple instances of rdiff running
SupportCategory

TWiki version

Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-05-31 - 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.