Xref: utzoo comp.unix.i386:860 comp.unix.wizards:18766 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!decwrl!pyramid!altos!altos86!jerry From: jerry@altos86.Altos.COM (Jerry Gardner) Newsgroups: comp.unix.i386,comp.unix.wizards Subject: Re: Help! Altos 5.3.1 fork is failing! Message-ID: <3684@altos86.Altos.COM> Date: 18 Oct 89 22:56:41 GMT References: <506@oglvee.UUCP> Reply-To: jerry@altos86.UUCP (Jerry Gardner) Followup-To: comp.unix.i386 Organization: Altos Computer Systems, San Jose, CA Lines: 36 In article <506@oglvee.UUCP> jr@oglvee.UUCP (Jim Rosenberg) writes: > >What the bleep is getcpages? It sounds like an internal kernel routine to get >continuous pages in RAM. Is this call issued by the paging daemon? How could >it fail on a request to get only 1 page unless I'm out of swap space? (Which >I'm not. We're getting these with many many thousand blocks of free swap >space -- we have a swap(1) which will show these.) > Getpages is an internal kernel routine that allocates contiguous pages of kernel virtual memory. It's not called by the paging daemon, but rather to allocate or grow regions, among other things. >Is there a tunable parameter that will rescue me here? > Not really. You really are running out of swap space. Even though "swap -l" may show plenty of swap space remaining, it is misleading. UNIX allocates swap space for the entire .data and .bss regions whenever a process is exec'ed. Even though swap -l shows plenty of swap space available, most of the swap space is allocated to processes, which, although they may not currently be swapped out, still tie up the swap space. Your best solution: get more RAM. The 2000 in my office that I use as a single-user personal machine has 24MB. If you can't get more RAM, you could try a larger swap partition, but if your system is heavily loaded, it'll just thrash, constantly paging and swapping things in and out. -- Jerry Gardner, NJ6A Altos Computer Systems UUCP: {sun|pyramid|sco|amdahl|uunet}!altos86!jerry 2641 Orchard Parkway Internet: jerry@altos.com San Jose, CA 95134 I survived the Big One, October 17, 1989 946-6700