vdev icon indicating copy to clipboard operation
vdev copied to clipboard

Clean up dead event directories automatically

Open jcnelson opened this issue 10 years ago • 2 comments

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 avatar Aug 31 '15 05:08 jcnelson

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

jcnelson avatar Sep 05 '15 22:09 jcnelson

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

fbt avatar Sep 05 '15 22:09 fbt