linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Out of memory?
@ 2000-06-12 10:39 Michel Lanners
  2000-06-12 11:42 ` Olaf Hering
  2000-06-12 12:46 ` Michael Schmitz
  0 siblings, 2 replies; 4+ messages in thread
From: Michel Lanners @ 2000-06-12 10:39 UTC (permalink / raw)
  To: linuxppc-dev


Hi list,

I've run into memory problems. I'm experimenting with Gimp, and working
with relatively large images (3000 x 3000 pixels). I'm also working with
large fonts (>100 pixels).

Problem is that the kernel VM layer starts to kill my processes when
they get really big re. memory footprint. Here are the massages from the
kernel:

Jun 12 10:53:13 piglet kernel: VM: killing process gimp
Jun 12 10:55:03 piglet kernel: VM: killing process X
Jun 12 10:59:46 piglet kernel: VM: killing process X
Jun 12 12:04:27 piglet kernel: VM: killing process xfs

and so on... acording to the comment in arch/ppc/mm/fault.c, this
happens when for some reason the kernel cannot satisfy a paging request.

xfs gets killed when rendering a really big font, X when sending it over
to gimp, and gimp when working with large images....

What reason is there to kill a process for memory reasons? Does a single
process need to fit _entirely_ into RAM, or can part of a process be
swapped out? In all of the above cases, I've always had over 100 megs of
swap free. Or is there a fixed limit on how big a process can get?

Thanks

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Out of memory ?
@ 2002-01-30 14:58 GOTZON ASTONDOA
  0 siblings, 0 replies; 4+ messages in thread
From: GOTZON ASTONDOA @ 2002-01-30 14:58 UTC (permalink / raw)
  To: linuxppc-embedded


 Hi all,

  I have a custom board based in the MPC823e.
  I am using mvista ftpserver who works OK in the FADS but, when i try to do
it in my custom board it says that it is out of memory. But with the meminfo
it says that i have memory.

  Can anybody help me?
  Thanks in advance


  # cat meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:   6381568  2576384  3805184  1208320  1048576   593920
Swap:        0        0        0
MemTotal:         6232 kB
MemFree:          3716 kB
MemShared:        1180 kB
Buffers:          1024 kB
Cached:            580 kB
Active:           1604 kB
Inact_dirty:         0 kB
Inact_clean:         0 kB
Inact_target:       24 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:         6232 kB
LowFree:          3716 kB
SwapTotal:           0 kB
SwapFree:            0 kB




# chroot /nfs/CNC8055_FTPSERVER/


BusyBox v0.60.0 (2001.09.18-16:26+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# inetd -d
ADD : echo proto=tcp, wait.max=0.40, user.group=root.(null) builtin=100141dc
server=internal
ADD : echo proto=udp, wait.max=0.40, user.group=root.(null) builtin=100141ec
server=internal
ADD : discard proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=100141fc server=internal
ADD : discard proto=udp, wait.max=0.40, user.group=root.(null)
builtin=1001420c server=internal
ADD : daytime proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=1001423c server=internal
ADD : daytime proto=udp, wait.max=0.40, user.group=root.(null)
builtin=1001424c server=internal
ADD : chargen proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=1001425c server=internal
ADD : chargen proto=udp, wait.max=0.40, user.group=root.(null)
builtin=1001426c server=internal
ADD : ftp proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0
server=/bin/ftpd
someone wants ftp
accept, ctrl 3
kmod: runaway modprobe loop assumed and stopped
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 29 (inetd).
Out of Memory: Killed process 30 (inetd).
request_module[net-pf-1]: waitpid(31,...) failed, errno 1
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).
Out of Memory: Killed process 30 (inetd).


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-30 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-12 10:39 Out of memory? Michel Lanners
2000-06-12 11:42 ` Olaf Hering
2000-06-12 12:46 ` Michael Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2002-01-30 14:58 Out of memory ? GOTZON ASTONDOA

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).