• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPipe eating up all available pipes on system.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPipe eating up all available pipes on system.


  • Subject: NSPipe eating up all available pipes on system.
  • From: "Mr. Gecko" <email@hidden>
  • Date: Wed, 20 Feb 2013 16:10:22 -0600

I have written a daemon that listens for an incoming connection, runs a process using NSTask, and sends the output to the connection. After a couple of hours of receiving connections at varying lengths of time… The system has all of it's pipes taken, and the process stops sending responses to the connections. I know that the pipes are all taken because... If I was to run something in terminal such as "cat Makefile | less", less will not output anything. If I was to run git log, I would not get anything (git log outputs the history of a repository to less via a pipe).

I made a test which shows the issue with an exception… Can someone help me find out how to close the pipes or something of the sort?

https://dl.dropbox.com/u/610721/Eat Pipes.zip

Thank you.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSPipe eating up all available pipes on system.
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: No mouseExited when switching windows
  • Next by Date: Re: CALayer's backgrounds filters having effect only on immediate parent?
  • Previous by thread: Re: LLVM 4.2 bug: crash on 10.6.8 in loop iteration
  • Next by thread: Re: NSPipe eating up all available pipes on system.
  • Index(es):
    • Date
    • Thread