?
Solved

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

Posted on 2006-06-15
8
Medium Priority
?
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 
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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
Six Sigma Control Plans

752 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