On 24/01/2012, at 5:08 AM, Marcin wrote: > > What you can do is create a signal handler for SIGABRT and enter infinite loop > in there. This will allow you to check number of actually utilized FDs by your > process: > > ls /proc/PID/fd/ | wc -w OSX doesn't have /proc -- john skaller skaller at users.sourceforge.net