[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    Re: [Gallery-devel] Alert GMC forums down
From:       Bharat Mediratta <bharat () menalto ! com>
Date:       2010-12-19 2:17:31
Message-ID: 4D0D6B3B.5060008 () menalto ! com
[Download RAW message or body]


I've found the culprit and resolved it.  It turns out when you visit 
http://codex.gallery2.org/Special:NewFiles it tries to create thumbnails 
for existing images and the memory limits were set too low for 
ImageMagick to complete successfully.

As an aside, it was a real pain to backtrack this.  The way I did it was 
to write a Python script to use inotify to notice when a new file was 
created in temp, then take a snapshot of ps and the Apache server 
status.  This let me figure out the exact ImageMagick being run, the 
individual apache2 process that was calling it, and the URL that the 
apache2 process was handling at the time.

-Bharat

On 12/17/2010 2:33 PM, Bharat Mediratta wrote:
>
> /tmp is (was) full of imagemagick temporary files again.  Trying to
> figure out where they're coming from.  I've turned off the OCRtext
> plugin to SpamAssassin to see if that's the culprit.
>
> On 12/17/2010 2:29 PM, Kevin Nehls wrote:
>> The site is up.  The forums are down.  I'm wondering if /tmp is full again.
>>
>> Kevin
>>
>> On Fri, Dec 17, 2010 at 2:26 PM, Donald Webster<fryfrog@gmail.com
>> <mailto:fryfrog@gmail.com>>  wrote:
>>
>>      Works for me.
>>
>>      http://www.downforeveryoneorjustme.com/http://gallery.menalto.com/tracker
>>
>>      Says its up too.
>>
>>      AIM: fryfrog
>>      WWW: http://www.fryfrog.com

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic