Re: Posix error 24

2010-05-15 Thread Ken Thomases
On May 15, 2010, at 9:44 AM, Ken Thomases wrote: > Probably easier and more productive to use Instruments and the File Activity > instrument. Hmm. Looking at that instrument in detail, it's not clear that it catches all file descriptors. In particular, it seems to only track the open() system

Re: Posix error 24

2010-05-15 Thread Mark Ritchie
On 15/May/2010, at 7:44 AM, Ken Thomases wrote: > Probably easier and more productive to use Instruments and the File Activity > instrument. Far easier, no code changes needed and you get the stack traces for each file action. Definitely the way to go! ;-) M. __

Re: Posix error 24

2010-05-15 Thread Ken Thomases
On May 15, 2010, at 9:39 AM, Paul Sanders wrote: >> On May 15, 2010, at 9:24 AM, The Geezer wrote: >> >> I wrote a cocoa application that periodically gets a posix error 24. >> I know this means my app's number of open files has exceeded >> kern.maxfilesperproc, however, I can't figure out when

Re: Posix error 24

2010-05-15 Thread Paul Sanders
Use lsof from the command line. Paul Sanders. - Original Message - From: "The Geezer" To: Sent: Saturday, May 15, 2010 3:24 PM Subject: Posix error 24 I wrote a cocoa application that periodically gets a posix error 24. I know this means my app's number of open files has exceeded ke