Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uwm.edu!linac!att!cbnews!cbnewsl!urban From: urban@cbnewsl.att.com (john.urban) Newsgroups: comp.unix.wizards Subject: Re: out of swap space? Message-ID: <1991Apr24.131435.28796@cbnewsl.att.com> Date: 24 Apr 91 13:14:35 GMT References: <1991Apr23.214214.16521@netcom.COM> Distribution: usa Organization: AT&T Bell Laboratories Lines: 37 In article <1991Apr23.214214.16521@netcom.COM> aed@netcom.COM (Andrew Davidson) writes: > >Hi >I am currently trying to port an application from a sun sparc station >to SCO ODT UNIX. I seem to get some weird run time core dumps. I >talked to the orginal authour of the code, and was told that this >might because my system is running out of swap space? > Have you ever ported to a 80386 box before? Unlike the 3b2 and other machines the 386 in unforgiving on null pointers. Perhaps there is minor bug or something in the code. >HOW BIG SHOULD MY SWAP BE? I have 8megs of ram > On UNIX System V/386 Release 3.2 (I believe SCO UNIX is a variant of this) SWAP should be about 15% of disk or perhaps in your case 12 meg (1.5 of ram). As a side note, SVR4 would required twice ram from swap but thats a different story. >ARE THERE ANY TOOLS TO HELP ME MANAGE / MONITOR MY SWAP SPACE? > You can run: # swap -l # sar -r Look at the book: System Performance Tuning by O'Reilly and Associates, Inc pages 118 -> >thanks in advance Andy > Sincerely, John Urban