Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 1998 10:52:41 +0200 (CEST)
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7245: processes die with signal 6, if machine out of swap, no recovery
Message-ID:  <199807110852.KAA02456@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help

>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 <freebsd@magnet.geophysik.tu-freiberg.de>

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807110852.KAA02456>