From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 15:51:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A60BF106566C for ; Wed, 14 Mar 2012 15:51:37 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (adsl-70-129-195-213.dsl.ksc2mo.swbell.net [70.129.195.213]) by mx1.freebsd.org (Postfix) with ESMTP id 594F08FC17 for ; Wed, 14 Mar 2012 15:51:36 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q2EFj5E1005019 for ; Wed, 14 Mar 2012 10:45:06 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 14 Mar 2012 10:45:05 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.6 Subject: flowcleaner running away with CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 15:51:37 -0000 I have a FreeBSD 8.2-REALEASE-p5 system that is running as a Squid proxy server, after some complaints for internet performance I logged into the system to take a look, and discovered the flowcleaner process is consuming 100% on one CPU. I did some searching, and have discovered that there have been some bugs in the past with this, and found the flowing command listed as a work around. sysctl net.inet.flowtable.enable=0 I tried this, but there was no change, is this something that has to be done in the sysctl.conf configuration file that doesn't take effect until a reboot? Or is there a process I can restart that will at least temporarily resolve this issue without completely interrupting internet traffic for a few hundred users? last pid: 51636; load averages: 1.03, 1.10, 1.09 up 50+02:41:37 10:35:09 89 processes: 4 running, 71 sleeping, 14 waiting CPU: 0.4% user, 0.0% nice, 49.7% system, 0.6% interrupt, 49.3% idle Mem: 722M Active, 765M Inact, 415M Wired, 24M Cache, 213M Buf, 47M Free Swap: 4061M Total, 212K Used, 4061M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 2 171 ki31 0K 32K RUN 0 2019.8 100.00% idle 19 root 1 76 - 0K 16K CPU0 0 349.3H 100.00% flowcleaner 58759 squid 1 45 0 626M 594M select 0 683:15 2.98% squid 0 root 7 8 0 0K 96K - 1 1510.7 0.00% kernel 12 root 14 -60 - 0K 224K WAIT 1 362:54 0.00% intr 17 root 1 44 - 0K 16K syncer 1 61:43 0.00% syncer 1095 root 1 44 0 96672K 75432K select 1 36:11 0.00% vmtoolsd 13 root 1 -16 - 0K 16K - 1 16:10 0.00% yarrow -- Thanks, Dean E. Weimer dweimer@dweimer.net http://www.dweimer.net/