I am using ActiveState Perl 5.6.1 build 633 on w2k
workstation.

--- Scott Carr <[EMAIL PROTECTED]> wrote:
> Which OS are you using?
> -- 
> Scott Carr
> Documentation Maintainer
> http://documentation.openoffice.org
> OpenOffice.org
> 
> 
> Quoting prefab <[EMAIL PROTECTED]>:
> 
> > hello,
> > 
> > there appears to be a limit of 64 processes that
> can
> > be forked on win32. The following code:
> > 
> > foreach $i (1..1000) {
> >     if (!defined ($pid = fork())) {
> >         print "current child process : ".$i."\n";
> >         die "cannot fork: $!";
> >     } elsif ($pid== 0) {
> >     # child
> >     sleep(10);
> >     exit(0);
> >     }
> > }
> > 
> > produces the following result:
> > 
> > current child process : 65
> > cannot fork: Resource temporarily unavailable at
> > test5.pl line 4.
> > 
> > Does anyone know where this limit comes from and
> if it
> > is possible to configure a higher number of
> threads?
> > 
> > thanks
> > prefab
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus � Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > _______________________________________________
> > Perl-Win32-Users mailing list
> > [EMAIL PROTECTED]
> > To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
> > 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to