Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 19:24:59 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        Chris H <bsd-lists@bsdforge.com>
Cc:        Kevin Oberman <rkoberman@gmail.com>, J David <j.david.lists@gmail.com>, freebsd-stable <freebsd-stable@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Significant memory leak in 9.3p10?
Message-ID:  <1AA74AFB-EBB4-48EE-A4A8-F7E5597F16A7@lafn.org>
In-Reply-To: <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net>
References:  <CABXB=RRhynY5FWvw3tHrLFRyitTemavXYLBpev5Mjs_kPqimXA@mail.gmail.com> <20150316232404.GM2379@kib.kiev.ua> <CABXB=RSt0MgEyoJs4o5utTg7oSu0RZ%2B-czeY0k-Ro%2BfRubK3kQ@mail.gmail.com> <CABXB=RTe9d0DD68RCi6JWKH%2BcK%2Ba8McmKmeejTypLhVZRc0t7w@mail.gmail.com> <CAN6yY1si_6KRXrTdXABGdtAfqRcCyqqe48acbVUmRT1eZ7tuXw@mail.gmail.com> <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> <, > <CABXB=RQv_u_ca1o6GA%2B9Wmv5f3QRTHp4Sgh%2BC=RRRmz7owKN4A@mail.gmail.com> <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 26 March 2015, at 18:02, Chris H <bsd-lists@bsdforge.com> wrote:
> 
> On Thu, 26 Mar 2015 20:28:15 -0400 J David <j.david.lists@gmail.com> wrote
> 
>> On Thu, Mar 26, 2015 at 8:25 PM, Chris H <bsd-lists@bsdforge.com> wrote:
>>> As Kevin already noted; stopping firefox, and starting it again,
>>> seems the only solution.
>> 
>> 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.
> 
> 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.
> 
> 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’t have any dynamic storage used, just a couple of short character strings and one integer.  The binary file is 23KB.  I couldn’t take time to run gdb on it as it was affecting production.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1AA74AFB-EBB4-48EE-A4A8-F7E5597F16A7>