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: Batch upload Problem - CPU Qouta Exceeded  (Read 3008 times)

0 Members and 1 Guest are viewing this topic.

iyf

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Batch upload Problem - CPU Qouta Exceeded
« on: October 24, 2006, 11:19:08 pm »

I have the following issue when trying to perform a batch upload:

This Account Has Exceeded Its CPU Quota 

Please contact this site's webmaster.

Wait a few minutes and use your browser's "Back" button or click here to try again.
--------------------------------------------------------------------------------
If you are the webmaster, your account may have exceeded for one or more of the following reasons:
Your site has used more than 20% of the cpu.
Your account has too many processes running at the same time.
Your site was consuming too many resources. This happens on occassion to very busy sites that have inefficient scripts running.



I contacted hostmonster.com support and they said the script for the batch upload was taking up more than 20% of the cpu and so it suspended my doman.
They said that you guys are pretty good about solving these kinds of issues, so i was hoping you could help me please.

This operation worked fine before I bridged Joomla and Coppermine.  But since after the bridging, I receive this error.

Your help is greatly appreciated in advance.


Coppermine install: http://sjiyf.org/album/
Forum install: http://sjiyf.org/
Coppermine version: cpg1.4.9
Forum version: Joomla v1.0.11
Test user account: test/test (Does not have batch file access though)

BridgeManager settings:
Forum URL:  http://sjiyf.org
Relative path to your BBS's config file:  ../ 
Use post-based groups?:  1 


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch upload Problem - CPU Qouta Exceeded
« Reply #1 on: October 24, 2006, 11:25:11 pm »

Batch-add less pics in one go.
Logged

iyf

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Batch upload Problem - CPU Qouta Exceeded
« Reply #2 on: October 24, 2006, 11:28:19 pm »

The thing is that I was able to batch a bunch of files - even at the most in the 40s... now i can't.  It stops at around 8 files before getting the errror.  If this happens it defeats the purpose of the batch file feature.

Hostmonster said you guys might have an optimizing script that can solve this.

Why after integration would this problem arise?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Batch upload Problem - CPU Qouta Exceeded
« Reply #3 on: October 25, 2006, 07:53:08 am »

This is not integration problem nor coppermine ones

Quote
The thing is that I was able to batch a bunch of files - even at the most in the 40s... now i can't.  It stops at around 8 files before getting the errror.
It means that your host apply new rules (CPU qouta) nearly

Quote
Hostmonster said you guys might have an optimizing script that can solve this.
Coppermine use GD or imagemagick (depends on your setting) to creating thumbnails and intermediate files this part of upload process take CPU resources we can't control it nor optimize it , it's related to GD or Imagemagick
Check your method of resizing and use imagemagick if available it takes less resource intensive than GD
« Last Edit: October 25, 2006, 08:29:05 am by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch upload Problem - CPU Qouta Exceeded
« Reply #4 on: October 25, 2006, 08:24:56 am »

This is not integration problem nor coppermine ones
Moving accordingly.

The thing is that I was able to batch a bunch of files - even at the most in the 40s... now i can't.
As Sami explained: things have changed. Your webhost has changed them. You should batch-resize your pics before uploading them in the first place, this will considerably take the load off of your server (refer to the Batch-resizing pics with Irfan View tutorial). A webserver is mainly designed to serve web pages. There are better places/resources available to do graphics manipulation, e.g. your desktop PC.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 21 queries.