Jump to content


- - - - -

High Cpu Usage - Please Help Newbie Here!


  • Please log in to reply
No replies to this topic

#1 Disgruntled

Disgruntled

    Novice

  • Members
  • PipPip
  • 11 posts
  • IPB Version:v2.3.x

Posted 05 August 2011 - 07:53 PM

Hi there,

Newbie here needs help. My hosting account was disabled with the following message:


Hi, 

Your account "****.net" hosted on the shared server ****.com is running various CPU intensive php scripts which are causing very high load on the server and due to which server is going unresponsive. 

Please have a look at the follow details about your php scripts running in parallel. 

------ 
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
8464 **** 34 18 186m 67m 60m R 41.5 2.0 0:00.43 /usr/bin/php /home/****/public_hic_html/index.php 
8142 **** 35 19 39628 14m 1688 R 25.7 0.4 0:05.31 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=****.net -LogFile=/usr/local/apache/domlogs 
8460 **** 34 18 209m 23m 7824 R 19.7 0.7 0:00.20 /usr/bin/php /home/****/public_html/forums/index.php 
8454 **** 35 18 0 0 0 Z 14.8 0.0 0:00.27 [php] <defunct> 


Fri Aug 5 15:15:09 2011: '/usr/bin/php /home/****/public_html/forums/style_images/avalon/logo.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/style_images/avalon/logo.php', Domain: ****.net, Request: '/forums/style_images/avalon/logo.php', Accessed from: 88.175.177.84) - of **** using 67.21484375 MB memory 
Fri Aug 5 15:15:09 2011: '/usr/bin/php /home/****/public_html/forums/style_images/avalon/logo.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/style_images/avalon/logo.php', Domain: ****.net, Request: '/forums/style_images/avalon/logo.php', Accessed from: 88.175.177.84) - of **** using 67.21484375 MB memory 
Fri Aug 5 15:15:14 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=23000&mode=linearplus&view=findpost&p=58858', Accessed from: 65.52.110.79) - of **** using 71.77734375 MB memory 
Fri Aug 5 15:15:14 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=Forward&f=136&t=37228', Accessed from: 65.52.109.17) - of **** using 71.5703125 MB memory 
Fri Aug 5 15:15:14 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=23000&mode=linearplus&view=findpost&p=58858', Accessed from: 65.52.110.79) - of **** using 71.77734375 MB memory 
Fri Aug 5 15:15:14 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=Forward&f=136&t=37228', Accessed from: 65.52.109.17) - of **** using 71.5703125 MB memory 
Fri Aug 5 15:15:24 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=22706&pid=58137&mode=threaded&start=', Accessed from: 207.46.195.223) - of **** using 71.93359375 MB memory 
Fri Aug 5 15:15:24 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=16547&mode=linear&view=findpost&p=44324', Accessed from: 65.52.110.22) - of **** using 64.8984375 MB memory 
Fri Aug 5 15:15:35 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=1678&st=0&p=85280&', Accessed from: 65.52.110.22) - of **** using 64.08984375 MB memory 
Fri Aug 5 15:15:39 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=usercp&CODE=start_subs&method=topic&tid=35119', Accessed from: 207.46.12.240) - of **** using 77.91796875 MB memory 
Fri Aug 5 15:15:40 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=16920&mode=linear&view=findpost&p=62116', Accessed from: 65.52.110.22) - of **** using 70.76953125 MB memory 
Fri Aug 5 15:15:50 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=Reg&CODE=image&rc=&p=3', Accessed from: 60.52.35.209) - of **** using 77.78125 MB memory 
Fri Aug 5 15:15:50 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=35258&mode=linearplus&view=findpost&p=105694', Accessed from: 65.52.110.48) - of **** using 73.609375 MB memory 
Fri Aug 5 15:15:55 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=search&CODE=getnew', Accessed from: 115.132.53.15) - of **** using 71.1328125 MB memory 
Fri Aug 5 15:16:11 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=Forward&f=37&t=42870', Accessed from: 119.63.196.40) - of **** using 75.33203125 MB memory 
Fri Aug 5 15:16:27 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=3289', Accessed from: 207.46.195.228) - of **** using 73.59765625 MB memory 
Fri Aug 5 15:16:37 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=18249&pid=83906&mode=threaded&start=', Accessed from: 65.52.109.17) - of **** using 77.859375 MB memory 
Fri Aug 5 15:16:37 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?act=Forward&f=45&t=3380', Accessed from: 207.46.195.228) - of **** using 68.63671875 MB memory 
Fri Aug 5 15:16:42 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=18304&mode=linear&view=findpost&p=47132', Accessed from: 65.52.109.17) - of **** using 69.5078125 MB memory 
Fri Aug 5 15:16:46 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=23171&mode=threaded&pid=64937', Accessed from: 207.46.195.223) - of **** using 69.02734375 MB memory 
Fri Aug 5 15:16:57 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=1927&mode=linearplus&view=findpost&p=4319', Accessed from: 65.52.109.17) - of **** using 73.90625 MB memory 
Fri Aug 5 15:17:03 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=19612&mode=threaded&pid=89529', Accessed from: 65.52.109.17) - of **** using 73.41796875 MB memory 
Fri Aug 5 15:17:07 2011: '/usr/bin/php /home/****/public_html/forums/index.php ' (Exe: php [/usr/bin/php], Script: '/home/****/public_html/forums/index.php', Domain: ****.net, Request: '/forums/index.php?showtopic=15255&st=0&p=123327&', Accessed from: 207.46.195.236) - of **** using 69.39453125 MB memory 


We had no choice but to disable the web access of folder /home/****/public_html/forums/ to stabilize the server. 

Please involve a web developer to check and optimize the code to decrease the resource usage. You should optimize your scripts/queries a little further because we believe that there is always some room for improvement. 


Can any expert tell me what's wrong with the scripts and which one I should disable? Detailed instructions on what I should do would be appreciated. My site has been running for approximately three years without any problem, and I haven't done any changes to it.
Thanks!!

Edited by Disgruntled, 05 August 2011 - 07:57 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users