From: Bruce Momjian <bruce@momjian.us>
To: Svensson Peter <peter.svensson@smhi.se>
Cc: Joe Conway <mail@joeconway.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: SV: pgaudit and create postgis extension logs a lot inserts
Date: Tue, 30 Jan 2018 10:26:29 -0500
Message-ID: <20180130152629.GE31052@momjian.us> (raw)
In-Reply-To: <1CC6B04B8F153C4CBE486B1C7FD897430269E5D2EB@WINVMSERV464.ad.smhi.se>
References: <1CC6B04B8F153C4CBE486B1C7FD897430269E49962@WINVMSERV463.ad.smhi.se>
<514a9172-df28-56ab-ee65-2c01e5cbeb6a@joeconway.com>
<1CC6B04B8F153C4CBE486B1C7FD897430269E5D2EB@WINVMSERV464.ad.smhi.se>
On Fri, Jan 19, 2018 at 11:03:42AM +0000, Svensson Peter wrote:
>
> A test to create postgis extension made 4 rsyslog processes run for several minutes with high cpu util,
> and when you have only 8 cpu:s this take lot of resources.
> The create command also have to wait until all the log are written so there are great impact.
> Log file got 16 GB big only for this.
Uh, that seems odd. Is rsyslog fsync'ing each write? You should check
the docs on that. Here is an example report:
http://kb.monitorware.com/simple-question-what-does-the-dash-t10237.html
I don't see the dash behavior mentioned in my Debian Jessie rsyslogd
manual page though.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bruce@momjian.us, peter.svensson@smhi.se, mail@joeconway.com
Subject: Re: SV: pgaudit and create postgis extension logs a lot inserts
In-Reply-To: <20180130152629.GE31052@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox