aboutsummaryrefslogtreecommitdiffstats

svcmon

Parts of daemontools reimplemented for FreeBSD with kqueue and subreapers.

Why subreapers?

Subreapers let us make sure we don't leave any rouge sub processes when we have to restart the daemon.

Why kqueue?

By using kqueue for signalhandling and checking if filedescriptors are ready svcscan and svcsupervise can spend most of it's time blocking instead of waking up every few seconds.