Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: server load  (Read 439 times)
0 Members and 1 Guest are viewing this topic.
ctmiller
New Member
*

Karma: 0
Offline Offline

Posts: 0

web site design


WWW
« on: May 23, 2006, 12:58:00 PM »

Hi I have been running calendarscript fine for quite a while.  In the last couple of days It has started to overload the server I am not sure why.  
This is all I get from the host saying what is happening.
any ideas.

ctmille2 7784 0.0 0.0 9748 7936 ? R 02:03 0:00 /usr/bin/perl calendar.pl
ctmille2 15422 0.0 0.0 8956 6348 ? R 02:16 0:00 /usr/bin/perl calendar.pl
ctmille2 1713 0.0 0.0 8560 6984 ? R 02:25 0:00 /usr/bin/perl calendar.pl
ctmille2 14249 0.0 0.0 8296 6668 ? R 02:33 0:00 /usr/bin/perl calendar.pl
ctmille2 29866 0.0 0.0 8032 6488 ? R 02:40 0:00 /usr/bin/perl calendar.pl
ctmille2 9625 0.0 0.0 7768 5088 ? R 02:48 0:00 /usr/bin/perl calendar.pl
ctmille2 22468 0.0 0.0 7636 6156 ? R 02:55 0:00 /usr/bin/perl calendar.pl
ctmille2 5956 0.0 0.0 7504 4976 ? R 03:03 0:00 /usr/bin/perl calendar.pl
ctmille2 12274 0.0 0.0 7372 5956 ? R 03:19 0:00 /usr/bin/perl calendar.pl
ctmille2 32239 0.0 0.0 7240 5876 ? R 03:27 0:00 /usr/bin/perl calendar.pl
ctmille2 14012 0.0 0.0 7240 5796 ? R 03:35 0:00 /usr/bin/perl calendar.pl
ctmille2 27972 0.0 0.0 7108 5796 ? R 03:43 0:00 /usr/bin/perl calendar.pl
ctmille2 9607 0.0 0.0 7108 4152 ? R 03:50 0:00 /usr/bin/perl calendar.pl
ctmille2 20149 0.0 0.0 6976 5168 ? R 04:08 0:00 /usr/bin/perl calendar.pl
ctmille2 15623 0.0 0.0 6844 4744 ? R 04:15 0:00 /usr/bin/perl calendar.pl
ctmille2 32022 0.0 0.0 6844 5500 ? R 04:22 0:00 /usr/bin/perl calendar.pl
ctmille2 20478 0.0 0.0 6844 5436 ? R 04:29 0:00 /usr/bin/perl calendar.pl
ctmille2 13539 0.0 0.0 6712 5188 ? R 04:37 0:00 /usr/bin/perl calendar.pl
ctmille2 25894 0.0 0.0 6712 5340 ? R 04:44 0:00 /usr/bin/perl calendar.pl

Logged

Charles T Miller
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: May 23, 2006, 04:08:00 PM »

** any ideas. **

Maybe your calendar is being spidered multiple times by search engines. What is the IP address of all those hits?

Dan O.

------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #2 on: May 24, 2006, 08:27:00 AM »

ctmiller,
Try putting these lines in your root .htaccess file.

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^OmniExplorer_Bot [NC]
RewriteRule .* - [F]

OmniExplorer is a "bad" bot that doesn't honor robots.txt and follows every possible link in calendarscript to the end of the chain. One of these bots took 500MB of bandwidth from one of my sites in just under two days!

------------------

Logged
ctmiller
New Member
*

Karma: 0
Offline Offline

Posts: 0

web site design


WWW
« Reply #3 on: May 25, 2006, 10:47:00 PM »

I will do that for this bot but looking at my logs it looks like the googlebot is the one getting stuck how would i do a rewrite to keep the google spider from getting stuck in the calendar it seems it has eaten close in 800 meg of bandwidth in one visit  

------------------
Charles T Miller

Logged

Charles T Miller
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #4 on: May 26, 2006, 05:03:00 PM »

I just keep them all out by doing this in robots.txt

User-agent: *
Disallow: /cgi-bin/calendar/

Rather than do a global you could just put Googlebot instead

User-agent: Googlebot
Disallow: /cgi-bin/calendar/

Most "good" bots honor robots.txt
Unfortunately Calendarscript isn't crawler-aware. Maybe someone could write a mod to do this.


------------------

[This message has been edited by musicvid (edited May 26, 2006).]

Logged
Pages: [1]   Go Up
Print
Jump to: