named pipes memory leak?

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Mon, 10 Nov 2003 15:41:57 +0100 (CET)
Hi,

is there a known problem with named pipes in -CURRENT?

The following shell script freezes a machine in several minutes and needs
a power cycle.  You can see the increasing memory in vmstat -z (unpcb) and
netstat -u.  The kernel is FreeBSD 5.1-CURRENT Tue Nov 4 14:08:23 CET 2003.

---8<---
#/bin/sh

FIFO=/tmp/foo

for i in `jot 50000 1`; do
   mkfifo ${FIFO}
   echo blubb > ${FIFO} &
   kill $!
   rm ${FIFO}
done
---8<---

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl_at_univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Received on Mon Nov 10 2003 - 05:42:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC