From owner-freebsd-stable Tue Nov 5 6: 7:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A1E37B401; Tue, 5 Nov 2002 06:07:13 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB71943E91; Tue, 5 Nov 2002 06:07:08 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gA5E70RK089956 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 5 Nov 2002 16:07:00 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gA5E6ufl089939; Tue, 5 Nov 2002 16:06:56 +0200 (EET) Date: Tue, 5 Nov 2002 16:06:56 +0200 From: Ruslan Ermilov To: Kris Kennaway Cc: "Eugene M. Zheganin" , freebsd-stable@FreeBSD.ORG, Peter Wemm Subject: Re: CVS pserver in FreeBSD 4.7-STABLE Message-ID: <20021105140656.GA88730@sunbay.com> References: <144738949613.20021028171819@norma.perm.ru> <20021028210052.GA61785@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20021028210052.GA61785@xor.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 28, 2002 at 01:00:52PM -0800, Kris Kennaway wrote: > On Mon, Oct 28, 2002 at 05:18:19PM +0500, Eugene M. Zheganin wrote: > > Hi, all. > >=20 > > Ater installing FreeBSD 4.7-STABLE from cvsup I niticed the follwing > > problem: there is an CVS-repository on one of my FreeBSD boxes, and > > during it's work from time to time some cvs procecces appear; they do > > nothing, but their summary CPU load is enough high: > >=20 > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU C= OMMAND > > 4958 hunter 64 0 67144K 648K RUN 7:34 15.58% 15.58% c= vs > > 4939 alex 64 0 67144K 568K RUN 7:57 15.28% 15.28% c= vs > > 4960 hunter 64 0 67144K 10348K RUN 7:34 14.21% 14.21% c= vs > > 4971 hunter 64 0 67144K 66400K RUN 7:34 14.11% 14.11% c= vs > > 4919 alex 64 0 67144K 568K RUN 7:44 13.23% 13.23% c= vs >=20 > I think this is a known bug in CVS: I'm CC'ing Peter on the reply > because he'll know more. >=20 I'm seeing this two, after upgrading our 4.5-STABLE box to 4.7-STABLE last Saturday. For example: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMA= ND 65743 cvh 55 0 67316K 66768K RUN 220:23 85.84% 85.84% cvs > > There is at list one zombie process among them: > >=20 > > # ps -ax | grep cvs > > 4919 ?? Rs 7:50,15 cvs --allow-root=3D/usr/local/public/cvs pser= ver > > 4939 ?? Rs 8:02,97 cvs --allow-root=3D/usr/local/public/cvs pser= ver > > 4958 ?? Rs 7:40,10 cvs --allow-root=3D/usr/local/public/cvs pser= ver > > 4960 ?? Rs 7:39,88 cvs --allow-root=3D/usr/local/public/cvs pser= ver > > 4961 ?? Z 0:00,00 (cvs) > > 4971 ?? Rs 7:39,87 cvs --allow-root=3D/usr/local/public/cvs pser= ver > > 97058 p1 S+ 0:00,02 /bin/csh -c ps -ax | grep cvs > > 97205 p1 S+ 0:00,00 grep cvs > >=20 > > and I think the problem is in that zombie. > >=20 > > I can kill these procecces only by "killall -9 cvs". > >=20 > > When I type "kill -9 " can't kill it. > >=20 > > I use CVS-repository with password auth, all binaries are from the > > base system; I launch cvs from inetd.conf with string > >=20 > > cvspserver stream tcp nowait root /usr/bin/cvs cvs --a= llow-root=3D/usr/local/public/cvs pserver > >=20 > > may be I should change some of its flags ? > >=20 > > WBR Eugene. --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9x9CAUkv4P6juNwoRAqziAJ9uT/Jqy3bqdJAt0NxQUJ2Eb1yMygCdGgW4 3FaeYrIF/8qtx4W3Oe8Lr2Q= =0T1Q -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message