FG
💻 Software

How long do FIFOs (named pipes) stay "open" for?

Fresh5 days ago
Mar 15, 20264494 views
Confidence Score0%
0%

Problem

For example, I have a script that writes the time to a pipe in /etc/pipe. It writes continuously in a while true loop. How long will the data in the pipe be available for reading? If I only decide to read the pipe a day later with cat /etc/pipe, will I get all the time values right from the time I …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How long do FIFOs (named pipes) stay "open" for?

Low Risk

The process will be able to write bytes (see ) into the pipe. Then it will be stuck, until some of the data will be read. The buffered data will be kept around as long as at least one end of the pipe is open – there is no "timeout" or anything like …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment