Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jun 2002 01:28:38 +0200
From:      felipe gonzales <felipe@felipe.penguinet.org>
To:        stable@freebsd.org
Subject:   Re: smbd sucking 100% CPU
Message-ID:  <3D0141A6.EFB71473@felipe.penguinet.org>

next in thread | raw e-mail | index | archive | help
David Kelly <dkelly@hiwaay.net> 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




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