svn commit: r220168 - head/etc
Gavin Atkinson
gavin at FreeBSD.org
Thu Mar 31 09:34:56 UTC 2011
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?
Gavin
--
Gavin Atkinson
FreeBSD committer and bugmeister
GPG: A093262B (313A A79F 697D 3A5C 216A EDF5 935D EF44 A093 262B)
More information about the svn-src-all
mailing list