Jump to content

excess cpu usage - urgent help needed - website at stake


Recommended Posts

I got the following email from the webhost - It looks as it is time to move on higher version of server or the problem is something else....please advise what to be done

Hello,

Your account has been abusing CPU resources for an extended period of time. As a result all of your sites have been cached in order to ensure continued performance stability of the server. While we do limit each account to no more than 25% of a system's CPU in our terms of service, we do not actively take actions against accounts until they greatly exceed that number, which is what happened in this case.

Please take a moment to review this email in full as it contains important information and resources to assist you in resolving this issue. Please note that this permanent restriction requires you take further actions to gain access to and resolve the issues on your account.


****Please note your site(s) are still online in a cached form. However, any further violations will result in your account being suspended****


- Important information on the caching for your account
Your account will be cached for 12 hours, with the cache for your sites updating every 3 hours. This will allow your site to stay online for visitors while you correct the issues causing the problems described below.

Once your sites are fixed and no longer causing service issues and remains incident free for 12 hours the restrictions will be removed and your account will function normally.

- How can you resolve the issue?
We have two solutions available. You may try following some of our tutorials for optimizing popular scripts.
.If you feel your scripts have already been optimized, it may simply be time to consider the hardware upgrade. Moving the account to a dedicated server will allow far greater hardware resources and dedicated hardware for your account.





CPU seconds used in the past hour: 2505.71000000001, 70% CPU

Sat Mar 29 12:01:17 CDT 2014
Running Processes:
mechanic 8184 4.0 0.1 430080 57924 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.php
mechanic 8744 4.8 0.0 0 0 ? RN 12:01 0:00 mechanic 9201 4.5 0.1 419060 46544 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 6.1 0.1 415540 43252 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.8 0.1 411324 38912 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 7.7 0.1 410940 38696 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 8.0 0.0 298028 21656 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 9.6 0.0 293668 16888 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 12.5 0.0 291452 14348 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpRunning Queries:*************************** 1. row ***************************USER: mechanic_ipmechDB: mechanic_ipmechSTATE:TIME: 0COMMAND: SleepINFO: NULL*************************** 2. row ***************************USER: mechanic_ipmechDB: mechanic_ipmechSTATE:TIME: 0COMMAND: SleepINFO: NULL*************************** 3. row ***************************USER: mechanic_ipmechDB: mechanic_ipmechSTATE:TIME: 1COMMAND: SleepINFO: NULL*************************** 4. row ***************************USER: mechanic_ipmechDB: mechanic_ipmechSTATE:TIME: 0COMMAND: SleepINFO: NULL*************************** 5. row ***************************USER: mechanic_ipmechDB: mechanic_ipmechSTATE:TIME: 1COMMAND: SleepINFO: NULLOpen connectionsCurrent Site Requests:106.66.160.222 mechanical-engineering.in /forum/public/min/index.php?ipbv=6351f1b3b03f99f51d55599c2c106.79.199.255 mechanical-engineering.in /forum/public/ipc_blocks/compiled.js115.249.88.213 mechanical-engineering.in /forum/122.168.206.51 mechanical-engineering.in /forum/interface/facebook/index.php?_reg=1137.224.235.26 mechanical-engineering.in /forum/tags/forums/job/148.251.17.13 mechanical-engineering.in /forum/blog/112/entry-598-what-is-the-purpose-of-testing-ic157.55.33.28 mechanical-engineering.in /forum/blog/164/entry-492-are-you-looking-for-a-job-would-y157.55.33.28 mechanical-engineering.in /forum/gallery/image/388-img-3080/178.33.227.174 mechanical-engineering.in /forum/topic/11735-price-of-an-automatic-dimension-conveyor178.33.227.174 mechanical-engineering.in /forum/topic/11736-please-i-want-answers-for-these-question180.215.66.217 mechanical-engineering.in /forum/public/js/3rd_party/cropper/cropper.uncompressed.js180.215.66.217 mechanical-engineering.in /forum/public/min/index.php?ipbv=6351f1b3b03f99f51d55599c2c180.215.66.217 mechanical-engineering.in /forum/public/min/index.php?ipbv=6351f1b3b03f99f51d55599c2c182.72.78.170 mechanical-engineering.in /forum/public/style_images/master/star_off.png182.72.78.170 mechanical-engineering.in /forum/public/style_images/master/useropts_arrow.png182.72.78.170 mechanical-engineering.in /forum/uploads/profile/photo-33549.jpg?_r=1386229974182.72.78.170 mechanical-engineering.in /forum/uploads/profile/photo-thumb-31057.jpg?_r=1387914052186.96.69.186 mechanical-engineering.in /forum/index.php187.52.143.124 mechanical-engineering.in /forum/index.php188.143.232.12 mechanical-engineering.in /forum/188.143.232.12 mechanical-engineering.in /forum/blog/112/entry-600-where-do-we-use-leaf-spring-what-188.143.232.12 mechanical-engineering.in /forum/blog/112/entry-600-where-do-we-use-leaf-spring-what-188.143.232.12 mechanical-engineering.in /forum/blog/91/entry-304-shading-in-opengl/?_rcid[]=22247&_188.143.232.12 mechanical-engineering.in /forum/forum/101-mechanical-engineering-quiz/188.143.232.12 mechanical-engineering.in /forum/tags/forums/welding/188.143.232.12 mechanical-engineering.in /forum/user/36449-sanjay-prakash/188.143.232.12 mechanical-engineering.in /forum/user/36482-rahul-tadvi/192.99.2.73 mechanical-engineering.in /forum/blog/112/entry-600-where-do-we-use-leaf-spring-what-192.99.2.73 mechanical-engineering.in /forum/blog/91/entry-304-shading-in-opengl/?_rcid[]=22247&_192.99.2.73 mechanical-engineering.in /forum/forum/34-mechanical-engineering-basics/192.99.2.73 mechanical-engineering.in /forum/index.php192.99.2.73 mechanical-engineering.in /forum/index.php192.99.2.73 mechanical-engineering.in /forum/index.php192.99.2.73 mechanical-engineering.in /forum/index.php192.99.2.73 mechanical-engineering.in /forum/tags/forums/invention/192.99.2.73 mechanical-engineering.in /forum/topic/11489-bayer-young-environmental-envoy-2013/192.99.2.73 mechanical-engineering.in /forum/user/14934-gerald-davenport/192.99.2.73 mechanical-engineering.in /forum/user/25189-oleg-ushakov/192.99.2.73 mechanical-engineering.in /forum/user/33708-vijay-m/192.99.2.73 mechanical-engineering.in /forum/user/33708-vijay-m/192.99.2.73 mechanical-engineering.in /forum/user/36478-rohitsd/197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_12870197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_18640197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_19034197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_21938197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_22037197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_2767.197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_29675197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_36640197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_36644197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_43104197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_49154197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_50993197.210.248.48 mechanical-engineering.in /forum/uploads/gallery/album_163/tn_gallery_25189_163_80631198.245.51.165 mechanical-engineering.in /forum/blog/91/entry-304-shading-in-opengl198.245.51.165 mechanical-engineering.in /forum/blog/91/entry-304-shading-in-opengl/?_rcid[]=22247&_198.245.51.165 mechanical-engineering.in /forum/forum/30-engineering-resources-product-literature-ca198.245.51.165 mechanical-engineering.in /forum/forum/45-environmental-health-and-safety-engineering198.245.51.165 mechanical-engineering.in /forum/index.php198.245.51.165 mechanical-engineering.in /forum/topic/11543-catia/198.245.51.165 mechanical-engineering.in /forum/topic/11721-ut-arlington-research-team-proves-mass-i198.245.51.165 mechanical-engineering.in /forum/topic/11726-y-strainer-for-fuel-oil-pipe-line/198.245.51.165 mechanical-engineering.in /forum/topic/11733-want-to-do-masters-in-engineering-in-def198.245.51.165 mechanical-engineering.in /forum/user/14083-ilie-ivanov/203.81.71.97 mechanical-engineering.in /forum/public/style_images/master/f_redirect.png203.81.71.97 mechanical-engineering.in /forum/uploads/gallery/album_107/tn_gallery_25189_107_13512203.81.71.97 mechanical-engineering.in /forum/uploads/profile/photo-thumb-7441.jpg?_r=136964423837.228.105.237 mechanical-engineering.in /forum/rss/ccs/1c5-miscellaneous/46.105.115.184 mechanical-engineering.in /forum/topic/11731-3d-component-analysis/46.172.70.13 mechanical-engineering.in /forum/blog/91/entry-304-shading-in-opengl/?_rcid[]=22247&_66.249.68.54 mechanical-engineering.in /forum/index.php?app=core&module=reports&rcom=gallery&image94.228.34.203 mechanical-engineering.in /forum/forum/90-mechanical-engineering-groups/94.23.220.222 mechanical-engineering.in /forum/topic/11718-need-help-on-pneumatic-cylinders-bore-si94.23.240.216 mechanical-engineering.in /forum/topic/11725-how-to-make-speaker-voice-coil-winding-mReference: uiServer: gator3123.hostgator.comSrv. Type: cpanelCreated: Wed Jun 19 11:12:26 2013Acct Type: SharedPlan: BusinessUser: mechanicU. Domain: mechanical-engineering.inEmail: n/aIP: 192.254.229.243 (dedicated)Doc Root: /home2/mechanic/public_htmlShell: /usr/local/cpanel/bin/jailshellCPU Usage: 59.7% (warning)LimitPHP: Limit file exists. (warning)Snapshot 1mechanic 8184 4.1 0.1 430848 58448 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9201 4.6 0.1 420952 48388 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 6.2 0.1 415800 43648 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.8 0.1 411584 38968 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 8.0 0.1 412220 40016 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 8.2 0.0 298904 22984 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 10.0 0.0 294948 18108 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 13.0 0.0 292240 14876 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpSnapshot 2mechanic 8184 4.1 0.1 430848 58448 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9201 4.6 0.1 420952 48388 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 6.3 0.1 416312 44080 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.8 0.1 412348 39892 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 8.0 0.1 412220 40016 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 8.2 0.0 298904 22984 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 10.0 0.0 295976 19088 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 13.5 0.0 292896 16092 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpSnapshot 3mechanic 8184 4.0 0.1 431868 59612 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9201 4.4 0.1 421464 49288 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 5.7 0.1 416312 44080 ? SN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.3 0.1 412348 39892 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 7.0 0.1 412220 40016 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 6.6 0.0 300368 24300 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 7.5 0.0 295976 19088 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 9.0 0.0 292896 16092 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpSnapshot 4mechanic 8184 4.0 0.1 431868 59612 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9201 4.4 0.1 421464 49288 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 5.7 0.1 416568 44508 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.3 0.1 412348 39892 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 7.1 0.1 412736 40736 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 6.6 0.0 300368 24300 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 7.5 0.0 295976 19088 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 9.0 0.0 292896 16092 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpSnapshot 5mechanic 8184 4.0 0.1 431868 59612 ? RN 12:00 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9201 4.4 0.1 421464 49288 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9496 5.7 0.1 416568 44508 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9514 5.4 0.1 412348 39892 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9648 7.1 0.1 412736 40736 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9867 6.6 0.0 300368 24300 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 9968 7.7 0.0 296492 19956 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpmechanic 10034 9.0 0.0 292896 16092 ? RN 12:01 0:00 /usr/bin/php /home2/mechanic/public_html/forum/index.phpCurrent load: 12:01:18 up 35 days, 6:57, 0 users, load average: 0.14, 0.03, 0.01
































































































Link to comment
Share on other sites

The information your host provided isn't very helpful. It's just saying index.php is using a lot of resources. Which tells us approximately nothing. But not much that can be done there.

Third party hooks are probably most often the cause for excessive CPU usage. Especially hooks like the Shoutbox hook, Ajax notifications with now refresh rates, anything that involves making a lot of repeated connections to the server on the clients end.

To start, how many active visitors do you have on average in a 15 minute period? (A rough estimate is fine).

What third party hooks/applications do you have installed (if any)?

Can you provide a link to the site in question?

Edit: Oh my dear god your host is caching pages from logged in members on your forum,

Aside from everything I've said above I'm going to suggest you move to another host as soon as possible and take your site entirely offline, now.

What asinine backwards host out there actually does crap like this? This is a first for me. Wow.

Link to comment
Share on other sites

I'm not sure what help you want. Move out as they suggest. Get a VPS or dedicated server depending on your budget.

What asinine backwards host out there actually does crap like this? This is a first for me. Wow.

Um. Pretty much every shared hosting provider. Though, keeping caches of it is somewhat unique. But if all the EIG servers do this, I guess them alone is enough to make the notion of "unique" non-applicable. They used to just suspend you, so I see this as in improvement.

Link to comment
Share on other sites

Edit: Redacted for the security of the OP.

Seriously Saurabh, I highly suggest you take your site offline immediately and move to a more competent web host. Your host has just severely compromised the security of your entire website right now.

Link to comment
Share on other sites

They have sent me an email saying

***Please note your site(s) are still online in a cached form. However, any further violations will result in your account being suspended****


- Important information on the caching for your account
Your account will be cached for 12 hours, with the cache for your sites updating every 3 hours. This will allow your site to stay online for visitors while you correct the issues causing the problems described below.

Hi Kirito
If you can look there is a stat counter data at the bottom of page

Link to comment
Share on other sites

Edit: Redacted for the security of the OP.

Seriously Saurabh, I highly suggest you take your site offline immediately and move to a more competent web host. Your host has just severely compromised the security of your entire website right now.

I have taken the site in offline mode

---
They have 25 concurrent processes limit which i have been crossed and I think that is the reason
Link to comment
Share on other sites

I mean I suggest removing the domain from your hosting account entirely.

Your site is not actually appearing offline because of whatever "caching" they're using. I can still pretty much browse your site freely under your administrative account right now.

Link to comment
Share on other sites

I will send you a pm with the VPS that we use. If I posted on here about the type of service and the cost, the reaction would be swift that I am crazy to spend that kind of money and 25 people would suggest this or that service in Romania or Istanbul that they get for $5 a month and offers 6 times the capacity ....

Link to comment
Share on other sites

On talking with my current webhost - which vps plan will be better - his reply is
A VPS plan is normally not a good solution for a site that uses high CPU . A Dedicated Server is better for this.

Why high cpu usage ?

Dedi is better than vps, regardless of usage.

Certain applications are extremely unacceptable in vps environments and those are that are disk heavy.

So it really depends on your budget. If your budget is

<$50, vps

>$100, dedi

50~100, questionable... dedi if you can manage it. vps if you need management.

and... don't buy vps/dedi from your current host... Avoid your current parent company, EIG, like the plague. (http://en.wikipedia.org/w/index.php?title=Endurance_International_Group&oldid=601902805 - I linked a history article b/c someone seems to have deleted that section... I wonder who. :rolleyes: )

Best place to shop for hosts is webhostingtalk.com.

Link to comment
Share on other sites

Dedi is better than vps, regardless of usage.

Certain applications are extremely unacceptable in vps environments and those are that are disk heavy.

So it really depends on your budget. If your budget is

<$50, vps

>$100, dedi

50~100, questionable... dedi if you can manage it. vps if you need management.

and... don't buy vps/dedi from your current host... Avoid your current parent company, EIG, like the plague. (http://en.wikipedia.org/w/index.php?title=Endurance_International_Group&oldid=601902805 - I linked a history article b/c someone seems to have deleted that section... I wonder who. :rolleyes: )

Best place to shop for hosts is webhostingtalk.com.

Agreed. Definitely visit WHT or HostDime.com ;)

Good luck in your quest!

Link to comment
Share on other sites

Dedi is better than vps, regardless of usage.

Certain applications are extremely unacceptable in vps environments and those are that are disk heavy.

So it really depends on your budget. If your budget is

<$50, vps

>$100, dedi

50~100, questionable... dedi if you can manage it. vps if you need management.

and... don't buy vps/dedi from your current host... Avoid your current parent company, EIG, like the plague. (http://en.wikipedia.org/w/index.php?title=Endurance_International_Group&oldid=601902805 - I linked a history article b/c someone seems to have deleted that section... I wonder who. :rolleyes: )

Best place to shop for hosts is webhostingtalk.com.

There are also quite a lot of sharks on the web hosting sites :ph34r: As in it all looks good till you have problems.....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...