4

And if so, how do we increase it - the named pipes are created using mkfifo command -

Ryan Oberoi
  • 141
  • 1
  • 3
  • 3
    If you are suggesting creating so many that you would worry about running into a limit, I would suggest that your system architecture is wrong! You shouldn't need more than a handful. – Caleb Jun 03 '11 at 20:32

2 Answers2

2

Since everything in linux is a file and fifi named pipes are files, i think there's no maximum number of named pipes ...

However it depend if you want to create a huge number of named pipes in the same directory could be a limit that that is a constraint of some File system ...

aleroot
  • 3,160
  • 5
  • 28
  • 37
1

Each end of the pipe uses a file descriptor. On your system check out /proc/sys/fs/file-max.

Zoredache
  • 128,755
  • 40
  • 271
  • 413