free memory usage
Quoted 8 lines · - Luis -
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:
Quoted 5 lines
How can i free that memory without rebooting the server?
Thanks a lot
Signature · 1 line
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).
Quoted 11 lines
------------------------
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 12 lines
/"\ 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 webQuoted 6 lines · [email protected] wrote:
Quoted 6 lines
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:
Quoted 6 lines
Quoted 1 line
How can i free that memory without rebooting the server?
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).
More accurately: on receiving SIGKILL, the process will be forcibly terminated, and all of its resources will be released. This doesn't require any cooperation from the program.
Signature · 1 line
Glynn Clements <[email protected]>