in reply to Re: Re: backticks stop working
in thread backticks stop working

If you've got something like lsof available you could use it to check from outside your program. Inside your program the only way I can think of offhand would be to open something (/dev/null or the like) and then use fileno on that handle and see if the file descriptors are steadily increasing (which would probably mean you've got a leak).