Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

intermittent problem with IPC::Open3

by particle (Vicar)
on Jul 12, 2001 at 00:30 UTC ( #95845=perlquestion: print w/ replies, xml ) Need Help??
particle has asked for the wisdom of the Perl Monks concerning the following question:

i'm intermittently getting a problem with IPC::Open3~
open3: IO::Pipe: Can't spawn-NOWAIT: Resource temporarily unavailable
what? why? and how do i fix it? i'm running on an NT 4.0 server with 4 processors and VERY light load.

~Particle

nevermind the xp, remember the experience.

Comment on intermittent problem with IPC::Open3
Download Code
Re: intermittent problem with IPC::Open3
by xphase_work (Pilgrim) on Jul 12, 2001 at 01:03 UTC
    particle, does NT 4 support perl's IPC modules properly?

    I know that Win32 doesn't support the fork() call properly, and that it's POSIX implementation is not very good, so it may have something to do with that. I would check out mailing lists and newsgroups to see if others have reported similar behaviour. To check and see if it is your code, or an OS error.

    Sorry I can't be of more help, but I have never been able to get NT 4 on my machine, so I have no ability to test that module.

    --xPhase

      well, i'm running ActiveState's Perl 5.6.0, which fakes fork(), by creating a new thread. the IPC modules are bundled with the distribution, so i *assume* they are blessed by the vendor. i've put in a call to them, but it's never enough to look in one place.... thanks for the response.

      i suppose i could ask more generally, what would cause IO::Pipe to complain about unavailable resources?

      oh, BTW, WinNT is my client's OS.

      ~Particle

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://95845]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-29 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls