Resource Expectations for G2 RE: Connection Resets

MjrNuT

Joined: 2009-09-12
Posts: 11
Posted: Wed, 2009-10-07 21:37

Hello,

I have been experiencing connection resets for my G2.3 installation. It occurs when viewing photos normally, browsing, and at times when I'm adding from Local Server.

I have sizes ranging from 2MB to 11MB (2 MP to 15 MP). I enabled the resize plugin for max image size to be 1024x1024.

Sometimes I can add ~100 photos, other times I have to do 10-20 at a time.

I have checked my phpinfo and it appears max size limits are high enough.

Here is my current G2 Specs.

Quote:
Gallery URL = http://www.molimbocafe.com/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.11 litespeed
Webserver = LiteSpeed
Database = mysqli 5.0.81-community, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, Thumbnail, SquareThumb
Acceleration = full/900, partial/900
Operating system = Linux atlantis.supportedns.com 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Rows in GalleryAccessMap table = 24
Rows in GalleryAccessSubscriberMap table = 652
Rows in GalleryUser table = 13
Rows in GalleryItem table = 650
Rows in GalleryAlbumItem table = 13
Rows in GalleryCacheMap table = 407

Basically, I'm looking for the proper expectations of my G2 usage relative to my shared server environment. I know G2 is a pretty big glut, however, it's acceptable given its features. I hope my solicitation makes sense. And yes, I have put in a support ticket regarding this w/ my host. There was no immediate identification of the issue, thus logs are going to be looked at and when I experience a timeout again, I'll submit again for some correlation. It is thought that maybe Lightspeed as an issue.

I thought I'd ask here what people might say I need to keep in mind in terms of configuration and such for subject hosting setup.

Thanks in advance and don't hesitate to ask for more information.

 
MjrNuT

Joined: 2009-09-12
Posts: 11
Posted: Thu, 2009-10-22 19:09

errrr...wow.

is what I'm asking too ambiguous?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 08:58
Quote:
is what I'm asking too ambiguous?

Yes :)

Quote:
It is thought that maybe Lightspeed as an issue

Possibly, I never even heard of that web server until someone else was having an issue with Gallery3. That is quite likely the source of your other issue
http://gallery.menalto.com/node/91185

I've never had problems uploading 100s of images on my shared host, but I'd also NEVER upload images that large in large quantities. On a shared host, since you are sharing resources, I always my images before uploading if I'm uploading a lot of images. And since you are having Gallery do that, why not reduce the work load on the server and do that before uploading? I use Irfanview to batch resize images. There's many other programs for doing just that.

If you are sometimes able to upload ~100 photos and sometimes 10-20, I'd say you're hitting server resource limits and the script is being killed.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here