Date: Thu, 31 Mar 2011 11:42:35 +0200 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org> To: Gavin Atkinson <gavin@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r220168 - head/etc Message-ID: <B2FD7C4B-3256-475C-853F-151BBE206CA8@FreeBSD.org> In-Reply-To: <1301564092.37476.1.camel@buffy.york.ac.uk> References: <201103301835.p2UIZ2O8071886@svn.freebsd.org> <1301564092.37476.1.camel@buffy.york.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=B6=E6 napisana przez Gavin Atkinson w dniu 2011-03-31, o godz. = 11:34: > 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 >>=20 >> Log: >> Add example devd.conf entry. >>=20 >> + >> +# This example works around a memory leak in PostgreSQL, restarting >> +# it when "user:pgsql:swap:devctl=3D1G" rctl(8) rule gets triggered. >> +notify 0 { >> + match "system" "RCTL"; >> + match "rule" "user:70:swap:.*"; >> + action "/usr/local/etc/rc.d/postgresql restart" >> +}; >> + >> */ >=20 > This seems like a dangerous rule to have enabled by default? Yes. Note, however, the "*/" in the last line above - the whole block is commented out. -- If you cut off my head, what would I say? Me and my head, or me and my = body?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2FD7C4B-3256-475C-853F-151BBE206CA8>