5MB (and running, but bash died)

George (greerga@nidhogg.ham.muohio.edu)
Sun, 19 Jul 1998 15:27:18 -0400 (EDT)


After using:

echo "0 0" > /proc/sys/vm/pagetable_cache
echo "10 20 30" > /proc/sys/vm/freepages

and killing 'sendmail', the machine is actually usable (as long as you
don't try compiling anything) with SMP 2.1.109 (unpatched) and mem=5MB.

Free pages: 124kB
( Free: 31 (10 20 30)
11*4kB 4*8kB 1*16kB 1*32kB 0*64kB 0*128kB = 124kB)
Swap cache: add 49835/49835, delete 49810/49810, find 0/0
Free swap: 28044kB
1280 pages of RAM
342 reserved pages
130 pages shared
25 pages swap cached
0 pages in page table cache
Buffer memory: 152kB
Buffer heads: 189
Buffer blocks: 152
CLEAN: 90 buffers, 0 used (last=0), 0 locked, 0 protected, 0 dirty
LOCKED: 30 buffers, 21 used (last=29), 0 locked, 0 protected, 0 dirty
Networking buffers in use : 16
Total network buffer allocations : 1777
Total failed network buffer allocs : 0
IP fragment buffer size : 0

The kernel compilation actually made it to sched.c again. I'm currently
typing this while running the kernel.

Something strange through was:

block on free list clobbered
Report this to bash-maintainers@prep.ai.mit.edu
Stopping myself...

It seems Bash died while running a simple shell script while initiating the
PPP connection in the low memory situation before I finally killed sendmail
to speed things up a bit. Wasn't anything in the kernel logs about it
though. The same thing also happened while running 'atrun' in the
extremely low memory situation.

total used free shared buffers cached
Mem: 3752 3636 116 824 152 956
-/+ buffers/cache: 2528 1224
Swap: 33228 7012 26216

-George

-
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.altern.org/andrebalsa/doc/lkml-faq.html