Author Topic: hight CPU with 50 visit per day!!!  (Read 3064 times)

0 Members and 1 Guest are viewing this topic.

Offline daymos

  • Newbie
  • *
  • Posts: 25
    • View Profile
hight CPU with 50 visit per day!!!
« on: January 02, 2012, 01:38:22 PM »
Version: 1.7.7
50 visit per day
I received ticket from hostgator:

Quote
Hello,

I apologize, but I was forced to suspend the scripts within /home/artporta/public_html as it was causing a high load on the server, and due to it affecting all of the other accounts on the system, I forced to take immediate action for the health of the server.

Unfortunately I do not have any specific recommendations for this script, however, in general, adding some sort of caching mechanism, where the script does not need to generate a new page with every request, helps to lower the over load that a script will cause. Likely the original author or support group of the software that you are using will be able to help you to understand how to add something of this nature.

One of the primary causes of this issue is the length of time that these processes are running and requiring CPU usage. There may be additional steps required to assist your script in completing quicker, such as minimizing remotely included content.

If you reply back to this with your IP address (http://www.hostgator.com/ip.shtml) we will be more than happy to go ahead enable HTTP access for you, so that you can safely work on the script without it causing further issues.

Please let us know how you would like to proceed.

Running Processes:
artporta 9720 0.0 0.1 36044 14828 ? DN 03:21 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 9760 0.0 0.1 36044 14828 ? SN 03:21 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 10390 0.0 0.1 36044 14832 ? SN 03:22 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 10470 0.0 0.1 36044 14828 ? SN 03:22 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 11337 0.0 0.1 36044 14832 ? SN 03:22 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 11843 0.0 0.1 36044 14828 ? SN 03:23 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 11872 0.0 0.1 36044 14832 ? SN 03:23 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 11939 0.0 0.1 36044 14816 ? SN 03:23 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 12628 0.0 0.1 36044 14828 ? SN 03:24 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 12644 0.0 0.1 36044 14832 ? SN 03:24 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 12655 0.0 0.1 36044 14828 ? SN 03:24 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 12742 0.0 0.1 36044 14816 ? SN 03:24 0:00 /usr/bin/php /home/artporta/public_html/categories.php
artporta 13265 0.0 0.1 36044 14868 ? SN 03:25 0:00 /usr/bin/php /home/artporta/public_html/index.php
artporta 13416 0.0 0.1 36044 14884 ? SN 03:25 0:00 /usr/bin/php /home/artporta/public_html/index.php

Running Queries:

Current Site Requests:
141.170.229.44   artportal.in.ua   /
141.170.229.44   artportal.in.ua   /
141.170.229.44   artportal.in.ua   /cat2.htm?page=17
141.170.229.44   artportal.in.ua   /cat2.htm?page=17
141.170.229.44   artportal.in.ua   /cat2.htm?page=18
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=19
141.170.229.44   artportal.in.ua   /cat2.htm?page=20
141.170.229.44   artportal.in.ua   /cat2.htm?page=20
157.55.17.199   artportal.in.ua   /profile519.htm

[Sat Dec 31 03:40:18 CST 2011] Server Load Before Suspension: 71.58, 69.76, 46.55

[Sat Dec 31 03:40:18 CST 2011] Suspending /home/artporta/public_html!

Waiting 60 Seconds for Server Load.

[Sat Dec 31 03:41:19 CST 2011] Server Load After Suspension: 62.29, 67.75, 47.34

Waiting 60 Seconds for Server Load.

[Sat Dec 31 03:42:19 CST 2011] Server Load After Suspension: 46.27, 62.22, 46.72

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Danke Harald




Offline daymos

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: hight CPU with 50 visit per day!!!
« Reply #2 on: January 02, 2012, 06:24:12 PM »
I too modified to be updated. Especially since earlier worked fine.