From owner-freebsd-ports@FreeBSD.ORG Fri Sep 26 04:38:16 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC8B792E for ; Fri, 26 Sep 2014 04:38:16 +0000 (UTC) Received: from nskntqsrv01p.mx.bigpond.com (nskntqsrv01p.mx.bigpond.com [61.9.168.231]) by mx1.freebsd.org (Postfix) with ESMTP id 7704D6E0 for ; Fri, 26 Sep 2014 04:38:15 +0000 (UTC) Received: from nskntcmgw08p ([61.9.169.168]) by nskntmtas05p.mx.bigpond.com with ESMTP id <20140926041543.XEDD19653.nskntmtas05p.mx.bigpond.com@nskntcmgw08p>; Fri, 26 Sep 2014 04:15:43 +0000 Received: from hermes.heuristicsystems.com.au ([121.210.107.100]) by nskntcmgw08p with BigPond Outbound id vgFh1o00Y29zwdD01gFhPv; Fri, 26 Sep 2014 04:15:43 +0000 X-Authority-Analysis: v=2.0 cv=D6DF24tj c=1 sm=1 p=7jTjQG80AAAA:8 a=SEJ2iDwVkb98DYvesvueMw==:17 a=0aGaYNJWb7cA:10 a=N659UExz7-8A:10 a=GHIR_BbyAAAA:8 a=6I5d2MoRAAAA:8 a=WKVdsxKl_Xlujyz5ae8A:9 a=pILNOxqGKmIA:10 a=SEJ2iDwVkb98DYvesvueMw==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id s8Q4F4th010936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 26 Sep 2014 14:15:05 +1000 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <5424E843.1020205@heuristicsystems.com.au> Date: Fri, 26 Sep 2014 14:14:59 +1000 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: "Brian W." , Victor Sudakov Subject: Re: squid-3.4.8_1 leaking memory References: <20140925045657.GA71070@admin.sibptus.tomsk.ru> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 04:38:16 -0000 (Bottom-posted) On 25/09/2014 3:48 PM, Brian W. wrote: > You seem to be onto something. On a single user testbox I use I see this > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > > 6100 squid 1 20 0 612M 84076K kqread 1 4:01 0.00% squid > > I then restarted squid and saw > > 73400 squid 1 20 0 61568K 21456K kqread 0 0:00 0.00% squid > > I am on the i386 flavor of 10.0-RELEASE-p9 > > On Wed, Sep 24, 2014 at 9:56 PM, Victor Sudakov wrote: > >> Colleagues, >> >> squid-3.4.8_1 seems to be leaking memory heavily. Its SIZE and RES are >> growing several MB per minute until eventually swapping begins. >> >> Is anyone using it? Have you encountered this problem? >> >> The relevant entries in squid.conf are: >> >> cache_mem 128 MB >> cache_dir ufs /webcache/cache 512 16 256 >> memory_pools off # neither "on" nor "off" have any effect on leaking. >> >> As you see, the memory requirements should be rather modest. >> >> Running on 8.4-RELEASE-p16 i386. >> >> -- >> Victor Sudakov, VAS4-RIPE, VAS47-RIPN >> sip:sudakov@sibptus.tomsk.ru >> _______________________________________________ I think you should file a bug report https://bugs.freebsd.org/bugzilla/enter_bug.cgi so that this can be actioned/tracked. I don't have squid 3.4.8 running yet, but a friend forwarded his experience after only 6 days of light use: last pid: 43552; load averages: 0.34, 0.23, 0.18 up 5+22:34:12 06:01:32 245 processes: 1 running, 244 sleeping Mem: 483M Active, 6021M Inact, 1581M Wired, 371M Cache, 1636M Buf, 7394M Free Swap: 32G Total, 1104M Used, 31G Free, 3% Inuse PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 6095 squid 1 20 0 738M 63044K kqread 7 2:12 0.00% squid 73487 squid 1 20 0 326M 7548K kqread 3 0:15 0.00% squid Regards, Dewayne.