Solved

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

Posted on 2006-06-15
8
230 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl script to parse log and delete the file 17 173
Perl, group, sort, count question 6 131
Perl modules on linux ec2 3 104
Perl Frameworks 1 89
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

11 Experts available now in Live!

Get 1:1 Help Now