note
liz
Please know that I have <B>no</B> experience with Solaris, or threaded applications using XS to speak of. That said, it seems you are leaking file descriptors, as you are doing:
<code>
fd = open(path, O_RDWR);
</code>
and you're not closing the file while the "int fd" does go out of scope. This is XS, not Perl! The file will <B>not</B> be automatically closed when its "handle" is destroyed. This may or may not be related to what you're seeing, though.
<P>
Liz
287340
287385