Import from local server folder fails..

timgman

Joined: 2008-11-11
Posts: 5
Posted: Thu, 2009-01-08 15:35

I've been attempting to use gallery2 for my photo album for some time with mixed results. (pertaining to bulk upload from local server)

Here are the details

Server Ibm 3.0 ghz 2000 ram ubuntu 6.06 lts
gallery2 current version from site (not apt-get)
module enabled for "upload from local"

graphic toolset used has been imagemagic and gd with same results..

Here's the clincher.. my gallery is about 10 or so gigs.
I've modified my php.ini for larger ram usage with mixed results. I've had it set to 512 mb and made it through 1/2 of my album.

In general I have the import page hang and it looks as though I've used all my ram or some other issue.

I've had this crash my whole server (not a huge issue just restarting apache and mysql generally resoilved this)

so here are my questions

1 Is my library simply too large?
2 Is gallery2 supposed to use ass my php.ini ram and not free it?
3 will I ever be able to impor tall these photos?
4 what do I need to do to have this work..

timg

 
timgman

Joined: 2008-11-11
Posts: 5
Posted: Fri, 2009-01-09 15:23

Just as a FYI to other users.
I've installed ubuntu 8.10 server (intrepid) on a test system with about the same specs as my 6.06 lts server... it imports ALL my images using the imagemagick kit and has no issues... I did need to temporarily inclease my alloted ram under /etc/php5/apache/php.ini to a high level... 1.6 gigs... yeas it did FAIL if it was at 256 mb much less 16-32 mb...
I will put it back when not importing...
just a FYI to others running up against the same type thing.
I'm not certain if it's mysql v5 vs 4.x or what but it works on 8.10... I don't have the free time to break apart every component but anyone request me to do so I'll make the time...

timg

 
timgman

Joined: 2008-11-11
Posts: 5
Posted: Fri, 2009-01-16 14:06

I think the errors were all about disk IO.. sata would work .... ata faied .. test after test... if you create a php.ini with a bloated config (huge alloted times for timeout and tons of ram allocates with huge cache size and huge max file size allowed.. it works... and fretty fast.. like 1 hour for 16500 pics.. high res pics at that...
thans
timg