Date: Mon, 12 Jul 1999 07:17:59 -0700 (PDT) From: conrad@th.physik.uni-bonn.de To: freebsd-gnats-submit@freebsd.org Subject: misc/12607: System crashes after boot, portmap endlessly forks with getport(ypbind), /proc and file tables filled up Message-ID: <19990712141759.A704314D73@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 12607
>Category: misc
>Synopsis: System crashes after boot, portmap endlessly forks with getport(ypbind), /proc and file tables filled up
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 12 07:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Jan Conrad
>Release: 3.2-STABLE
>Organization:
Univ. of Bonn
>Environment:
FreeBSD merlin.th.physik.uni-bonn.de 3.2-STABLE FreeBSD 3.2-STABLE #4:
Mon Jul 12 11:46:44 CEST 1999 conrad@merlin.th.physik.uni-bonn.de:
/nilles/freebsd/src/sys/compile/MERLIN i386
/usr/src/usr.sbin/ypbind/ypbind.c:
static const char rcsid[] =
"$Id: ypbind.c,v 1.27 1998/01/19 23:31:38 wpaul Exp $";
>Description:
From time to time after boot, shortly after ypbind ist started
nis_client_flags="-S foobar,dirac,avz109,avzw02"
The system crashes during the boot (you still get a shell ....,
rc just stops..)
Excerpt from syslog
...
Jul 12 12:13:00 merlin /kernel: changing root device to wd0s1a
Jul 12 12:13:00 merlin xntpd[123]: xntpd version=3.4e (beta multicast); Fri Jun
25 21:56:36 CEST 1999 (1)
Jul 12 12:13:00 merlin xntpd[123]: tickadj = 5, tick = 10000, tvu_maxslew = 495
Jul 12 12:13:00 merlin xntpd[123]: precision = 6 usec
Jul 12 12:13:01 merlin xntpd[123]: using xntpd phase-lock loop
Jul 12 12:13:01 merlin xntpd[123]: system event 1 status c010
Jul 12 12:13:02 merlin /kernel: proc: table is full
Jul 12 12:13:03 merlin last message repeated 1300 times
Jul 12 12:13:03 merlin rpc.statd: Starting
Jul 12 12:13:03 merlin /kernel: proc: table is full
Jul 12 12:13:03 merlin last message repeated 29 times
Jul 12 12:13:03 merlin /kernel: file: table is full
Jul 12 12:13:03 merlin syslogd: /dev/console: Too many open files in system: Too
many open files in system
Jul 12 12:13:03 merlin syslogd: /var/run/utmp: Too many open files in system
and so on, later in the syslog file:
Jul 12 12:13:07 merlin /kernel: proc: table is full
Jul 12 12:13:07 merlin last message repeated 43 times
Jul 12 12:13:07 merlin portmap[570]: connect from 127.0.0.1 to getport(ypbind)
Jul 12 12:13:07 merlin portmap[571]: connect from 127.0.0.1 to getport(ypbind)
last line serveral hundreds of time!!
Output from 'portmap -v -d' :
(hundresds of) server: about to do a switch
Lastcomm says that the system is filled with portmappers...
excerpt from 'tcpdump -s 200 -vv host merlin':
(hundreds of time:)
12:13:07.109379 merlin.th.physik.uni-bonn.de.960 > dirac.th.physik.uni-bonn.de.9
93: udp 52 (ttl 64, id 11560)
12:13:07.109532 dirac.th.physik.uni-bonn.de.993 > merlin.th.physik.uni-bonn.de.9
60: udp 28 (ttl 64, id 38420)
(dirac (2.2.7-RELEASE) runs ypserv...)
I think its a ypbind problem (but I might be totally wrong...)
I have logs available: tcpdump syslog lastcomm
I've seen something like this on 2.2.7-RELEASE (dirac) some time ago,
but only once, so I can't supply any logs...
>How-To-Repeat:
Just boot many many times :-)
>Fix:
Unknown! (I don't see trough ypbind.c...)
>Release-Note:
>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?19990712141759.A704314D73>
