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

Rufus Pollock rufus.pollock at okfn.org
Tue Jun 21 21:20:13 UTC 2011


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:

<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




More information about the ckan-dev mailing list