in reply to Re^3: Sequential processing with fork.
in thread Sequential processing with fork.

I was unable to install "forks" eg( use forks) on my windows server 2012 running Dwimperl. So I couldn't test the above code.

The problem I am having is that each of the processes take from 30min to occasionally 2.5 hours to finish, the "wait" seems to be giving up. I can successfully run the first batch of ten, but no method I have tried has ever started the next process when one of the first ten finishes...

Is there a wait time limit var I can adjust? Or is that machine specific?

~~~~~~~~~ I'm unique, just like everybody else! ~~~~~~~~~

Replies are listed 'Best First'.
Re^5: Sequential processing with fork.
by Anonymous Monk on Aug 09, 2015 at 01:49 UTC

    Are you running your control program under a webserver? Webservers will time things out on you.

    Also, is the control program running on Windows? Fork is faked on Windows.

    Please state OS.

      Windows Server 2012 R2, but I'm not starting it via IIS it's just an icon on the desktop that I double click. I have NEVER been able to get this to work with ANY of the given examples.
        well, on windows, you don't need  use forks; as threads work on windows as does the example ikegami posted