Date: Tue, 27 Mar 2012 19:02:10 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Volodymyr Kostyrko <c.kworr@gmail.com> Cc: stable@FreeBSD.org Subject: Re: trap 12 on 9.0 when memcache gets some load Message-ID: <4F71E482.7060509@FreeBSD.org> In-Reply-To: <4F71E14A.8010605@gmail.com> References: <4F71E14A.8010605@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 27/03/2012 18:48 Volodymyr Kostyrko said the following: > Hi all. > > I'm just puzzled with this. At first I though this happens because of some memory > problems. But now project was moved to another server with some other brands for > motherboard/memory and different cpu's. And still once in an hour this happens again: > > == screenshot > current_process = 1935 (memcached) > trap number = 12 > panic: page fault > cpuid = 2 > KDB: stack backtrace: > #0 0xffffffff8038ab38 at kdb_backtrace+0x58 > #1 0xffffffff80358f80 at panic+0x190 > #2 0xffffffff80567b15 at trap_fatal+0x395 > #3 0xffffffff80567ce9 at trap_pfault+0x1c9 > #4 0xffffffff80567536 at trap+0x3a6 > #5 0xffffffff80552603 at calltrap+0x8 > #6 0xffffffff803b2c90 at socow_setup+0xd0 I think that zero-copy sockets are not regarded as a reliable feature. Not an expert, just my two cents. > #7 0xffffffff803bc12a at sosend_copyin+0x10a > #8 0xffffffff803bc7c6 at sosend_generic+0x4f6 > #9 0xffffffff803c2028 at kern_sendit+0x1e8 > #10 0xffffffff803c22a1 at sendit+0xd1 > #11 0xffffffff803c2331 at sys_sendmsg+0x61 > #12 0xffffffff805681c5 at amd64_syscall+0x2a5 > #13 0xffffffff805528eb at Xfast_syscall+0xfb > GEOM_MIRROR: Device beeb0swap: provider mirror/beeb0swap destroyed. > GEOM_MIRROR: Device beeb0swap destroyed. > GEOM_MIRROR: Device kohrah0swap: provider mirror/kohrah0swap destroyed. > GEOM_MIRROR: Device kohrah0swap destroyed. > Uptime: 1d10h46m37s > Dumping 9737 out of 12268 MB: > == > > And everything stalls. I have dumpdev_auto set at /etc/rc.conf and selected swap > device (kohrah0swap) size is 32Gb so it should save dumps but it doesn't. Next > time i'll try to give it raw volume for dump. > > The most curious thing for me is userland app crashing whole kernel. If I switch > to redis everything works like a charm. > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F71E482.7060509>