From: Antoine Martin <antoine@nagafix.co.uk>
To: Jeff Dike <jdike@addtoit.com>
Cc: User-mode Linux Kernel Development
<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] console and do_syscall_stub
Date: Thu, 24 Jan 2008 23:20:28 +0000 [thread overview]
Message-ID: <47991D3C.50303@nagafix.co.uk> (raw)
In-Reply-To: <20080123232313.GA11799@c2.user-mode-linux.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Jeff Dike wrote:
> On Wed, Jan 23, 2008 at 10:58:45PM +0000, Antoine Martin wrote:
>> [42949466.740000] do_syscall_stub : ret = -12, offset = 548682067984,
>> data = 00000000606b1010
>
> This usually means that a UML process hit the host's vm_area_struct limit.
>
> Look at the host's /proc/sys/vm/max_map_count - the default is 64K,
> which, given UML's propensity to map memory one page at a time, covers
> 256M of resident memory for a UML process.
>
> I'd say double or quadruple it, depending on how much memory you think
> a process can use. To be absolutely safe, make it big enough to cover
> all of a UML's physical memory, since a process RSS can't exceed that.
>
Thanks, hasn't happened since.
Any idea about this console thing?
(....)
[42949547.530000] Failed to open console 12, err = -2
[42949547.530000] Failed to open console 12, err = -2
[42949547.530000] Failed to open console 12, err = -2
[42949547.990000] Failed to open console 12, err = -2
[42949548.160000] Failed to open console 12, err = -2
[42949548.190000] Failed to open console 12, err = -2
[42949548.740000] Failed to open console 12, err = -2
[42949549.390000] Failed to open console 12, err = -2
[42949550.270000] Failed to open console 12, err = -2
[42949551.710000] Failed to open console 12, err = -2
[42949555.500000] Failed to open console 12, err = -2
[42949559.010000] Failed to open console 12, err = -2
[42949566.330000] Failed to open console 12, err = -2
[42949572.620000] Failed to open console 12, err = -2
[42949593.450000] syslog-ng invoked oom-killer: gfp_mask=0xa01d2,
order=0, oomkilladj=0
[42949593.450000] Call Trace:
[42949593.450000] 7f2afb18: [<60047774>] printk_ratelimit+0x15/0x17
[42949593.450000] 7f2afb28: [<6006eb0f>] out_of_memory+0x7c/0xf9
[42949593.450000] 7f2afb68: [<6006fc5f>] __alloc_pages+0x229/0x2b4
[42949593.450000] 7f2afbe8: [<60071bb3>]
__do_page_cache_readahead+0xb5/0x167
[42949593.450000] 7f2afc20: [<60059c5f>] wake_bit_function+0x0/0x2a
[42949593.450000] 7f2afc58: [<60071d40>] do_page_cache_readahead+0x52/0x5f
[42949593.450000] 7f2afc88: [<6006cb5a>] filemap_fault+0x151/0x272
[42949593.450000] 7f2afce8: [<60078c4d>] __do_fault+0x86/0x375
[42949593.450000] 7f2afd68: [<60078f70>] do_linear_fault+0x34/0x36
[42949593.450000] 7f2afd88: [<60079228>] handle_mm_fault+0x13e/0x23d
[42949593.450000] 7f2afde8: [<6001794f>] handle_page_fault+0x11f/0x242
[42949593.450000] 7f2afe48: [<60017c00>] segv+0xb4/0x2b8
[42949593.450000] 7f2aff28: [<60017b46>] segv_handler+0x68/0x6e
[42949593.450000] 7f2aff48: [<6003a7a5>] get_skas_faultinfo+0x9c/0xa1
[42949593.450000] 7f2aff68: [<6003ad4f>] userspace+0x13a/0x19d
[42949593.450000] 7f2affc8: [<600186d6>] fork_handler+0x86/0x8d
[42949593.450000]
[42949593.450000] Mem-info:
[42949593.450000] Normal per-cpu:
[42949593.450000] CPU 0: Hot: hi: 186, btch: 31 usd: 22 Cold:
hi: 62, btch: 15 usd: 30
[42949593.450000] Active:122119 inactive:48 dirty:0 writeback:0 unstable:0
[42949593.450000] free:719 slab:1833 mapped:3 pagetables:317 bounce:0
[42949593.450000] Normal free:2876kB min:2876kB low:3592kB high:4312kB
active:488476kB inactive:192kB present:517120kB pages_scanned:734521
all_unreclaimable? yes
[42949593.450000] lowmem_reserve[]: 0 0
[42949593.450000] Normal: 25*4kB 3*8kB 0*16kB 0*32kB 1*64kB 1*128kB
0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2876kB
[42949593.450000] Swap cache: add 0, delete 0, find 0/0, race 0+0
[42949593.450000] Free swap = 0kB
[42949593.450000] Total swap = 0kB
[42949593.450000] Free swap: 0kB
[42949593.450000] 131072 pages of RAM
[42949593.450000] 0 pages of HIGHMEM
[42949593.450000] 5658 reserved pages
[42949593.450000] 23 pages shared
[42949593.450000] 0 pages swap cached
[42949593.450000] Out of memory: kill process 2939 (syslog-ng) score
7875 or a child
[42949593.450000] Killed process 2939 (syslog-ng)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmR07GK2zHPGK1rsRChM2AJsFWORF7/7RsEbEZrgtwvWrpHOAWgCfZm+8
gpvM9JRNUPgTeUYUc2ba4Q0=
=dEeA
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2008-01-24 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-23 22:58 [uml-devel] console and do_syscall_stub Antoine Martin
2008-01-23 23:23 ` Jeff Dike
2008-01-24 23:20 ` Antoine Martin [this message]
2008-01-24 23:23 ` Antoine Martin
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=47991D3C.50303@nagafix.co.uk \
--to=antoine@nagafix.co.uk \
--cc=jdike@addtoit.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox