Sponsored Content
Operating Systems AIX Command to fresh the memory ! Post 302370270 by zxmaus on Wednesday 11th of November 2009 02:12:46 AM
Old 11-11-2009
First of all - what you describe is called forking and it should not happen if you have sufficient memory + pagingspace in your box and lru_file_repage is switched off. If it happens frequently, you very likely have insufficient memory in your box or some memory leaks.
Please check your avm value (what is shown in 4k pages!!) with the vmstat command - a healthy box is somewhere around 80% of physical memory. If you're dramatically exceeding it, you simply need to add physical memory or reduce the consumtion.
Check with vmo command the value of lru_file_repage - if its set to 0, than your system rarely uses pagingspace (as long as you have enough physical memory) and your system should not fork at all.
As far as I know, the only fast and reliable way apart from killing the top memory consuming processes (what is sometimes not possible because it would require to start a new process what's usually not possible when your box is really forking/inresponsive) to refresh memory is to reboot the box.
If it's possible that you're out of memory because i.e. a crashed database did not free up its shared memory, you can give it a try using ipcrm on the misallocated shared memory segments - but be careful that you don't do it on shared memory actually in use. And as stated before - this only works if you have enough free memory to start a new process. So you need to give it again and again a try until it works.
Hope that helps,
kind regards
zxmaus
 

6 More Discussions You Might Find Interesting

1. Solaris

fresh admin

hi everybody i'm just recreuted as UNIX system admin... please tell me from where do i have to begin... best regards (8 Replies)
Discussion started by: hmaiida
8 Replies

2. Filesystems, Disks and Memory

Memory Command

Hello, What are the comparative command in solaris for checking the memory and produced the output as free -m does in linux. (1 Reply)
Discussion started by: 009satyendra
1 Replies

3. Solaris

memory manufacturer command

Does anybody know the command i issue to find out the manufacturer of the RAM modules in my machine ....ie KINGSTON etc ....i know there is one because I saw sombody use it the other day cheers (1 Reply)
Discussion started by: hcclnoodles
1 Replies

4. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

Hi all, I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command. Thanks in advance. Thanks, Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies

5. UNIX for Dummies Questions & Answers

Very fresh to UNIX

Hello all, I am very new to unix. Can anybody suggest me good learning videos and their links for UNIX. Thanks (1 Reply)
Discussion started by: nnani
1 Replies

6. Solaris

I 'd like to start fresh.

How can I deinstall or delete the whole environment and delete everything (all the files, group, users). I would like to start fresh. I 'd like to install ORACLE 12c. Create users from scratch, create group from scratch etc) Why? I installed Oracle 11g on Solaris. It had an ORACLE_BASE,... (6 Replies)
Discussion started by: newborndba
6 Replies
services.window(4)					     Kernel Interfaces Manual						services.window(4)

NAME
services.window - file containing applications and their associated memory window ID DESCRIPTION
The file is used by applications using memory windows. Each line in the file associates an application with a memory window ID. A line in the file cannot start with a space or tab. The format is a unique name, defining the application, followed by a space/tab, followed by a unique window_id. See the sample file in Memory windows allows for the starting of a process in a unique or existing memory window where it can create and share objects with other applications in the same memory window. The creation of memory windows removes the system wide restriction on shared resources. Without memory windows, 32-bit processes were lim- ited to 1.75 gigabytes of shared resources. Each memory window allows for the definition of a unique 1 gigabyte quadrant and since multi- ple memory windows can be defined in a system, the system total for shared resources can exceed the 1.75 gigabyte limitation for 32 bit processes. The definition of a memory window is only available for 32-bit processes. The file provides a central place for memory window applications to associate their memory window IDs. In the event there are any colli- sions, only a change in is necessary to select another memory window for the entire application. If is not used, and user applications hard code window IDs in their startup scripts, collisions are not easily detected or easily fixed. A memory window application uses the command getmemwindow(1M) to extract the application's window_id from the file, and then passes that ID to the setmemwindow(1M). Using the same window ID places applications in the same memory window. EXAMPLES
Below is a example of a file. AUTHOR
was developed by HP. FILES
File containing applications' associated window ID. SEE ALSO
getmemwindow(1M), setmemwindow(1M). on services.window(4)
All times are GMT -4. The time now is 04:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy