leaky pipes?

From: Eiler, James A. <James.Eiler_at_alcoa.com>
Date: Fri, 30 Oct 1998 15:43:00 -0500

Dear Gurus,

Has anyone heard of any problems piping output through various processes
and losing data?

We're running dunix 4.0d with no patches. We've got a process named dwmsfg
that forks and exec's all of our other processes. dwmsfg is started from a
ksh shell script that contains the following:

nohup dwmsfg 2>&1 | timestamp.sh | tee -a ywm.log /dev/console
console.log&

All output (stdout and stderr) from dwmsfg and all of its children is piped
through timestamp.sh and then through tee (redundant). timestamp.sh is a
ksh shell script that prefixes all input with the current time and date and
then prints the entire string. tee just does what tee is supposed to
do.....

A couple of days ago the system was rebooted and we subsequently noticed
that not all of the messages from dwmsfg and its children were making it to
the log files. Some are and some are not.

We (believe we) haven't made any changes to the system - other than
swapping out a faulty memory SIMM before rebooting.

Any help would be appreciated!

Jim Eiler
Received on Fri Oct 30 1998 - 20:42:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT