Solved

Perl: Activeperl: Only 62 perl exe's allowed to run at a time?

Posted on 2006-06-15
8
223 Views
Last Modified: 2008-02-20
Is there a limit of how many perl exes can run on a winXP system at one time?

EXE's are compiled with perl parser (PP)

I have been able to load 62 at once but can't seem to get beyond it. Is there a memory limit? Can I change whatever limit is keeping me from doing what I need?

If I try and open a perl exe beyond the 62 or so, it simply closes without cycling. I also noticed when all the 62 programs are running I can't click -> Start menu -> RUN to run the commandline interface - not that I need to do that when it's running though...

I'm threading data through various streams and would LIKE about 1000 exe's running at one time (they don't take much processing power or memory). Actually make that 1002, 1000 "thread" exe's, 1 control program, and one loader.

There is another way I can do it, but it would mean 17 computers that I don't have. =D

Any help would be VERY MUCH appreciated!!

Thank you very much.

Best regards,

Dr34m3r
0
Comment
Question by:dr34m3rs
  • 5
  • 3
8 Comments
 
LVL 1

Author Comment

by:dr34m3rs
ID: 16917717
PS If there's a perl interpreter limit of some kind, is it possible to run 17 instances of perl on the same computer and point all the various programs to the correct interpreter?

Like #!/usr1/bin/perl
      #!/usr2/bin/perl and so on?

Just curous =D
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 16917764
My guess is that you are coming up against the hardware limits of your PC rather htan anything specific to Perl. Running 62 apps intensively would test most PCs. I would start your sytem monitr (COntrol-ALt-Delete and select System Monitor) before running Perl. Then see how your CPU and memory usage hold up as you increase the number of perl instances.

Also, if you have access to more than one PC, you could look at a distributed solution such as ANTS (for Windows) or grid engine
0
 
LVL 1

Author Comment

by:dr34m3rs
ID: 16917795
When a "thread" loads it only uses 1 - 4% of the CPU power and they are all staggered loads. The thread doesn't ever need to unload and reload itself. Once it is loaded there is 0% processing power when there's no data running through them. They use very little memory as well.

I just can't load more than 62 of them. They are all different names as well. t1.exe, t2.exe on up through.

So I don't understand why I can't load more than 62? I should logically be able to load as many as my computer can handle, which in this case would be a LOT.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 16917852
Yes agree, 62 seems like any arbitray limit. As a test, maybe see if you can run other apps without problem, like 62 Wordpads?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:dr34m3rs
ID: 16917906
hummm 16 wordpads, 37 notepads...  so it's memory limits? That seems odd though.

If I have 16 wordpads open I can't open ANY notepads. Is that odd, or is it just me? I should think windows would be able to handle it. Do I have to increase the amount of a kind of memory like I had to in DOS days? :(
0
 
LVL 1

Author Comment

by:dr34m3rs
ID: 16917927
On my Gaming system I can open 80 wordpads!

Same amount of "memory" though and same OS type...
0
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 500 total points
ID: 16917968
You are coming up agaisnt some type of limit, not sure if it is memory(how much free RAM after 37 notepads?). Note if you run out of RAM, XP will chew up disk space instead from the page file. You can increase the page file size through My Computer and then something like systems settings-> advanced??

Maybe you could get some more advice in the WinXP topic area.
0
 
LVL 1

Author Comment

by:dr34m3rs
ID: 16917976
Hummmm good ideas. I am sure it's a WINXP limit of some kind. I'll look into it more, but now I know what the limit is where I didn't before!

Thank you much!

Dr34m3r
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now