From owner-freebsd-stable Thu Jun 6 16:33: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from decrep.it (hwadsl-213-155-199-202.telvia.it [213.155.199.202]) by hub.freebsd.org (Postfix) with ESMTP id 8092E37B40C for ; Thu, 6 Jun 2002 16:32:55 -0700 (PDT) Received: (qmail 20203 invoked from network); 6 Jun 2002 23:32:46 -0000 Received: from win16.casa.fel (HELO felipe.penguinet.org) (10.201.5.186) by uffa.kazzo.uffa.cazzo.sono.chiuso.in.casa.fel with SMTP; 6 Jun 2002 23:32:46 -0000 Message-ID: <3D0141A6.EFB71473@felipe.penguinet.org> Date: Sat, 08 Jun 2002 01:28:38 +0200 From: felipe gonzales X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: Re: smbd sucking 100% CPU Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 David Kelly wrote: >Upgraded my "personal fileserver" at work to 4.6-RC2 and rebuilt all >ports that I use. Later noticed the machine was running a bit sluggish >only to find smbd was taking all the CPU cycles it could grab. I'm having the same problems with squid, it seem to fork 2 child instead of one and squid -k shutdown did not kill the process that use 99.9% of cpu. This happen with squid-2.4_9 compiled from ports or added via pkg_add -r, the config file is the default one. # ps aux |grep squid nobody 47687 98.5 0.3 4288 2820 ?? R 1:05AM 0:36.47 (squid) (squid) root 47684 0.0 0.1 2976 1520 ?? Is 1:05AM 0:00.01 /usr/local/sbin/squid nobody 47686 0.0 1.0 11100 10332 ?? S 1:05AM 0:00.51 (squid) (squid) I made some test with strace but all seem to be ok. # strace squid -N ----SNIP--- ----SNIP--- sigaction(SIGSEGV, {0x80a5440, [], SA_RESETHAND|SA_NODEFER}, NULL) = 0 sigaction(SIGBUS, {0x80a5440, [], SA_RESETHAND|SA_NODEFER}, NULL) = 0 sigaction(SIGPIPE, {SIG_IGN}, NULL) = 0 sigaction(SIGCHLD, {0x80a571c, [], SA_RESTART|SA_NODEFER}, NULL) = 0 geteuid(0) = 0 setgroups(1, [65533] And it stop there waiting connections, the same behavior of other older FreeBSD machines. This system is a compaq dl380 dual proc, 1GB ram. My version is(cvsupped the same day) - FreeBSD 4.6-RC #4: Mon Jun 3 But I noticed the same behavior with 4.6-PRERELEASE. Tomorrow I will try on another machine with different hardware. Is this happened to someone else ? -- felipe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message