Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: rolling over high-traffic logfiles?
- X-seq: zsh-users 1676
- From: Zefram <zefram@xxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: rolling over high-traffic logfiles?
- Date: Thu, 16 Jul 1998 09:36:43 +0100 (BST)
- Cc: sweth@xxxxxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <980715220851.ZM13527@xxxxxxxxxxxxxxxxxxxxxxx> from "Bart Schaefer" at Jul 15, 98 10:08:51 pm
Bart Schaefer wrote:
>There's still a race condition where some process could attempt to write
>to extlog during the execution of "mv", that is, between unlinking the
>old extlog and renaming extlog.new to extlog.
mv should use rename() to atomically replace the log file, in which case
there is no race condition.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author