From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 02:29:24 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 029D65A3; Fri, 27 Mar 2015 02:29:24 +0000 (UTC) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id A5A02FB1; Fri, 27 Mar 2015 02:29:23 +0000 (UTC) Received: from [10.0.1.2] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.9) with ESMTP id t2R2Oxi7032249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2015 19:24:59 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Significant memory leak in 9.3p10? From: Doug Hardie In-Reply-To: <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net> Date: Thu, 26 Mar 2015 19:24:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1AA74AFB-EBB4-48EE-A4A8-F7E5597F16A7@lafn.org> References: <20150316232404.GM2379@kib.kiev.ua> <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> <, > <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net> To: Chris H X-Mailer: Apple Mail (2.2070.6) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean Cc: Kevin Oberman , J David , freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 02:29:24 -0000 > On 26 March 2015, at 18:02, Chris H wrote: >=20 > On Thu, 26 Mar 2015 20:28:15 -0400 J David = wrote >=20 >> On Thu, Mar 26, 2015 at 8:25 PM, Chris H = wrote: >>> As Kevin already noted; stopping firefox, and starting it again, >>> seems the only solution. >>=20 >> The machines in questions are servers, they do not run Firefox or any >> GUI. And whatever is using the memory does not show up on ps or top. > Fair enough. I'm still getting caught up, on the thread. >=20 > Maybe another "shot in the dark". But speaking of Servers. We > ran into trouble with a web server generating *enormous* error > logs -- a runaway script. The result was, even tho there was > far more than adequate space for the swelling log(s). Memory, > and eventually Swap usage, began to climb quite steadily. >=20 > Like I said; maybe a shot in the dark. But just thought I'd > mention it. I just encountered the same problem on a FreeBSD 8.2-RELEASE-p3 server = today. Swap was at 100% and processes were being killed. I used ps ax = and killed all the processes with W status that I could. Swap usage = went down to 99%. This was a production server so was forced to reboot. = After the reboot, the system came back up with the same process set and = zero swap used. Shortly after that a core image appeared and the root = filesystem was full. The core file was about 1 GB. However, none of my = processes are anywhere near that. The specific process that was dumped = is only about 140 lines of C code and doesn=E2=80=99t have any dynamic = storage used, just a couple of short character strings and one integer. = The binary file is 23KB. I couldn=E2=80=99t take time to run gdb on it = as it was affecting production.