mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Mention Linux syslog will sync lines to disk, and describe how to
disable it.
This commit is contained in:
parent
e8c3205037
commit
10afaf472a
2
doc/TODO
2
doc/TODO
@ -1,6 +1,6 @@
|
|||||||
TODO list for PostgreSQL
|
TODO list for PostgreSQL
|
||||||
========================
|
========================
|
||||||
Last updated: Sat Mar 13 18:17:39 EST 2004
|
Last updated: Mon Mar 15 09:06:53 EST 2004
|
||||||
|
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.30 2003/12/14 00:10:32 neilc Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.31 2004/03/15 14:15:45 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="maintenance">
|
<chapter id="maintenance">
|
||||||
@ -464,13 +464,19 @@ VACUUM
|
|||||||
rotation, the <application>logrotate</application> program can be
|
rotation, the <application>logrotate</application> program can be
|
||||||
configured to work with log files from
|
configured to work with log files from
|
||||||
<application>syslog</application>.
|
<application>syslog</application>.
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
On many systems, however, <application>syslog</> is not very reliable, particularly
|
On many systems, however, <application>syslog</> is not very reliable,
|
||||||
with large log messages; it may truncate or drop messages just when
|
particularly with large log messages; it may truncate or drop messages
|
||||||
you need them the most. You may find it more useful to pipe the
|
just when you need them the most. Also, on <productname>linux</>,
|
||||||
|
<appication>syslog</> will sync each message to disk, yielding poor
|
||||||
|
performance. Use a <literal>-</> at the start of the file name
|
||||||
|
in the <application>syslog</> config file to disable this behavior.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
You may find it more useful to pipe the
|
||||||
<systemitem>stderr</> of the <command>postmaster</> to some type of
|
<systemitem>stderr</> of the <command>postmaster</> to some type of
|
||||||
log rotation program. If you start the server with
|
log rotation program. If you start the server with
|
||||||
<command>pg_ctl</>, then the <systemitem>stderr</> of the <command>postmaster</command>
|
<command>pg_ctl</>, then the <systemitem>stderr</> of the <command>postmaster</command>
|
||||||
|
Loading…
Reference in New Issue
Block a user