Date: Mon, 28 Oct 2002 13:00:52 -0800 From: Kris Kennaway <kris@obsecurity.org> To: "Eugene M. Zheganin" <emz@norma.perm.ru> Cc: freebsd-stable@FreeBSD.ORG, peter@FreeBSD.org Subject: Re: CVS pserver in FreeBSD 4.7-STABLE Message-ID: <20021028210052.GA61785@xor.obsecurity.org> In-Reply-To: <144738949613.20021028171819@norma.perm.ru> References: <144738949613.20021028171819@norma.perm.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Oct 28, 2002 at 05:18:19PM +0500, Eugene M. Zheganin wrote: > Hi, all. > > 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: > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 4958 hunter 64 0 67144K 648K RUN 7:34 15.58% 15.58% cvs > 4939 alex 64 0 67144K 568K RUN 7:57 15.28% 15.28% cvs > 4960 hunter 64 0 67144K 10348K RUN 7:34 14.21% 14.21% cvs > 4971 hunter 64 0 67144K 66400K RUN 7:34 14.11% 14.11% cvs > 4919 alex 64 0 67144K 568K RUN 7:44 13.23% 13.23% cvs I think this is a known bug in CVS: I'm CC'ing Peter on the reply because he'll know more. Kris > > There is at list one zombie process among them: > > # ps -ax | grep cvs > 4919 ?? Rs 7:50,15 cvs --allow-root=/usr/local/public/cvs pserver > 4939 ?? Rs 8:02,97 cvs --allow-root=/usr/local/public/cvs pserver > 4958 ?? Rs 7:40,10 cvs --allow-root=/usr/local/public/cvs pserver > 4960 ?? Rs 7:39,88 cvs --allow-root=/usr/local/public/cvs pserver > 4961 ?? Z 0:00,00 (cvs) > 4971 ?? Rs 7:39,87 cvs --allow-root=/usr/local/public/cvs pserver > 97058 p1 S+ 0:00,02 /bin/csh -c ps -ax | grep cvs > 97205 p1 S+ 0:00,00 grep cvs > > and I think the problem is in that zombie. > > I can kill these procecces only by "killall -9 cvs". > > When I type "kill -9 <zombie PID>" can't kill it. > > I use CVS-repository with password auth, all binaries are from the > base system; I launch cvs from inetd.conf with string > > cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/usr/local/public/cvs pserver > > may be I should change some of its flags ? > > WBR Eugene. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9vaWEWry0BWjoQKURAlpuAKCWy+A8eWIm1H8N3zHwAw7kKipV6wCfV24O Aupy6spYTLkmv64q0xSA0RI= =U8oK -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021028210052.GA61785>
