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.

Replies are listed 'Best First'.
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