From owner-freebsd-bugs Sat Jul 11 02:10:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14853 for freebsd-bugs-outgoing; Sat, 11 Jul 1998 02:10:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14829 for ; Sat, 11 Jul 1998 02:10:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA19766; Sat, 11 Jul 1998 02:10:01 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13947 for ; Sat, 11 Jul 1998 02:01:04 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id LAA23842 for FreeBSD-gnats-submit@freebsd.org; Sat, 11 Jul 1998 11:00:07 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id KAA02456; Sat, 11 Jul 1998 10:52:41 +0200 (CEST) (envelope-from andreas) Message-Id: <199807110852.KAA02456@klemm.gtn.com> Date: Sat, 11 Jul 1998 10:52:41 +0200 (CEST) From: Andreas Klemm Reply-To: andreas@klemm.gtn.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7245: processes die with signal 6, if machine out of swap, no recovery Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7245 >Category: kern >Synopsis: processes die with signal 6, if machine out of swap, no recovery >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 11 02:10:00 PDT 1998 >Last-Modified: >Originator: Andreas Klemm >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD-current since January 1998 as reported by Holm Tiffe >Description: When the machine is nearly out of swap (around 92% or 95%) then daemons start dying. The console under X11 isn't useable. Machine replies to ping's but a telnet via network in isn't possible, sine it reports: inetd in realloc(): error: junk pointer, too high to make sense. Here something from syslogd: Jul 11 10:16:38 titan /kernel: swap_pager: suggest more swap space: 156 MB Jul 11 10:16:53 titan su: andreas to root on /dev/ttyp1 Jul 11 10:18:23 titan /kernel: isppp0: phase terminate Jul 11 10:18:23 titan /kernel: isppp0: phase dead Jul 11 10:20:38 titan /kernel: isppp0: phase establish Jul 11 10:20:40 titan /kernel: isppp0: phase authenticate Jul 11 10:20:40 titan /kernel: isppp0: phase network Jul 11 10:21:26 titan /kernel: pid 14964 (inetd), uid 0: exited on signal 6 Jul 11 10:22:57 titan /kernel: swap_pager: out of swap space Jul 11 10:22:57 titan /kernel: pid 18354 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18344 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18351 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18338 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18319 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18337 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:57 titan /kernel: pid 18345 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:57 titan /kernel: pid 18329 (cc1), uid 0: exited on signal 6 (core dumped) Jul 11 10:22:58 titan /kernel: pid 18341 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:58 titan /kernel: pid 18340 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:58 titan /kernel: pid 863 (top), uid 1000: exited on signal 6 Jul 11 10:22:58 titan /kernel: pid 18324 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:58 titan /kernel: pid 18343 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:58 titan /kernel: pid 18333 (as), uid 0: exited on signal 6 (core d umped) Jul 11 10:22:58 titan /kernel: pid 816 (XF86_SVGA), uid 0: exited on signal 6 Jul 11 10:23:05 titan /kernel: isppp0: phase terminate Jul 11 10:23:05 titan /kernel: isppp0: phase dead Jul 11 10:26:21 titan /kernel: pid 18359 (inetd), uid 0: exited on signal 6 Jul 11 10:26:21 titan inetd[203]: /usr/local/libexec/tcpd[18359]: exit status 0x 6 Jul 11 10:26:21 titan /kernel: pid 18360 (inetd), uid 0: exited on signal 6 Jul 11 10:26:21 titan inetd[203]: /usr/local/libexec/tcpd[18360]: exit status 0x 6 Jul 11 10:26:21 titan /kernel: pid 18361 (inetd), uid 0: exited on signal 6 Jul 11 10:26:21 titan inetd[203]: /usr/local/libexec/tcpd[18361]: exit status 0x 6 Jul 11 10:26:21 titan /kernel: pid 18362 (inetd), uid 0: exited on signal 6 Jul 11 10:26:21 titan inetd[203]: /usr/local/libexec/tcpd[18362]: exit status 0x6 And lot's more of this inetd messages .... This has already been discussed, in the -current mailinglist under the subject "dying daemons". But it's still not solved. >How-To-Repeat: Reduce your swap space, fire up netscape and such and perhaps a make -j 8 world and startup gimp and such ... I have a SMP machine with 2 PPro's 200, 80 MB, where I reduced the swap from: Device 1K-blocks Used Avail Capacity Type /dev/sd0s2b 67584 9848 57608 15% Interleaved /dev/sd1s1b 102400 9808 92464 10% Interleaved /dev/sd2s1b 102400 9728 92544 10% Interleaved Total 272000 29384 242616 11% to: /dev/sd0s2b 67584 9848 57608 ... >Fix: Sorry, no idea. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message