Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory

Status
Not open for further replies.

rgoud

IS-IT--Management
May 9, 2002
21
US
Hi list,
I ran a memory intense process which used up all the memory available on the Solaris 8 server, process is finished but it is still showing almost all the memory is in use from vmstat command. I know other processes can use it but the problem is the monitoring scripts are sending contineous alerts.
Is there any way we can clear this used memory without rebooting?.
Thanks in advance

 

Hi
If you want to see what processes are actually taking % memory, run the following

# ps -auv

or Solaris 8 -

# psrinfo

And what see you there?

regards ph
 
or

ps -auw | grep defunct

This shows zombies processes (to kill - reboot or kill the parent).
Possibly you have some memory leakage.

Can also:

ps aux | sort -r +3 |head -10

Shows top 10 memory usage by process

regards ph
 
Some child processes of your application are still running / or in zombie state even after the application has quit.

As mentioned by apricot, u can kill the defunct processes in the memory to free up the space.

Regds,

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
We have had problems with ITO (HP Openview) mointoring memory usage on Sun servers. The reason is that it does not cater for the way Soalris manages memory, i.e. it keeps pages in memeory until that memeory is needed by another process. So although memeory lookd like it is in use it is available.

We also have problems with java, netscape & apache processes using up memeory and not releasing it.

Another thing to watch is large files being depositied in /tmp reducing paging space.
Ged Jones

Top man
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top