9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Pipes on UNIX
@ 2007-09-06 13:04 Lluís Batlle
  2007-09-06 13:57 ` sqweek
  2007-09-06 14:04 ` Enrico Weigelt
  0 siblings, 2 replies; 14+ messages in thread
From: Lluís Batlle @ 2007-09-06 13:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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...)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-09-06 21:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-06 13:04 [9fans] Pipes on UNIX Lluís Batlle
2007-09-06 13:57 ` sqweek
2007-09-06 14:02   ` Lluís Batlle
2007-09-06 14:12     ` sqweek
2007-09-06 14:42       ` Lluís Batlle
2007-09-06 14:47         ` Gorka Guardiola
2007-09-06 14:57           ` Lluís Batlle
2007-09-06 15:52           ` ron minnich
2007-09-06 16:06             ` Gorka Guardiola
2007-09-06 20:17               ` Lluís Batlle
2007-09-06 20:33                 ` erik quanstrom
2007-09-06 20:40                   ` Lluís Batlle
2007-09-06 21:51                 ` Charles Forsyth
2007-09-06 14:04 ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).