svn commit: r220168 - head/etc
Garrett Cooper
yanegomi at gmail.com
Thu Mar 31 10:05:27 UTC 2011
On Mar 31, 2011, at 2:34 AM, Gavin Atkinson <gavin at 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
More information about the svn-src-all
mailing list