[SOLVED] Uploads hang and only partially complete

thehemi

Joined: 2006-07-05
Posts: 2
Posted: Wed, 2009-10-21 15:06

Even when uploading a single image that's less than 1MB, I get this:

How do I troubleshoot what is going on with my Gallery and/or server?

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Red Hat)
Database = mysql 5.0.77, lock.system=flock

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-21 15:43

You need more memory.

FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

32M should be what you have available for G2
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
thehemi

Joined: 2006-07-05
Posts: 2
Posted: Wed, 2009-10-21 15:57

But I'm already setup for 32M of memory...

# cat /etc/php.ini | grep memory_limit
memory_limit = 32M

# ulimit -a | grep memory
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
virtual memory (kbytes, -v) unlimited

OH, it looks like I have an .htaccess overriding the PHP settings.

Resolved. Thanks!