From: Alfred Perlstein <bright@wintelcom.net>
To: Mitch Vincent <mitch@venux.net>
Cc: The Hermit Hacker <scrappy@hub.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: [7.0.2] rotating log files ...
Date: Mon, 28 Aug 2000 11:30:30 -0700
Message-ID: <20000828113030.W1209@fw.wintelcom.net> (raw)
In-Reply-To: <00c501c0111d$7e1dcd60$0200000a@doot>
References: <Pine.BSF.4.21.0008281456510.564-100000@thelab.hub.org>
<00c501c0111d$7e1dcd60$0200000a@doot>
* Mitch Vincent <mitch@venux.net> [000828 11:28] wrote:
> Can you move the logfile then touch the original file to create an empty
> one?
>
> *shrug* just an idea :-)
that won't work, the shell has attached the process's stdout/err to
the file, you can even remove the file and the server will still have
an open reference to it and the space won't be reclaimed.
-Alfred
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bright@wintelcom.net, mitch@venux.net, scrappy@hub.org
Subject: Re: [7.0.2] rotating log files ...
In-Reply-To: <20000828113030.W1209@fw.wintelcom.net>
References: <Pine.BSF.4.21.0008281456510.564-100000@thelab.hub.org> <00c501c0111d$7e1dcd60$0200000a@doot> <20000828113030.W1209@fw.wintelcom.net>
* 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