From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrown105@speedymail.org Subject: Re: free memory usage Date: Fri, 09 May 2003 22:39:02 -0500 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030510033902.DF6145B89F@smtp.us2.messagingengine.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: unix@amigo.net.gt Cc: linux-admin@vger.kernel.org On Fri, May 09, 2003 at 11:25:31AM +0000, - Luis - wrote: > Hi everyone, > > I got a RH7.3 box which runs a java app, but i got the problem that the app > didn't close the session with the server, so every day i got to reset the > server to free the memory use by all the java sessions. The first thing i > try, was to use a bash script to kill all the java sessions, but i find out > that the memory was still full, so the question is: > > How can i free that memory without rebooting the server? > > Thanks a lot > -- > Luis Valencia If 'kill -SIGTERM' doesnt work, then 'kill -SIGKILL' should. On getting a sigkill the app is required to quit and free all of its memory (as well as close files etc). > ------------------------ > With a PC, I always felt limited > by the software available. > On Unix, I am limited only by my knowledge. > --Peter J. Schoenster > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- /"\ ASCII ribbon | http://www.geocities.com/jbrown1050/ \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME | ---------------------------------------------------------------------- You too can spend five years in prison; just distribute this program once US Senator Hollings's CBDTPA bill is passed into law: perl -e 'while(<>) { print;}' -- http://www.fastmail.fm - Access your email from home and the web