1
mrphilong
CPU Abuse on Share host

Hi All,

I received the below message from my web hosting provider, what could I do to reduce the high usage? I am using Xoops 2.5.5, my newbb, news and APCal are update.

root@server01 [~]# ps aux | grep MYACCOUNT
MYACCOUNT 28730 99.9 0.0 257900 17384 ? R 17:27 0:34 /usr/bin/php /home/MYACCOUNT/public_html/modules/newbb/viewpost.php
MYACCOUNT 29369 4.3 0.0 265648 25368 ? S 17:28 0:00 /usr/bin/php /home/MYACCOUNT/public_html/modules/news/article.php
root 29411 0.0 0.0 61184 776 pts/0 S+ 17:28 0:00 grep MYACCOUNT

root@server01 [~]# /usr/local/cpanel/bin/dcpumonview | sed -e 's/<[^>]*>/ /g' | grep MYACCOUNT
MYACCOUNT domain.net 24.53 0.02 0.2
Top Process %CPU 100 /usr/bin/php /home/MYACCOUNT/public_html/modules/newbb/viewtopic.php
Top Process %CPU 99.7 /usr/bin/php /home/MYACCOUNT/public_html/modules/APCal/index.php
Top Process %CPU 99.5 /usr/bin/php /home/MYACCOUNT/public_html/modules/news/article.php

root@server01 [~]# mysqladmin pr | grep MYACCOUNT

User Domain % CPU % MEM MySQL Processes
MYACCOUNT domain.net 1.55 0.02 0.2

2
Mamba
Re: CPU Abuse on Share host
  • 2013/3/8 11:04

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


You might have too many robots going through all your links and thus generating extra performance issues.

Generally there would be two ways to address it:

- remove older content and move it to Archive
- block certain search engines from accessing your Website, or block them from specific modules.

For example, I had problems with piCal, and I had to delete older events from the calendar.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
xoobaru
Re: CPU Abuse on Share host
  • 2013/3/8 14:28

  • xoobaru

  • Just can't stay away

  • Posts: 494

  • Since: 2010/12/2


I think you are right on. These are not POST related files. Most of these can be stopped by declaring off limits in robots.txt.

Your stats should show what bots are visiting must frequently.

Login

Who's Online

400 user(s) are online (289 user(s) are browsing Support Forums)


Members: 0


Guests: 400


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits