|
View previous topic :: View next topic |
| Author |
Message |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Sat Oct 29, 2011 9:20 am Post subject: Re: Site using too many resources |
|
Quite clearly the problem is yours - they have nailed you quite specifically and 28% of CPU over 24 hours is very high.
It's now up to you to work out what was hammering your site and you'll have to examine your server stats to work that out.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sat Oct 29, 2011 9:27 am Post subject: Re: Site using too many resources |
|
Check, or ask them to check, your access logs.
Then if you have been hammered, you may think to upgrade and turn security flooding on which is a lot more stable in latest version.
Your footer is missing of page generation and memory usage, however calendar could be the issue.
Keep us posted.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
layingback Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1040
|
Posted: Sat Oct 29, 2011 3:42 pm Post subject: Re: Site using too many resources |
|
Hmm, something's changed. A few hours ago the times for Pro_News MySQL accesses were higher than I would expect by a factor of 5 or so, now they are very, very low.
EDIT: And this morning it's back to slow again ...
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
|
|
| Back to top |
|
 |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sun Oct 30, 2011 12:54 pm Post subject: Re: Site using too many resources |
|
Inspect server logs or at least install ip tracker
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
|
| Back to top |
|
 |
Dizfunkshunal Platinum Supporter


Offline Joined: Mar 23, 2006 Posts: 2064
|
Posted: Sun Oct 30, 2011 4:45 pm Post subject: Re: Site using too many resources |
|
yes flood control helps. Updating to latest version is always good. Flood Control has been improved in 9.3 i believe.
see if you cant get the user string for the bots not following robots.txt.
Make sure your robots txt is still there to. Might have been accidentally deleted or something.
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups
|
|
| Back to top |
|
 |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
|
| Back to top |
|
 |
greenday2k Forum Admin


Offline Joined: Aug 11, 2005 Posts: 489 Location: CO
|
|
| Back to top |
|
 |
InspectorClueNo Heavy poster


Offline Joined: Mar 26, 2008 Posts: 211
|
Posted: Sun Oct 30, 2011 10:44 pm Post subject: Re: Site using too many resources |
|
maybe something like this would help
| PHP: |
if (ISBOT && get_cpu_usage() > X) { header('503 Service Unavailable'); header('Retry-After: 600'); exit; }
|
Note: ISBOT and get_cpu_usage() doesn't really exists in df ...
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Oct 31, 2011 6:51 am Post subject: Re: Site using too many resources |
|
Back to the issue.
Reading logs is not an easy task, also knowing what to look for is always a variable.
Install IP Tracker, let it run at least till next slow down and then we'll look into it.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
Posted: Mon Oct 31, 2011 2:21 pm Post subject: Re: Site using too many resources |
|
Right, have upgraded to the latest version and have flooding turned on (as it was before). I have installed IP tracker. Now what do I do with the information it gives me?
Incidentally I note that Baidu has been tracked already, and yet my robots text has the lines:
User-agent: Baidu
Disallow: /
Is it just a very naughty bot?
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) ChantillyExpat.com - Others-
|
|
| Back to top |
|
 |
rosbif 500+ Posts Club


Offline Joined: Jan 13, 2005 Posts: 593 Location: Paris, France
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Wed Nov 02, 2011 9:56 pm Post subject: Re: Site using too many resources |
|
Using phpmyadmin, in table cms_security_agents:
- find the Baidu bot entry
- change the agent_ban field to -1
Yandex is also another useless Russian bot that consumes resources.
In the same table, find the YANDEX bot:
- change the agent_ban field to -1
Now wait for their session to finish or remove their entries from your session table.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
|
|