03-05-05 12:47 PM
Hello,
Using Linux syslog, I have the possibility to write the output to a pipe.
I then can read this pipe from a program.
My question is, what happens when there is no one reading from the pipe.
Informal testing shows that when I write to the pipe myself, it stalls
until the pipe is read. Yet syslog seems to be chucking along. Does it set
some flags on the pipe? Does it increase the buffer?
The main point is, even though it seems to work, syslogging to
files/remote servers continues even when the pipe is not read, would it
stall syslogging in the longer run? So how safe is it to use this feature?
TIA,
M4
--
Redundancy is a great way to introduce more single points of failure.
[ Post a follow-up to this message ]
|