Hello,

I understand from [1] that named pipes are suposed to use the
filesystem as an "unlimited" buffer for the pipe. This would be an
advantage against a pipe deadlock I'm experiencing using unnamed pipes
(a CGI communicating wit Apache), but I cannot reproduce the
"unlimited buffer" in Linux. Maybe I should fcntl the named pipe or
something similar setting a buffer limit, and the filesystem will be
used? Or maybe the named pipes were never supposed to use the disk as
the pipe buffer?

I don't know any other place where I may ask this question and get
answered. My google search didn't bring me useful results since now.

Otherwise I will probably write a simple program which acts as an
unlimited pipe, using a disk backend as data queue.

[1] http://www.cs.cmu.edu/~UniCon/reference-manual/Reference_Manual_41.html

(Sorry for a non-plan9 question...)

Reply via email to