svn commit: r220168 - head/etc
Edward Tomasz Napierała
trasz at FreeBSD.org
Thu Mar 31 10:05:05 UTC 2011
Wiadomość 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
>>
>> 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?
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?
More information about the svn-src-all
mailing list