Newsgroups: comp.os.minix
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!hunter.premier.net!news.mathworks.com!howland.erols.net!surfnet.nl!newshost.vu.nl!cs.vu.nl!kjb
From: kjb@cs.vu.nl (Kees J Bot)
Subject: Re: Error: ps: Out of memory: Not enough core
Nntp-Posting-Host: hornet.cs.vu.nl
References: <3297FDF1.136B@hotmail.com> <32984f68.0@news.hampshire.edu> <329BEAD0.4E7E@anti.spam.com>
Sender: news@cs.vu.nl
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Thu, 28 Nov 1996 09:00:43 GMT
Message-ID: <E1Kp17.G9D@cs.vu.nl>
Lines: 36

Tony Mori <tonym@anti.spam.com> writes:

>I actually had a crash on FreeBSD 2.0, and it was days to fix, WITH a
>tape drive! (speaking of which, any tape support in Minix? I have a
>QIC-80/Floppy tape, and a QIC SCSI tape drive.)

The Adaptec 154X SCSI driver can handle a tape drive.

>I am still being pleasantly surprised by Minix 2.0.0 . One question I do
>have, though, is how can you abort a program/action/script/etc.?  ^C 
>(<CTRL><C>) doesn't do it!! I have to go to another VirConsole, login,
>ps for the task, and 'kill -9' it. Not TOO big a deal, but I'd rather
>have ^C.

The interrupt character is DEL by default.  Run 'stty -a' to know all
the gory details.  With

	stty intr '^C'

you can change the interrupt character to ^C.  (You can use the two
characters '^' and 'C' in the command, stty will figure it out.)

Since you have the source you can also make ^C the interrupt character
permanently by changing TINTR_DEF in /usr/include/termios.h.  Recompile
the kernel and stty.c and you're done.

>Anyway, thanks for the tip on the ps problem. I ended up lowering some
>settings in config.h (like NR_PROCS to 40: was 64), and killed 2nd'ary
>cache, and changed the buffers/hash as recommended.

Ps is probably running out of memory because it can't malloc enough
memory for the bigger process tables.  'Chmem' should have fixed it.
--
Kees J. Bot  (kjb@cs.vu.nl)  Systems Programmer, Vrije Universiteit Amsterdam
Minix:       http://www.cs.vu.nl/ftp/minix/   ftp://ftp.cs.vu.nl/pub/minix/
Minix-vmd:   http://Minix-vmd.cs.vu.nl/       ftp://Minix-vmd.cs.vu.nl/
