Advice needed - Hosting canceled due to resource abuse Advice needed - Hosting canceled due to resource abuse
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Advice needed - Hosting canceled due to resource abuse

Started by flowmo, September 21, 2007, 11:08:19 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

flowmo

My hosting account was suspended due to "resource abuse" (using more than 25% cpu for more than 90 seconds)

Anyways, I just redesigned the site and I'm afraid some of the stuff may not be running properly... I'm probably going to want to hire someone from here to look over the code and write down where they see horrible coding that's causing extra resources to be used... Than either fix the mistakes myself or re-hire same person to fix the coding. If anyone might be interested, give me a shout.

I'm ordering a dedicated server for this site tonight, so I don't have to put it on my shared hosting or VPS.

They sent me this "log" as explanation for the suspension:
4081 S www.mysite.com    100.00%   0.02s GET /albums/userpics/10273/thumb_
13432 S www.mysite.com    100.00%   0.02s GET /albums/userpics/10001/117229
12268 S www.mysite.com    100.00%   0.02s GET /albums/userpics/11520/thumb_
9567 S www.mysite.com    100.00%   0.02s GET /albums/userpics/10790/thumb_
5398 S www.mysite.com    100.00%   0.02s GET /albums/userpics/11184/thumb_
26988 S www.mysite.com     50.00%   0.02s GET /albums/userpics/11520/thumb_
3831 S forum.mysite.com   50.00%   0.02s GET /templates/emo22/images/files
15980 S www.mysite.com     50.00%   0.02s GET /albums/userpics/11165/thumb_
3610 S www.mysite.com     50.00%   0.02s GET /albums/userpics/10762/thumb_
8740 S www.mysite.com     50.00%   0.02s GET /albums/userpics/10056/thumb_
14291 R www.mysite.com     14.29%   0.14s GET /albums/userpics/10004/thumb_
17041 S forum.mysite.com   12.50%   0.08s GET /login.php?redirect=/ HTTP/1.
2509 S www.mysite.com      8.33%   0.12s GET /login.php HTTP/1.1
1822 S www.mysite.com      6.67%   0.15s GET /albums/userpics/10016/thumb_
26267 S forum.mysite.com    5.26%   0.19s GET /profile.php?mode=editprofile
32509 S www.mysite.com      5.00%   0.40s GET /albums/userpics/10001/thumb_
16371 S www.mysite.com      4.76%   0.21s GET /albums/userpics/10079/thumb_
28778 S www.mysite.com      2.86%   0.70s GET /albums/userpics/11234/321118
3224 S forum.mysite.com    2.78%   0.36s GET /templates/emo22/images/logo.
28584 S www.mysite.com      1.82%   0.55s GET /albums/userpics/10431/normal
24398 S www.mysite.com      1.71%   1.17s GET /albums/userpics/10001/gh10.j
5198 S www.mysite.com      1.64%   1.22s GET /albums/userpics/10001/thumb_
6228 S www.mysite.com      1.53%   1.31s GET /albums/userpics/10111/normal
32349 S www.mysite.com      1.35%   1.48s GET /albums/userpics/10001/thumb_
4473 S www.mysite.com      0.61%   1.63s GET /albums/userpics/10001/emobg4
15945 R www.mysite.com      0.49%   2.06s GET /albums/userpics/11463/thumb_
8980 R www.mysite.com      0.00%   1.26s GET /displayimage-16-34.html HTTP
25709 S www.mysite.com      0.00%   1.19s GET /addfav.php?pid=4290 HTTP/1.0
12613 S www.mysite.com      0.00%   0.80s GET /displayimage-2-153.html HTTP
25915 R www.mysite.com      0.00%   0.48s GET /displayimage-16-14.html HTTP
7658 S www.mysite.com      0.00%   0.27s GET /displayimage-16-24.html HTTP
17280 S www.mysite.com      0.00%   0.01s GET /themes/newemo2/images/forgot
23386 S forum.mysite.com    0.00%   0.01s GET /templates/emo22/images/mybuc
19240 S www.mysite.com      0.00%   0.01s GET /albums/userpics/10901/thumb_
27377 S www.mysite.com      0.00%   0.01s GET /themes/newemo2/images/popula
9596 S www.mysite.com      0.00%   0.01s GET /albums/userpics/10016/thumb_
20589 S www.mysite.com      0.00%   0.01s GET /albums/userpics/10016/thumb_
   39 S www.mysite.com      0.00%   0.01s GET /albums/userpics/11230/thumb_
8604 S www.mysite.com      0.00%   0.01s GET /themes/newemo2/images/commun
21697 S www.mysite.com      0.00%   0.01s GET /albums/userpics/10016/thumb_
24743 S www.mysite.com      0.00%   0.01s GET /albums/userpics/10867/thumb_
23236 S forum.mysite.com    0.00%   0.00s GET /templates/emo22/images/%7BLA

can someone explain what that means a little better? not sure what the numbers in the far left column are

flowmo

mysite.com being ****ucket.com

**** = "emob"

Talked to my host, and they said if I replaced homepage with a plain text file they would reactivate, but I'm guessing by tonight I'll be suspended again, and the planet needs 24-72 hours before my dedicated can be ready

Joachim Müller

Are you by chance using on-the-fly watermarking? If yes, then that's the culprit.

congobongo

funny, actually it's not... but i'm having the exact same problem with my host and they sent me the same kind of log as you; and neither do i understand exactly what thoes numbers mean....

i was using another gallery script for my album, so i'm looking at coppermine to see if it would be better but thankfully i found your post and it tells me that no, my host is not good enough for coppermine either....

i find that what "kills" the recources is the generation of thumbnails, especially when i have them all around in my forum....


Joachim Müller

Please post details - preferably a link to your gallery (if it is still up). Another resource hog that comes to mind is the recording of stat details: turn it off in coppermine's config.

flowmo

this makes me believe it has something to do with cpmfetch as I also serve images from the gallery in my forum.. once I can get coppermine to work again I'll have to check that out

Quote from: congobongo on September 25, 2007, 04:08:36 PM
funny, actually it's not... but i'm having the exact same problem with my host and they sent me the same kind of log as you; and neither do i understand exactly what thoes numbers mean....

i was using another gallery script for my album, so i'm looking at coppermine to see if it would be better but thankfully i found your post and it tells me that no, my host is not good enough for coppermine either....

i find that what "kills" the recources is the generation of thumbnails, especially when i have them all around in my forum....



flowmo

Guys... This might help some of you in the future...

I don't believe there was an actual resource usage issue. I think my previous host, hostgator, was overselling their servers and decided to cancel my account to due to bandwidth and hard disk usage..

The lesson here is that as most people already know, HostGator oversells.. Unless your running wordpress powered MFA (made for adsense) sites, than you might want to consider moving when your gallery starts growing.