file upload hangs after some files
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
hi, i've installed gallery 2.0.1, but i got problems when i upload files (>20) via GalleryRemote or Applett. my php.ini settings are: <snip> does anyone of you have an idea what happens? regards, mr.bienzle |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
the upload limits are shown in else: |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
it tells me: i now figured out, that the upload is hanging just before uploaded 90MB amount of data (no matter which pictures i've chosen). ... without success ;( the upload still hangs just before 90M (yes, i've restarted the webserver ;-) any ideas? i appreciate any help. thx! |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
if you're using apache2, there could also be another limit (limitrequestbody in the apache configuration files). |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
i checked this, but the directive is not set. i also tried to set it to: |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
i've installed gallery v1.5.1, now. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
don't use the applet when debugging G2 issues. |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
right before the upload hangs, there is a "java.lang.OutOfMemoryError" and a java.lang.IndexOutOfBoundsException. attached you'll find the log. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
sorry, gotta repeat myself: Quote:
don't use the applet when debugging G2 issues. we want to solve this issue, right? and doing it in combination with Gallery Remote / upload applet only adds complexity to the case. if you want to solve your GR / upload applet issue, you have to discuss it in the Gallery Remote forum. |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
I see. But let me quote my message: Quote:
What worked, is to upload one zipped file (e.g. 178MB),... This means that the issue only appears, if i use Gallery Remote in combination with Gallery v2.0.1 Let me clarify the situation by using a table: !Gallery Version ! kind of Upload ! amount of Data ! status ! Maybe i'll try my luck in the Gallery Remote Forum. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
we can move this topic to the GR forum since it's obviously a GR / G2 problem. "java.lang.OutOfMemoryError" sounds more like a java error of GR, maybe your computer has too few memory, maybe GR has a bug there. |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
by debugging/profiling into the Remote Gallery Application, i've figured out, what the problem is in the end: if you're on a "slow" connection, everything works as expected. but if you are uploading your pictures via a fast connection (i did it via a 100MBit connection), some object (i guess "RespHandlerList" in "StreamDemultiplexor") holds a reference to the Request-Objects for a long time. attached, you'll find a patch that fixes this bug. this patch simply sets the entity data of the Request to null, if it's not needed anymore. Is there anybody who will apply the patch into cvs? I guess there are more people (see http://gallery.menalto.com/node/38888) that are waiting for a bugfix ;-) regards, mr.bienzle |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
Is anybody of the GR Developers reading this Bug? I've sent you a patch (one post above) two month ago, that fixes this Bug and Bug #38777. Would you please be so kind and add this patch to CVS and to the next Release? Thanks! |
|
xaphod2
Joined: 2006-03-30
Posts: 11 |
![]() |
It's MArch 2006, i'm using the current version of Gallery Remote (1.5), and i have this exact problem (well i have the symptoms but don't know how to check for a java error) |
|
mr.bienzle
Joined: 2005-10-21
Posts: 12 |
![]() |
it seems that several people do have that error (this conclusion is supported by my inbox |
|
zawngek
Joined: 2007-05-31
Posts: 8 |
![]() |
It's August 28, 2008. I'm using (the latest) version 1.5.1-b39 of GR. A fix has been suggested, yet the problem still remains. Is Gallery Remote abandoned? IT Gallery Online! |
|
donnieballgame
Joined: 2007-05-14
Posts: 10 |
![]() |
Just wondered if anyone has resolved this issue? Don |
|
donnieballgame
Joined: 2007-05-14
Posts: 10 |
![]() |
sorry, I'm a noob, but how do I apply this patch? Thanks! |
|