On Mar 31, 2011, at 2:34 AM, Gavin Atkinson <ga...@freebsd.org> wrote:
> On Wed, 2011-03-30 at 18:35 +0000, Edward Tomasz Napierala wrote: >> Author: trasz >> Date: Wed Mar 30 18:35:02 2011 >> New Revision: 220168 >> URL: http://svn.freebsd.org/changeset/base/220168 >> >> Log: >> Add example devd.conf entry. >> >> + >> +# This example works around a memory leak in PostgreSQL, restarting >> +# it when "user:pgsql:swap:devctl=1G" rctl(8) rule gets triggered. >> +notify 0 { >> + match "system" "RCTL"; >> + match "rule" "user:70:swap:.*"; >> + action "/usr/local/etc/rc.d/postgresql restart" >> +}; >> + >> */ > > This seems like a dangerous rule to have enabled by default? It's commented out (devd.conf supports multiline C-style comments and this was added at the end of the file). Hth, -Garrett_______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"