Solved

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

Posted on 2006-06-15
8
210 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

22 Experts available now in Live!

Get 1:1 Help Now