Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!HERMES.BERKELEY.EDU!dillon From: dillon@HERMES.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: What is the max. number of tasks ? Message-ID: <8906122328.AA02427@hermes.Berkeley.EDU> Date: 12 Jun 89 23:28:43 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 41 :Here is a simple question : what is the maximum number of tasks :that can be active at the same time ? : :I can't seem to find the anwser to this question anywhere. :So I tried something. : :I was able to open 20 NEWCLI windows, every window has two tasks : :- CON :- Newcli : :I already had the following tasks : : - RAM : - File System : - Trackdisk : - input.device : - CON : :So I had 20*2 + 5 = 45 tasks. : :Is 45 Tasks the maximum number of tasks ??? : :Marco Dedecker There is a maximum of 20 CLI's. Each shell/cli window and each RUNd program takes up a CLI. A CLI is a structure managed by DOS and not really part of a task or process. A process might *reference* a CLI structure but it isn't part of a process proper. There is NO maximum number of tasks or processes. System tasks do not run under a CLI and thus do not take from the CLI limit. Processes associated with DOS devices, tasks/processes associated with EXEC devices and libraries, tasks/processes created by user programs (not RUNd), and most resident programs are not connected to a CLI and thus do not take from the CLI limit. In fact, it should be noted that an EXEC task takes very little memory.... just the Task structure, stack, and (possibly shared) code. The only limit here is memory. -Matt