File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,11 @@ enabled = True
179179relations=postgres.pg_catalog.pg_class,postgres.pg_catalog.pg_user
180180interval = 60
181181
182+ [memoryleakdiagnostic]
183+ enabled = True
184+ interval = 60
185+ private_anon_mem_threshold = 1GB
186+
182187EOF
183188mamonsu bootstrap -U postgres mamonsu -M mamonsu
184189# #/etc/init.d/mamonsu start
@@ -199,6 +204,7 @@ grep 'pgsql\.uptime' /tmp/localhost.log || exit 7
199204grep ' pgsql\.prepared\.count' /tmp/localhost.log || exit 7
200205grep ' pgsql\.prepared\.oldest' /tmp/localhost.log || exit 7
201206grep ' pgsql\.relation\.size' /tmp/localhost.log || exit 7
207+ grep ' pgsql\.memory_leak_diagnostic\.count_diff' /tmp/localhost.log || exit 7
202208
203209# # error in zabbix server
204210(mamonsu zabbix item error $ZABBIX_CLIENT_HOST | grep ZBX_NOTSUPPORTED) && exit 8
You can’t perform that action at this time.
0 commit comments