[ckan-dev] temporary files not closed

Harald von Waldow harald.vonwaldow at eawag.ch
Mon Jan 7 17:54:17 UTC 2019


Thanks Tyler, that was it.

Really need to go from 2.7.5 to 2.8 now ...

Best,
Harald


On Mon, 7 Jan 2019 12:33:27 -0500
Tyler Kennedy <tk at tkte.ch> wrote:

> 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
> >>  
> >  



-- 
Harald von Waldow
Eawag
ICT Services
Research Data Management
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch
https://opendata.eawag.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190107/16f49203/attachment-0002.sig>


More information about the ckan-dev mailing list