[gollem] file not found

Jan Schneider jan at horde.org
Tue Mar 19 11:00:17 UTC 2013


Zitat von Jānis <je at ktf.rtu.lv>:

> Citēts Jan Schneider <jan at horde.org>
> Mon, 18 Mar 2013 14:36:47 +0100:
>
>> Zitat von Jānis <je at ktf.rtu.lv>:
>>
>>> Hi!
>>>
>>> I met a problem with gollem's ability to ensure file download from  
>>> server - I use ssh2 backend and browsing files works well, but if  
>>> i try to download any file (i tried files larger than 20 MB) i get  
>>> error message "file not found" and message in error log:
>>>
>>> [Sun Mar 17 22:19:43.044589 2013] [:error] [pid 1724:tid  
>>> 140138499778304] [client IP:38047] PHP Fatal error
>>> :  Allowed memory size of 67108864 bytes exhausted (tried to  
>>> allocate 24422666 bytes) in Unknown on line 0, referer:  
>>> https://server/gollem/
>>>
>>> does it need to preload file into memory for download?
>>
>> No, it reads the file in 8KB chunks directly from the ssh stream.
>
> so, what then causes the mentioned behaviour? The root of a problem  
> lies with the size of the file, but if gollem works as you write,  
> what tries to allocate the memory and for what purpose?
>
> Janis

No idea, and the error message doesn't provide a code location either.  
Which indicates that this might happen  in a shutdown function or an  
object destructor.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the gollem mailing list