From: "Toralf Förster" <toralf.foerster@gmx.de>
To: "user-mode-linux-devel@lists.sourceforge.net"
<user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] oom-killer forced by syscall add_key
Date: Sun, 12 May 2013 16:28:50 +0200 [thread overview]
Message-ID: <518FA722.3020006@gmx.de> (raw)
With
$> trinity --children 2 -c add_key --quiet
it takes only 2 minutes to force an oom-killer at a user mode linux guest.
I'm just wondering if this is a wanted behaviour of the kernel.
2013-05-12T16:26:22.662+02:00 trinity kernel: trinity-child0 invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=500
2013-05-12T16:26:22.662+02:00 trinity kernel: CPU: 0 PID: 1018 Comm: trinity-child0 Not tainted 3.10.0-rc1-00002-gcaec151 #5
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07bd0 3eb07c2c 0835c7bd 3f5a3b3c 3f5a37b0 000200da 00000000 000001f4
2013-05-12T16:26:22.662+02:00 trinity kernel: 08443920 3eb07c00 08071dfe 00000000 3eb07c0c 083614dc 00000001 3eb07c2c
2013-05-12T16:26:22.662+02:00 trinity kernel: 08278d45 08443920 00000001 3eb00000 3f5a3600 3f5a3600 3f5a3600 3eb07c70 3eb07ba4: [<08060d2f>] show_stack+0xcf/0x100
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07bc8: [<0835ed99>] dump_stack+0x26/0x28
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07bd8: [<0835c7bd>] dump_header.isra.12+0x93/0x1c8
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07c30: [<080ce620>] oom_kill_process+0x60/0x310
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07c74: [<080cedcd>] out_of_memory+0x2bd/0x320
2013-05-12T16:26:22.662+02:00 trinity kernel: 3eb07cc0: [<080d2258>] __alloc_pages_nodemask+0x628/0x750
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07d4c: [<080e6750>] handle_pte_fault+0x130/0x780
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07da4: [<080e6e6c>] handle_mm_fault+0xcc/0xe0
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07dd8: [<08061d87>] handle_page_fault+0x127/0x280
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07e1c: [<08061fb6>] segv+0xa6/0x2b0
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07ecc: [<08062233>] segv_handler+0x73/0x80
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07ef4: [<0807503a>] userspace+0x30a/0x590
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07fec: [<0805f82c>] fork_handler+0x6c/0x70
2013-05-12T16:26:22.678+02:00 trinity kernel: 3eb07ffc: [<00000000>] 0x0
2013-05-12T16:26:22.678+02:00 trinity kernel:
2013-05-12T16:26:22.678+02:00 trinity kernel: Mem-Info:
2013-05-12T16:26:22.679+02:00 trinity kernel: Normal per-cpu:
2013-05-12T16:26:22.679+02:00 trinity kernel: CPU 0: hi: 186, btch: 31 usd: 37
2013-05-12T16:26:22.679+02:00 trinity kernel: active_anon:109976 inactive_anon:109982 isolated_anon:0
2013-05-12T16:26:22.679+02:00 trinity kernel: active_file:28 inactive_file:330 isolated_file:0
2013-05-12T16:26:22.679+02:00 trinity kernel: unevictable:0 dirty:1 writeback:0 unstable:0
2013-05-12T16:26:22.679+02:00 trinity kernel: free:928 slab_reclaimable:803 slab_unreclaimable:959
2013-05-12T16:26:22.679+02:00 trinity kernel: mapped:429 shmem:373 pagetables:1683 bounce:0
2013-05-12T16:26:22.679+02:00 trinity kernel: free_cma:0
2013-05-12T16:26:22.679+02:00 trinity kernel: Normal free:3712kB min:3796kB low:4744kB high:5692kB active_anon:439904kB inactive_anon:439928kB active_file:112kB inactive_file:1320kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:928056kB managed:901248kB mlocked:0kB dirty:4kB writeback:0kB mapped:1716kB shmem:1492kB slab_reclaimable:3212kB slab_unreclaimable:3836kB kernel_stack:1536kB pagetables:6732kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:4258 all_unreclaimable? yes
2013-05-12T16:26:22.679+02:00 trinity kernel: lowmem_reserve[]: 0 0
2013-05-12T16:26:22.680+02:00 trinity kernel: Normal: 0*4kB 0*8kB 2*16kB (R) 3*32kB (R) 0*64kB 0*128kB 0*256kB 1*512kB (R) 1*1024kB (R) 1*2048kB (R) 0*4096kB = 3712kB
2013-05-12T16:26:22.680+02:00 trinity kernel: 899 total pagecache pages
2013-05-12T16:26:22.680+02:00 trinity kernel: 168 pages in swap cache
2013-05-12T16:26:22.680+02:00 trinity kernel: Swap cache stats: add 65784, delete 65616, find 448/478
2013-05-12T16:26:22.680+02:00 trinity kernel: Free swap = 0kB
2013-05-12T16:26:22.680+02:00 trinity kernel: Total swap = 262140kB
2013-05-12T16:26:22.680+02:00 trinity kernel: 232014 pages RAM
2013-05-12T16:26:22.680+02:00 trinity kernel: 6702 pages reserved
2013-05-12T16:26:22.680+02:00 trinity kernel: 263109 pages shared
2013-05-12T16:26:22.680+02:00 trinity kernel: 223418 pages non-shared
2013-05-12T16:26:22.681+02:00 trinity kernel: [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 445] 0 445 2273 0 5 107 -1000 udevd
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 870] 0 870 1074 0 3 39 0 syslog-ng
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 871] 0 871 1825 0 4 137 0 syslog-ng
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 885] 0 885 1332 0 4 805 0 haveged
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 899] 0 899 529 5 3 10 0 rngd
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 946] 0 946 594 0 3 28 0 dhcpcd
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 962] 0 962 1287 0 4 84 -1000 sshd
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 990] 0 990 1131 9 4 22 0 cron
2013-05-12T16:26:22.681+02:00 trinity kernel: [ 1007] 0 1007 597 0 3 27 0 agetty
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1009] 0 1009 2086 0 4 147 0 sshd
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1011] 0 1011 543 0 3 17 0 tail
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1012] 0 1012 2086 0 4 145 0 sshd
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1014] 1000 1014 2086 27 4 126 0 sshd
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1015] 1000 1015 3628 2 5 1049 0 trinity
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1016] 1000 1016 3628 11 4 1041 0 trinity-watchdo
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1017] 1000 1017 3749 2 4 1138 0 trinity-main
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1018] 1000 1018 290362 111694 284 33276 500 trinity-child0
2013-05-12T16:26:22.682+02:00 trinity kernel: [ 1019] 1000 1019 281146 108749 275 31440 500 trinity-child1
2013-05-12T16:26:22.682+02:00 trinity kernel: Out of memory: Kill process 1018 (trinity-child0) score 997 or sacrifice child
2013-05-12T16:26:22.683+02:00 trinity kernel: Killed process 1018 (trinity-child0) total-vm:1161448kB, anon-rss:445060kB, file-rss:1716kB
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
reply other threads:[~2013-05-12 14:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518FA722.3020006@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.