Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Threaded perl 5.8.0 for Solaris

by liz (Monsignor)
on Aug 28, 2003 at 14:47 UTC ( #287387=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Threaded perl 5.8.0 for Solaris
in thread Threaded perl 5.8.0 for Solaris

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

Liz

Replies are listed 'Best First'.
Re: Re: Re: Threaded perl 5.8.0 for Solaris
by asarih (Hermit) on Aug 28, 2003 at 15:23 UTC
    Thanks for the reminder, Liz. I put close(fd); after door_call(), but the error insists (on threaded perl, that is).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-12-01 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?