* Large initrd and arch/ppc/boot/simple Question
@ 2003-07-01 20:29 Kent Borg
2003-07-01 20:38 ` Wolfgang Denk
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Kent Borg @ 2003-07-01 20:29 UTC (permalink / raw)
To: linuxppc-embedded
We are booting our kernel via the arch/ppc/boot/simple mechanism to
package up our kernel and initrd. It seems to work, until we get too
big. What is big? Roughly 8 MB for our one big uncompressed userland
program, plus the kernel, bash, busybox, and various userland
utilities.
Can initrd's get that large and still work? Is the simple boot code
sensible with these sizes? (I notice that the "avail ram" message
that gets printed is just hard coded number...)
Thanks,
-kb, the Kent who is running roughly 2.4.21-pre6.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Large initrd and arch/ppc/boot/simple Question
@ 2003-07-01 20:34 Kerl, John
0 siblings, 0 replies; 8+ messages in thread
From: Kerl, John @ 2003-07-01 20:34 UTC (permalink / raw)
To: 'Kent Borg', linuxppc-embedded
8 MB compressed (& if so: zvmlinux.initrd or
ramdisk.image.gz?) , or 8 MB uncompressed RAM
disk?
If the latter: I've successfully used a RAM disk of
12 or 16 MB. You need to (a) go into your kernel
config and set CONFIG_BLK_DEV_RAM_SIZE, and (b) modify
whatever it is that creates your RAM disk image
(dd + mke2fs perhaps).
If the former: you might check the RAM address
of your firmware, the RAM runtime address of the
boot wrapper (-Ttext ???? in arch/ppc/boot/simple/Makefile),
and the size of your RAM. The firmware needs to jump
into zvmlinux.initrd, which will copy itself to the
-Ttext address, then decompress the kernel to 0 and
copy the RAM disk to the end of RAM. You can have
problems if any of these things overlap.
-----Original Message-----
From: Kent Borg [mailto:kentborg@borg.org]
Sent: Tuesday, July 01, 2003 1:30 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Large initrd and arch/ppc/boot/simple Question
We are booting our kernel via the arch/ppc/boot/simple mechanism to
package up our kernel and initrd. It seems to work, until we get too
big. What is big? Roughly 8 MB for our one big uncompressed userland
program, plus the kernel, bash, busybox, and various userland
utilities.
Can initrd's get that large and still work? Is the simple boot code
sensible with these sizes? (I notice that the "avail ram" message
that gets printed is just hard coded number...)
Thanks,
-kb, the Kent who is running roughly 2.4.21-pre6.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 20:29 Large initrd and arch/ppc/boot/simple Question Kent Borg
@ 2003-07-01 20:38 ` Wolfgang Denk
2003-07-01 21:51 ` Kent Borg
2003-07-01 22:12 ` Tom Rini
2 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2003-07-01 20:38 UTC (permalink / raw)
To: Kent Borg; +Cc: linuxppc-embedded
Dear Kent,
in message <20030701162944.E20876@borg.org> you wrote:
>
> We are booting our kernel via the arch/ppc/boot/simple mechanism to
> package up our kernel and initrd. It seems to work, until we get too
> big. What is big? Roughly 8 MB for our one big uncompressed userland
> program, plus the kernel, bash, busybox, and various userland
> utilities.
>
> Can initrd's get that large and still work? Is the simple boot code
> sensible with these sizes? (I notice that the "avail ram" message
> that gets printed is just hard coded number...)
I don't know about the "simple boot code". With U-Boot, we're
successfully using ramdisk images which uncompress into 128 MB and
bigger filesystems. [And no, please don't ask me who needs that many
stuff in a ramdisk, nor if there is not any better way to do this.]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
A rolling stone gathers momentum.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 20:29 Large initrd and arch/ppc/boot/simple Question Kent Borg
2003-07-01 20:38 ` Wolfgang Denk
@ 2003-07-01 21:51 ` Kent Borg
2003-07-01 22:07 ` Mark Hatle
2003-07-01 22:12 ` Tom Rini
2 siblings, 1 reply; 8+ messages in thread
From: Kent Borg @ 2003-07-01 21:51 UTC (permalink / raw)
To: linuxppc-embedded
Looking more, it seems that we are (at minimum) killing the kernel by
asking for too much memory. We are seeing whether we can reproduce
that with a simpler program.
-kb
In the meantime, here is some output of and about our crash:
$ size bigapp.strip
text data bss dec hex filename
7465252 97296 401844 7964392 7986e8 bigapp.strip
$ size /tftpboot/zImage.initrd.elf
text data bss dec hex filename
24896 6856704 12732 6894332 6932fc /tftpboot/zImage.initrd.elf
loaded at: 02000000 026941BC
zimage at: 02007D34 02097813
initrd at: 02098000 02690529
avail ram: 00400000 01000000
Linux/PPC load: console=ttyS0,115200 ip=off mem=48m
Uncompressing Linux...done.
Now booting the kernel
Warning hardcoded alaska_find_end_of_memory() alaska.c:172
Memory BAT mapping: BAT2=32Mb, BAT3=16Mb, residual: 32Mb
Linux version 2.4.21-rc1 (pbarada@hyper) (gcc version 3.2.2) #136 Tue Jul 1 16:36:46 EDT 2003
On node 0 totalpages: 12288
zone(0): 12288 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 ip=off mem=48m
Calibrating delay loop... X BogoMIPS
Memory: 41056k available (1028k kernel code, 308k data, 64k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xf1001008 (irq = 73) is a ST16650
ttyS01 at 0xf1001010 (irq = 74) is a ST16650
RAMDISK driver initialized: 16 RAM disks of 14336K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 6113k freed
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 64k init
INIT: version 2.78 booting
INIT: Entering runlevel: 1
/etc/rc: line 11: 18 Terminated /sbin/syslogd
[01/Jan/1970:00:00:07 +0000] boa: server version Boa/0.94.8.3
[01/Jan/1970:00:00:07 +0000] boa: server built Jun 20 2003 at 10:43:07.
[01/Jan/1970:00:00:07 +0000] boa: starting server pid=25, port 80
"Space, a great big place of unknown stuff." -Dexter, for our MotD.
sh-2.05b#
sh-2.05b# ps
PID Uid Stat Command
1 root S init
2 root S [keventd]
3 root S [ksoftirqd_CPU0]
4 root S [kswapd]
5 root S [bdflush]
6 root S [kupdated]
19 root S /sbin/syslogd
21 root S /sbin/xinetd
23 bin S [portmap]
25 root S /bin/boa
29 root S /bin/sh
30 root R ps
sh-2.05b#
sh-2.05b# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 48369664 18210816 30158848 0 2772992 13422592
Swap: 0 0 0
MemTotal: 47236 kB
MemFree: 29452 kB
MemShared: 0 kB
Buffers: 2708 kB
Cached: 13108 kB
SwapCached: 0 kB
Active: 4008 kB
Inactive: 12616 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 47236 kB
LowFree: 29452 kB
SwapTotal: 0 kB
SwapFree: 0 kB
sh-2.05b#
sh-2.05b# df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 12161 12161 0 100% /
/dev/ram0 12161 12161 0 100% /
/dev/ram1 1003 26 977 3% /var
sh-2.05b#
sh-2.05b# cd /tmp
sh-2.05b# /usr/local/bin/bigapp.strip -m8m
Assert failed: "sjret == 0xABCD" ../ts/tsmdsun.c:580
Fatal at line 580 in ../ts/tsmdsun.c
Terminating execution via an "illegal instruction" signal
Illegal instruction
sh-2.05b# /usr/local/bin/bigapp.strip -m16m
Oops: kernel access of bad area, sig: 11
NIP: C002F3A8 XER: 00000000 LR: C002F2D0 SP: C24C3D60 REGS: c24c3cb0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 22000000
TASK = c24c2000[34] 'bigapp.strip' Last syscall: 90
last math c24c2000 last altivec 00000000
GPR00: 00000000 C24C3D60 C24C2000 00000001 00009032 C011BDCC 02000000 C0143 790
GPR08: 00000000 BA2E0000 00000000 00000000 44000024 1074DAB8 00000000 00000 000
GPR16: 00000000 00000000 00000000 10770000 00009032 024C3F40 C0143790 C0143 790
GPR24: 00000001 00000000 C011BB9C C011BB9C 000001D2 00000003 C011BBD4 C019B 4C0
Call backtrace:
00000000 C002FA04 C002F65C C0023090 C00231D0 C00233F8 C000EC88
C0005DB0 102AC5CC 10000570 1033A2DC 00000000
Oops: kernel access of bad area, sig: 11
NIP: C00254B8 XER: 20000000 LR: C0021A78 SP: C24C3A90 REGS: c24c39e0 TRAP: 0300 Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: DEADBEEF, DSISR: 22000000
TASK = c24c2000[34] 'bigapp.strip' Last syscall: 90
last math c24c2000 last altivec 00000000
GPR00: 00000000 C24C3A90 C24C2000 C01D03C0 00000004 1072E000 00019000 DEADB EF7
GPR08: DEADBEEF 00000010 DEADBEEF DEADBEEF C0140000 1074DAB8 00000000 00000 000
GPR16: 00000000 00000000 00000000 10770000 00001032 024C3CA0 1072E000 C0140 000
GPR24: 00000001 FFFFFFFD 00000000 FFFFFFFD 00019000 00000000 00000001 C01D0 3C0
Call backtrace:
C0017D8C C0021A78 C0023898 C0021D54 C00250B8 C0012F60 C0016364
C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000 C002FA04 C002F65C
C0023090 C00231D0 C00233F8 C000EC88 C0005DB0 102AC5CC 10000570
1033A2DC 00000000
Oops: kernel access of bad area, sig: 11
NIP: C002D784 XER: 20000000 LR: C002CFA4 SP: C24C3860 REGS: c24c37b0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: DEADBF07, DSISR: 20000000
TASK = c24c2000[34] 'bigapp.strip' Last syscall: 90
last math c24c2000 last altivec 00000000
GPR00: C016B000 C24C3860 C24C2000 DEADBEEF C2F5E000 00000100 00000E45 00000 000
GPR08: C0140000 00082428 C016B000 C0140000 C0140000 1074DAB8 00000000 00000 000
GPR16: 00000000 00000000 00000000 10770000 00009032 024C39D0 00000000 C0005 DB0
GPR24: 00030001 02000000 C24C39E0 00000008 00000000 C263E1E0 00000100 C2F5E 000
Call backtrace:
00000000 C004FFD0 C0015B58 C0016380 C0005F3C C000EEB8 C000EBE4
C0005DB0 C0017D8C C0021A78 C0023898 C0021D54 C00250B8 C0012F60
C0016364 C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000 C002FA04
C002F65C C0023090 C00231D0 C00233F8 C000EC88 C0005DB0 102AC5CC
10000570 1033A2DC 00000000
Oops: kernel access of bad area, sig: 11
NIP: C002D794 XER: 20000000 LR: C002CF40 SP: C24C3670 REGS: c24c35c0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: DEADBEFB, DSISR: 20000000
TASK = c24c2000[34] 'bigapp.strip' Last syscall: 90
last math c24c2000 last altivec 00000000
GPR00: C016B000 C24C3670 C24C2000 C016AC90 C263B200 00000001 00001215 C016A CA0
GPR08: DEADBEEF C01D4224 00000020 C0140000 C0140000 1074DAB8 00000000 00000 000
GPR16: 00000000 00000000 00000000 10770000 00001032 024C37A0 00000000 C0005 DB0
GPR24: 00030001 00000000 C24C37B0 20000000 C263B200 C016AC90 C24C2000 C263B 200
Call backtrace:
C24C37B0 C0016460 C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000
C004FFD0 C0015B58 C0016380 C0005F3C C000EEB8 C000EBE4 C0005DB0
C0017D8C C0021A78 C0023898 C0021D54 C00250B8 C0012F60 C0016364
C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000 C002FA04 C002F65C
C0023090 C00231D0 C00233F8 C000EC88 C0005DB0
Oops: kernel access of bad area, sig: 11
NIP: C002D794 XER: 20000000 LR: C002CF40 SP: C24C3460 REGS: c24c33b0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: DEADBEFB, DSISR: 20000000
TASK = c24c2000[34] 'bigapp.strip' Last syscall: 90
last math c24c2000 last altivec 00000000
GPR00: C016B000 C24C3460 C24C2000 C016ABB8 C219F060 00000001 000015F7 C016A BC8
GPR08: DEADBEEF C01C7754 00000520 C0140000 C0140000 1074DAB8 00000000 00000 000
GPR16: 00000000 00000000 00000000 10770000 00001032 024C35B0 00000000 C0005 DB0
GPR24: 00030001 00000000 C24C35C0 20000000 C219F060 C016ABB8 C24C2000 C219F 060
Call backtrace:
024C35B0 C001CCF4 C00164F0 C0005F3C C000EEB8 C000EBE4 C0005DB0
C24C37B0 C0016460 C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000
C004FFD0 C0015B58 C0016380 C0005F3C C000EEB8 C000EBE4 C0005DB0
C0017D8C C0021A78 C0023898 C0021D54 C00250B8 C0012F60 C0016364
C0005F3C C000EEB8 C000EBE4 C0005DB0 00000000
kernel BUG at page_alloc.c:217!
$ ppc-linux-addr2line -e vmlinux 0xc002f3a8
include/linux/list.h:83
$ ppc-linux-addr2line -e vmlinux 0xc002f2d0
mm/page_alloc.c:208
$ ppc-linux-addr2line -e vmlinux 0xc011bdcc
arch/ppc/kernel/entry.S:0
$ ppc-linux-addr2line -e vmlinux 0xc0143790
arch/ppc/kernel/entry.S:0
$ ppc-linux-addr2line -e vmlinux 0xc002fa04
mm/page_alloc.c:347
$ ppc-linux-addr2line -e vmlinux 0xc002f65c
mm/page_alloc.c:247
$ ppc-linux-addr2line -e vmlinux 0xc0023090
mm/memory.c:1205
$ ppc-linux-addr2line -e vmlinux 0xc00233f8
mm/memory.c:1387
$ ppc-linux-addr2line -e vmlinux 0xc000ec88
arch/ppc/mm/fault.c:252
$ ppc-linux-addr2line -e vmlinux 0xc0005db0
arch/ppc/kernel/entry.S:0
$ ppc-linux-addr2line -e vmlinux 0xc0021a78
mm/memory.c:84
$ ppc-linux-addr2line -e vmlinux 0xc00254b8
include/linux/list.h:83
$ ppc-linux-addr2line -e vmlinux 0xc0017d8c
kernel/softirq.c:90
$ ppc-linux-addr2line -e vmlinux 0xc0021a78
mm/memory.c:84
$ ppc-linux-addr2line -e vmlinux 0xc0023898
mm/memory.c:312
$ ppc-linux-addr2line -e vmlinux 0xc0021d54
mm/memory.c:352
$ ppc-linux-addr2line -e vmlinux 0xc00250b8
mm/mmap.c:1153
$ ppc-linux-addr2line -e vmlinux 0xc0012f60
include/asm/atomic.h:150
$ ppc-linux-addr2line -e vmlinux 0xc0016364
kernel/exit.c:445
$ ppc-linux-addr2line -e vmlinux 0xc0005f3c
arch/ppc/kernel/traps.c:114
$ ppc-linux-addr2line -e vmlinux 0xc000eeb8
arch/ppc/mm/fault.c:341
$ ppc-linux-addr2line -e vmlinux 0xc000ebe4
arch/ppc/mm/fault.c:288
$ ppc-linux-addr2line -e vmlinux 0xc0005db0
arch/ppc/kernel/entry.S:0
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 21:51 ` Kent Borg
@ 2003-07-01 22:07 ` Mark Hatle
2003-07-02 16:54 ` Kent Borg
0 siblings, 1 reply; 8+ messages in thread
From: Mark Hatle @ 2003-07-01 22:07 UTC (permalink / raw)
To: Kent Borg; +Cc: linuxppc-embedded
This is based on my past observations, and may not reflect the current
version of 2.4.x.
Yes, you can definatly kill a kernel by asking for too much memory.
This is especially true if you do not have swap enabled, which in my
experience is rather rare on embedded systems. I THINK there is a
mechanism that you can turn off over commit of memory which will allow
you to kill processors requesting the memory that doesn't exist. The
only problem with that is depending on how you do this overcommit
control you have to accoutn for COW pages, and other things that may
blow you out.
The best you can hope for is "Under normal circumstances my system
should use this much memory, I will give it X * 1.5 (or some other
reasonable amount)."
This is something that needs to be worked out between the hardware and
software folks, unfortunatly it rarely seems to be and you get bogus
"This product WILL run under 8MB of ram no matter what requirements...
ohh and did I mention it needs to have 16 MB worth of ramdisk?" heh
So in short, no the kernel shouldn't oops when it runs out of memory.
However what is the "correct" thing to do has been debated many times,
and depending on the application returning ENOMEM may be appropriate,
crashing (to cause a reboot) may be appriopriate or a whole host of
other things like killing off the offending process (or a lower priority
process even). It all comes down to system requirements.
--Mark
Kent Borg wrote:
> Looking more, it seems that we are (at minimum) killing the kernel by
> asking for too much memory. We are seeing whether we can reproduce
> that with a simpler program.
>
> -kb
>
>
> In the meantime, here is some output of and about our crash:
>
> $ size bigapp.strip
> text data bss dec hex filename
> 7465252 97296 401844 7964392 7986e8 bigapp.strip
> $ size /tftpboot/zImage.initrd.elf
> text data bss dec hex filename
> 24896 6856704 12732 6894332 6932fc /tftpboot/zImage.initrd.elf
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 20:29 Large initrd and arch/ppc/boot/simple Question Kent Borg
2003-07-01 20:38 ` Wolfgang Denk
2003-07-01 21:51 ` Kent Borg
@ 2003-07-01 22:12 ` Tom Rini
2003-07-01 22:19 ` Kent Borg
2 siblings, 1 reply; 8+ messages in thread
From: Tom Rini @ 2003-07-01 22:12 UTC (permalink / raw)
To: Kent Borg; +Cc: linuxppc-embedded
On Tue, Jul 01, 2003 at 04:29:44PM -0400, Kent Borg wrote:
> We are booting our kernel via the arch/ppc/boot/simple mechanism to
> package up our kernel and initrd. It seems to work, until we get too
> big. What is big? Roughly 8 MB for our one big uncompressed userland
> program, plus the kernel, bash, busybox, and various userland
> utilities.
>
> Can initrd's get that large and still work? Is the simple boot code
> sensible with these sizes? (I notice that the "avail ram" message
> that gets printed is just hard coded number...)
After reading the follow ups, is the problem that the kernel never boots
if you pass too large of a ramdisk or that the app does not work?
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 22:12 ` Tom Rini
@ 2003-07-01 22:19 ` Kent Borg
0 siblings, 0 replies; 8+ messages in thread
From: Kent Borg @ 2003-07-01 22:19 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
On Tue, Jul 01, 2003 at 03:12:39PM -0700, Tom Rini wrote:
> After reading the follow ups, is the problem that the kernel never
> boots if you pass too large of a ramdisk or that the app does not
> work?
We have had cases where the kernel never boots once we turned on extra
debugging code, but in the case we are cornering now, the app causes
an oops, apparently on mallocing too much memory.
-kb, the Kent who is about to write up a simple test case of that.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Large initrd and arch/ppc/boot/simple Question
2003-07-01 22:07 ` Mark Hatle
@ 2003-07-02 16:54 ` Kent Borg
0 siblings, 0 replies; 8+ messages in thread
From: Kent Borg @ 2003-07-02 16:54 UTC (permalink / raw)
To: Mark Hatle; +Cc: linuxppc-embedded
On Tue, Jul 01, 2003 at 05:07:06PM -0500, Mark Hatle wrote:
> Yes, you can definatly kill a kernel by asking for too much memory.
I wrote a simple test program that malloc()s a 64KB block, fills it
with data, malloc()s another, fills it, etc.
If I run it in the background and queue up a bunch of copies in bash's
input buffer, the kernel quickly grinds to a near halt as the kernel
starts scrounging for memory and kills these processes one at a time.
I can get a ps to eventually run, showing as many as two dozen of
these hungry programs--though it is a little like astronomy of distant
objects: by the time ps completes the processes listed have already
been long ago announced in the console as killed.
And once they have all run and been killed, the system is again
responsive and appears to be happy. So the OOM killer in 2.4 works in
this simple case, multiplied.
The case of our big program dying is certainly more complicated. We
are looking to see what it is using/whether it can be told to restrain
itself.
Thanks,
-kb
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-07-02 16:54 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-01 20:29 Large initrd and arch/ppc/boot/simple Question Kent Borg
2003-07-01 20:38 ` Wolfgang Denk
2003-07-01 21:51 ` Kent Borg
2003-07-01 22:07 ` Mark Hatle
2003-07-02 16:54 ` Kent Borg
2003-07-01 22:12 ` Tom Rini
2003-07-01 22:19 ` Kent Borg
-- strict thread matches above, loose matches on Subject: below --
2003-07-01 20:34 Kerl, John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).