jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

Clean up dead event directories automatically #60

Open jcnelson opened 9 years ago

jcnelson commented 9 years ago

We're going to run out of space on /dev/events and /dev/metadata/udev/events if we run for too long, since a process can die without cleaning itself up. We'll need to either use runfs directly, create eventfs from runfs (optimized for deque-like access patterns; see [1]), or create a "reaper" process that runs every X minutes to clean up dead event directories.

[1] http://comments.gmane.org/gmane.linux.devuan.devel/2888

jcnelson commented 9 years ago

See https://github.com/jcnelson/eventfs. Currently a WIP, but will be suitable once ready.

fbt commented 9 years ago

Wow. eventfs looks really cool. Got nothing constructive to contribute, just wanted to say that.