[ckan-dev] temporary files not closed

Tyler Kennedy tk at tkte.ch
Mon Jan 7 17:33:27 UTC 2019


Specifically, this commit:
https://github.com/ckan/ckan/commit/3db9e0d49af5593fadde481bda1a586b47b2f45a#diff-1eb2191ad4bcc8a161f5a9d0b47c1376

On Mon, Jan 7, 2019, 12:29 Tyler Kennedy <tk at tkte.ch wrote:

> Are you running an old version of CKAN? A similar/identical issue was
> resolved awhile ago.
>
> On Mon, Jan 7, 2019, 12:21 Harald von Waldow <harald.vonwaldow at eawag.ch
> wrote:
>
>> Dear Experts
>>
>> After uploading large files I run out of space because correspondingly
>> large files are created in /tmp. These files are actually deleted but
>> the filesystem doesn't release the space because they have not been
>> closed by Ckan.
>>
>> Restarting apache is a workaround.
>>
>> It looks like that:
>>
>> root at eaw-ckan-prod1:~# lsof +L1
>> COMMAND   PID     USER   FD   TYPE DEVICE    SIZE/OFF NLINK    NODE NAME
>> ....
>> apache2 10600 www-data   19u   REG  254,0 10000000835     0 2883594
>> /tmp/tmplcJxsE (deleted)
>> apache2 10600 www-data   20u   REG  254,0 10000000000     0 2883595
>> /tmp/tmpQ_XJlu (deleted)
>> ....
>>
>>
>> Does anybody have an idea where to look for that bug?
>>
>>
>> Cheers,
>> Harald
>>
>> --
>> Harald von Waldow
>> Eawag
>> ICT Services
>> Research Data Management
>> Ueberlandstrasse 133
>> 8600 Duebendorf
>> http://www.eawag.ch
>> https://opendata.eawag.ch
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190107/53a61092/attachment-0002.html>


More information about the ckan-dev mailing list