Re: Out Of Memory in v. 2.1

Nicholas J. Leon (nicholas@binary9.net)
Sat, 3 Oct 1998 22:54:57 -0400 (EDT)


On Sat, 3 Oct 1998, Matthew Hawkins wrote:

# Somebody slap me if I'm missing something obvious, but shouldn't this have
# absolutely no effect on the system whatsoever until the allocated memory is
# written to? Was the copy-on-write protection taken out of the kernel?

I am currently running his program and it isn't really affecting
anything....

10:51pm up 1 day, 8:50, 8 users, load average: 0.75, 0.30, 0.11
37 processes: 36 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 1.1% user, 1.3% system, 0.0% nice, 98.3% idle
CPU1 states: 0.1% user, 0.7% system, 0.0% nice, 99.2% idle
Mem: 192932K av, 189852K used, 3080K free, 6488K shrd, 9828K buff
Swap: 128508K av, 128504K used, 4K free 8592K cached

PID PRI NI SIZE RSS SHARE WCHAN STAT %CPU %MEM TIME MCPU COMMAND
8956 12 0 568 548 388 R 1.1 0.2 0:04 1 top
174 8 0 1284 1284 1104 open_name S 0.5 0.6 15:37 0 xntpd
8955 5 0 278M 156M 40 do_sigact S 0.3 82.9 0:19 0 ./crashme

The responsiveness of my other consoles got iffy for a while, but once I
used them for a sec or two they started reacting normally.

#
# (COW is a band-aid patch anyway since it's so easily defeated by malicious
# programs)
#
# --
# Matt
#
# -
# To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
# the body of a message to majordomo@vger.rutgers.edu
# Please read the FAQ at http://www.tux.org/lkml/
#

G'day!

-- n i c h o l a s j l e o n
/ elegance through simplicity /
/ good fortune through truth / http://mrnick.binary9.net
/ not all questions have answers / mailto:nicholas@binary9.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/