On Fri, Jul 07, 2017 at 10:34:20PM +0200, Michael Biebl wrote: >... > You create 19 PAM sessions for the postgres user per minute. What > exactly are you doing here?
This morning refreshed my mind :) I completely forget about monitoring of the host yesterday. There was installed plugin for Postgres in CheckMK agent monitoring agent. http://mathias-kettner.com/checkmk.html http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob;f=agents/plugins/mk_postgres;h=1de9b6de2d536b5d254888e6188fa3ec8b64c9bc;hb=HEAD The plugin can be improved the switch to database user will be done only one time per run probably. Nevertheless, is there a possibility in systemd to hide user sessions of this system user? -- Zito