Site temporary disconnects

jhmac

Joined: 2009-04-18
Posts: 44
Posted: Sat, 2010-02-06 18:56

Hey! It's me again. So I dropped LP and went to a VPS and am in the process of transferring the gallery info over. Figure I'd just do a fresh install of Gallery 2.3.1 and manually upload all the pics. Here's the issue I've hit several times so far. There have been 3 instances of uploading pics to albums only to run into the error that some of the pics are too big (which i can adjust beforehand to deal with that issue) but when I go to look at the album itself it shows the broken thumbnails of the pics that failed to upload then dc's the site for about 10 minutes. This happens only when I look at the album with the failed upload. I wind up deleting the entire album and redoing the upload. Today I was tinkering with the mediablock and was using the updates album which still contains the albums that i deleted and causes the site to disconnect again.

looking at the error log I see the error causing the problem (or at least I assume so)

Quote:
[Sat Feb 06 18:41:01 2010] [error] [client 71.56.183.243] sh: line 1: 16366 Terminated ( "/usr/bin/composite" "-quality" "75" "-geometry" "+12+2925" "/home/rocks26/public_html/rrgallery/g2data/plugins_data/modules/watermark/watermark_png" "/home/rocks26/public_html/rrgallery/g2data/albums/Sports/rcssc/rcsscspringbroom09/broom42209/4_22_09 RCSSC Broomball _99_.JPG" "jpg:/home/rocks26/public_html/rrgallery/g2data/tmp/imgk_1GLWDw" ) 2> "/home/rocks26/public_html/rrgallery/g2data/tmp/g2dbgPGetL2", referer: http://www.rockstarrated.com/rrgallery/main.php?g2_view=dynamicalbum.UpdatesAlbum
[Sat Feb 06 18:40:58 2010] [error] [client 71.56.183.243] sh: line 1: 16363 Terminated ( "/usr/bin/composite" "-quality" "75" "-geometry" "+15+3734" "/home/rocks26/public_html/rrgallery/g2data/plugins_data/modules/watermark/watermark_png" "/home/rocks26/public_html/rrgallery/g2data/albums/Sports/rcssc/rcsscspringbroom09/broom42209/4_22_09 RCSSC Broomball _97_.JPG" "jpg:/home/rocks26/public_html/rrgallery/g2data/tmp/imgk_OHiFDw" ) 2> "/home/rocks26/public_html/rrgallery/g2data/tmp/g2dbgzdKcL2", referer: http://www.rockstarrated.com/rrgallery/main.php?g2_view=dynamicalbum.UpdatesAlbum

Any ideas on what exactly is happening? Is it the resize issue before uploading causing all of this?

Gallery URL = http://www.rockstarrated.com/rrgallery/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.10 cgi-fcgi
Webserver = Apache
Database = mysqli 5.0.81-community, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, Gd, SquareThumb
Acceleration = partial/900, partial/900
Operating system = Linux server.richmondrockstarrated.com 2.6.18-028stab059.6-ent #1 SMP Fri Nov 14 15:51:43 MSK 2008 i686

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-02-07 08:11

Sounds like there may be some adjusting you need to do on the server.

What version of ImageMagick do you have installed on the server? I'd also just go ahead and uninstall GD, you won't be needing that :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Fri, 2010-02-19 08:01
Quote:
What version of ImageMagick do you have installed on the server?

I assume the version is up to date. Just to be sure I sent in a ticket to confirm.

EDIT: Got the ticket back....We're running the latest release of ImageMagick (version 6.5.9-8).

I went ahead and uninstalled ArchiveUpload, Exif,and Gd

When i go to an album some of the thumbs appear and others do not. It's only when I refresh the page that the other thumbs start appearing. When a thumb appears with the broken icon inside (the torn paper) is when the site goes down. The error file pretty much contains the same things:

Quote:
[Thu Feb 18 22:15:50 2010] [error] [client 71.56.183.243] sh: line 1: 32473 Terminated ( "/usr/bin/convert" "-quality" "75" "-crop" "2592x2592+640+0" "/home/rocks26/public_html/rrgallery/g2data/albums/Sports/rcssc/rcsscspringbroom09/broom042209/4_22_09 RCSSC Broomball _105_.JPG" "jpg:/home/rocks26/public_html/rrgallery/g2data/tmp/imgk_nGHJV5" ) 2> "/home/rocks26/public_html/rrgallery/g2data/tmp/g2dbgkpvBlQ", referer: http://www.rockstarrated.com/rrgallery/main.php?g2_itemId=31555

[Thu Feb 18 22:15:44 2010] [error] [client 71.56.183.243] sh: line 1: 32383 Terminated ( "/usr/bin/composite" "-quality" "75" "-geometry" "+31+3041" "/home/rocks26/public_html/rrgallery/g2data/plugins_data/modules/watermark/rr_rcssc_water_png" "/home/rocks26/public_html/rrgallery/g2data/albums/Sports/rcssc/rcsscspringbroom09/broom042209/4_22_09 RCSSC Broomball _101_.JPG" "jpg:/home/rocks26/public_html/rrgallery/g2data/tmp/imgk_DrRngg" ) 2> "/home/rocks26/public_html/rrgallery/g2data/tmp/g2dbgDfaRrR", referer: http://www.rockstarrated.com/rrgallery/main.php?g2_itemId=31555

[Thu Feb 18 21:43:03 2010] [error] [client 66.249.65.114] File does not exist: /home/rocks26/public_html/404.shtml

[Thu Feb 18 21:43:03 2010] [error] [client 66.249.65.114] File does not exist: /home/rocks26/public_html/robots.txt

[Thu Feb 18 21:27:04 2010] [error] [client 71.56.183.243] sh: line 1: 19537 Terminated ( "/usr/bin/convert" "-quality" "75" "-crop" "2592x2592+640+0" "/home/rocks26/public_html/rrgallery/g2data/albums/Sports/rcssc/rcsscspringbroom09/broom042909/RCSSC Broomball Playoffs 04_29 _105_.JPG" "jpg:/home/rocks26/public_html/rrgallery/g2data/tmp/imgk_qBe7oM" ) 2> "/home/rocks26/public_html/rrgallery/g2data/tmp/g2dbgf3JIRf", referer: http://www.rockstarrated.com/rrgallery/main.php?g2_itemId=31554

phpinfo file: http://www.rockstarrated.com/rrgallery/phpinfo.php

Gallery info:

Quote:
Gallery URL = http://www.rockstarrated.com/rrgallery/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.10 cgi-fcgi
Webserver = Apache
Database = mysqli 5.0.81-community, lock.system=database
Toolkits = ImageMagick, SquareThumb
Acceleration = partial/3600, partial/3600
Operating system = Linux server.richmondrockstarrated.com 2.6.18-028stab059.6-ent #1 SMP Fri Nov 14 15:51:43 MSK 2008 i686
Default theme = rockstar
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Rows in GalleryAccessMap table = 55
Rows in GalleryAccessSubscriberMap table = 16407
Rows in GalleryUser table = 4
Rows in GalleryItem table = 16404
Rows in GalleryAlbumItem table = 141
Rows in GalleryCacheMap table = 94

Still at a loss on what is causing this. Any other info needed from me just ask and I will give. Thanks for your time again :\

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Sun, 2010-02-21 17:27

Any ideas on what might be causing the crash? I went ahead and uninstalled any plugins I didn't need, added a php.ini file to the gallery directory to up the upload size and rebuilt the thumbs again. Now for some reason when the thumbs don't show up at first(without the broken thumb image) I have to refresh the page 2-3 times to get them to load. When I do encounter a broken thumb image, the site goes down. Any further information I can provide, please let me know as well as any server info I should be looking at.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-02-22 18:31

Above you said you're using file locking but in the last details you posted you're using database locking.

Try uninstalling the SquareThumb module to see if that extra processing is hanging things up.

You said you're on a VPS, but you had to submit a ticket to get some information? Are you not root on the system?

Put Gallery into debug mode and try to upload some photos. Copy and paste that debug output (from the main page, NOT the Smarty debug popup) into a text file, zip and attach here.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Tue, 2010-02-23 05:16

I assume I am the root. First time with a VPS so still learning the options I have at hand.

They did say I had the latest version of IM but looking at the modules I have installed I actually have version 6.5.4 and not 6.5.9. Last host did have 6.5.9 and I had no issues with the photos since implementing IM on the old site. I did request that they update their version on the server so we'll see what they say. I'll keep the post updated once I get word.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-02-23 06:21

If you're root, just install it yourself :) That's the power of a VPS.

Don't know which distro is running on there, but if it's Debian (this may work out of the box on Ubunut):

aptitude update && aptitude safe-upgrade

Will check for new updates and install them for all installed packages on the server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jhmac

Joined: 2009-04-18
Posts: 44
Posted: Wed, 2010-02-24 23:49

I did wind up upgrading Imagemagick to the latest version. I believe I have CentosOS if that's what you mean by the distro. Still getting used to the VPS stuff. The site disconnects seem to have ceased. Now my trouble is the imagemagick plugin so since it's a different topic I'm going to post it in a new thread.

New thread: http://gallery.menalto.com/node/94608