Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 08:03:11 +0100
From:      "Morten A . Middelthon" <morten@freenix.no>
To:        Andrew Gordon <arg@arg1.demon.co.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Portmap going berserk(!)
Message-ID:  <20010216080311.A123@freenix.no>
In-Reply-To: <Pine.BSF.4.21.0102152319120.583-100000@server.arg.sj.co.uk>; from arg@arg1.demon.co.uk on Thu, Feb 15, 2001 at 11:36:30PM %2B0000
References:  <20010215192135.A95579@freenix.no> <Pine.BSF.4.21.0102152319120.583-100000@server.arg.sj.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 15, 2001 at 11:36:30PM +0000, Andrew Gordon wrote:
> On Thu, 15 Feb 2001, Morten A . Middelthon wrote:
> 
> > I got a FreeBSD 4.1.1-STABLE built Oct 8, which seems to have been running just
> > fine for about 40 days. But now, all of a sudden, portmap forks off nnn
> > processes, and the load on the box goes up to about 150 (not kidding). Running
> 
> I've seen over 400...

Yes, and after letting portmap go wild for another minute or two the load was
up to ~350.

> > portmap with -v doesn't give me anything, running it with -d starts spitting
> > out thousands of 'server: about to do a switch' messages to my console. I
> > tried rebooting the box, but it starts all over again.
> 
> You want to reboot the NIS client boxes which are bashing it, rather than
> the machine itself.

It seems like my 4.2-STABLE workstation was causing it. I rebooted it, and the
server went to normal operation, sortof.

> > The box is running as a DHCP, NFS, Samba, NIS, Apache, named and printserver,
> > so it's quite an important box in my network.
> > 
> > Is there any known portmap-related problems? Right now I'm building with new
> > updated sources, hoping desperately it will help.
> 
> I don't think it will help.  This is a known problem (there's a few
> messages in the archives).  I suspect the reason noone's fixed it is that
> it's hard to reproduce, and in the kind of situation where you do
> reproduce it (NIS server in large network with lots of traffic), there
> isn't much opportunity to investigate because the 'phones are ringing like
> crazy with all the users that can't log in...

Well at least I got the opportunity to upgrade the box :} I've wanted to
increase certain kernel options for a long time now, but was unwilling to
reboot it.

> The work-around is to list all your NIS servers explicitly (described as
> "many-cast" in the ypbind manpage) rather than broadcasting.

I'll try that.

Anyway, thnx for your help.

-- 
Morten A. Middelthon
Freenix Norge
http://www.freenix.no/
--
You don't sew with a fork, so I see no reason to eat with knitting
needles.
	-- Miss Piggy, on eating Chinese Food


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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