[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Processes being killed (kernel: __alloc_pages: 0-order allocation failed (gfp=0x1f0/0))



Title: Message
Yes, this is an out of memory. It doesn't have to be a memory leak. Even if you do malloc(1000000) Linux won't allocate the memory until you access it so it may be just that you access a new page. The memory used by each process is available in /proc/pid/status and for the kernel in /proc/slabinfo. Read info/man pages to undestand the output.
-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com] On Behalf Of Randy Graham
Sent: Thursday, September 30, 2004 6:27 PM
To: dev-etrax
Subject: Processes being killed (kernel: __alloc_pages: 0-order allocation failed (gfp=0x1f0/0))

Hello,

 

This is probably a linux issue, but can anyone tell me why processes on my axis device server 83 board are getting killed?

 

I suspected a memory leak in my app but it looks clean (tested with valgrind and insure++ on a linux desktop box).

 

Here is the output, the last app getting killed is my test app.

 

Is there anyway to monitor ramm memory usage on the devboard?

 

Thanks for any help.

 

Sep 29 13:21:00 AxisProduct kernel: VM: killing process sh

Sep 29 13:21:00 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0xf0/0)

Sep 29 13:21:03 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)

Sep 29 13:21:03 AxisProduct kernel: VM: killing process sh

Sep 29 13:22:17 AxisProduct respawnd[106]: Respawning "/usr/sbin/klogd -x".

Sep 29 13:22:18 AxisProduct kernel: klogd 1.4.1, log source = /proc/kmsg started.

Sep 29 13:22:18 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)

Sep 29 13:22:18 AxisProduct kernel: VM: killing process klogd

Sep 29 13:22:18 AxisProduct respawnd[106]: Stopping "/bin/utelnetd -d".

Sep 29 13:22:18 AxisProduct respawnd[106]: Respawning "/bin/utelnetd -d".

Sep 29 13:22:22 AxisProduct respawnd[106]: Stopping "/bin/vftpd".

Sep 29 13:22:22 AxisProduct vftpd[230]: Exiting

Sep 29 13:22:23 AxisProduct respawnd[106]: Respawning "/bin/vftpd".

Sep 29 13:22:24 AxisProduct vftpd[10919]: Starting vftpd 0.01

Sep 29 13:22:27 AxisProduct respawnd[106]: Stopping "/bin/boa -c /etc/httpd/conf".

Sep 29 13:22:34 AxisProduct respawnd[106]: Respawning "/bin/boa -c /etc/httpd/conf".

Sep 29 13:22:39 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1f0/0)

Sep 29 13:23:28 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)

Sep 29 13:23:28 AxisProduct kernel: VM: killing process sh

Sep 29 13:23:31 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1f0/0)

Sep 29 13:23:57 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)

Sep 29 13:23:57 AxisProduct kernel: VM: killing process sh

Sep 29 13:23:57 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0xf0/0)

Sep 29 13:24:08 AxisProduct kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)

Sep 29 13:24:08 AxisProduct kernel: VM: killing process testapp