Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Advice needed - Hosting canceled due to resource abuse  (Read 3914 times)

0 Members and 1 Guest are viewing this topic.

flowmo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Advice needed - Hosting canceled due to resource abuse
« on: September 21, 2007, 11:08:19 pm »

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
« Last Edit: September 26, 2007, 08:08:36 am by GauGau »
Logged

flowmo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #1 on: September 21, 2007, 11:11:30 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #2 on: September 22, 2007, 11:55:13 am »

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

congobongo

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #3 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....

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #4 on: September 25, 2007, 06:19:29 pm »

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.
Logged

flowmo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #5 on: September 25, 2007, 08:30:46 pm »

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

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....


Logged

flowmo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Advice needed - Hosting canceled due to resource abuse
« Reply #6 on: September 26, 2007, 05:24:00 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.