[ckan-dev] Issue with ckan.net due to 'No space left on device error'

David Read david.read at okfn.org
Tue Jun 21 21:30:20 UTC 2011


On 21 June 2011 22:20, Rufus Pollock <rufus.pollock at okfn.org> wrote:
> We encountered an issue with ckan.net this evening around 2030 UK time
> due to errors of form:
>
> 'No space left on device'
>
> Investigation turned up fact that we were using 100% of inodes on the device:
>
> <http://munin.okfn.org/okfn.org/eu7.okfn.org-df_inode.html>
>
> We believe this is due to saving of beaker sessions to disk and never
> deleting. See:

Yes 99% inodes were taken up by files in ckan.net/data/sessions/
I've just deleted these and it is now back up after down time of 2 to 3 hours.

David

>
> <http://beaker.groovie.org/sessions.html#removing-expired-old-sessions>
>
> As that suggests we should probably have a cron job doing:
>
> find . -mtime +3 -exec rm {} \;
>
> Rufus
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>




More information about the ckan-dev mailing list