Help! Altos 5.3.1 fork is failing!

r.peterson roe at sobmips.UUCP
Sat Oct 21 11:49:07 AEST 1989

>From article <3684 at altos86.Altos.COM>, by jerry at altos86.Altos.COM (Jerry Gardner):
> In article <506 at oglvee.UUCP> jr at oglvee.UUCP (Jim Rosenberg) writes:
> 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.

Not true.  While unix does CHECK FOR available swap space for the entire .data
and .bss regions whilst fork()ing, it does NOT necessarily USE that

Simply increasing available swap space will solve the problem.  You will
not begin to thrash, since demand paging is still in effect.

The BSD file systems simply want to know that, if necessary, there is
enough swap space to swap.

We saw the same problem on our MIPS systems, and adding another swap
partition solved the problem - with no noticable (sar, vsar, etc)
performance degredation.

					Roe Peterson

More information about the Comp.unix.i386 mailing list