Date: Tue, 26 Feb 2002 15:19:05 +0100 From: Cliff Sarginson <csfbsd@raggedclown.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: Flush Memory Message-ID: <20020226141905.GA43766@raggedclown.net> In-Reply-To: <4.2.0.58.20020226015135.009582c0@pop.netzero.net> References: <4.2.0.58.20020226015135.009582c0@pop.netzero.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 26, 2002 at 01:58:24AM -0500, Lord Raiden wrote: > Hi all. Ok, I've got one server that's got a problem. I'm not sure > which is the offending program, but until I get time to find it I kind of > want to Band-Aid it for now. What's happening is I've got processes that > are using memory but not releasing it after they close, then the memory > fills up and dumps into the swap file, that overloads and the server dies. > > I'm looking for something that will go in and flush the physical > memory every hour and clear out any memory that isn't locked by a given > process. Basically memory that can be freed up and isn't needed > anymore. I know they have a program called "freemem" that does something > similar to this on windoze, but I'm just needing to totally clean out the > dead, abandoned, orphaned, or unused physical memory without dumping it to > the swap file to maximize available memory. Any ideas? Thanks. > If you are suggesting that somehow memory is getting left "locked" when a process dies then you are suggesting a fundamental bug in the O/S ! Which I doubt somehow. You need to find which processes have what, the output of ps, or a snapshot of top sent to the list may help someone throw some light on this. -- Regards Cliff Sarginson -- <csfbsd@raggedclown.net> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020226141905.GA43766>