Sponsored Content
Operating Systems AIX AIX memory usage by processes Post 303025189 by Corona688 on Friday 26th of October 2018 11:33:01 AM
Old 10-26-2018
Quote:
Originally Posted by dim
if i get it clear, when a process grows up very much, then the swap memory will be used... when this process is done, the new processes of this program will keep launching on swap memory, because filesystem will be launched on real memory? why??
No. At one point that big process forced some memory into swap, when it completed or died most of the swap came back out, except for that 2% which nobody's actually needed to use yet. That's my theory on where the 2% swap came from and why it's just sitting there.
Quote:
So, when this very big process ends, then the processes on swap memory will get back at real memory, right?
More or less.

Less as in, memory won't come out of swap until they try to use it. This prevents some waste since that memory would be unused anyway and I think accounts for your 2% swap.
Quote:
and if there is more free memory, it will be used by filesystem... am i correct?
That's normal unless configured otherwise, yes.
Quote:
eventhough, as i mentioned at the beginning, on 2 identical servers the first uses memory as 20% system, 30% processes and 50% filesystem and on second one 20% system, 75% processes and 5% filesystem, and 4% swap!
Something big is hanging around, which used to be even bigger, I think.
Quote:
How can i identify on second server, the processes using 75%?
Have you tried ps aux? Or as madeingermany suggested, ps -e -o pid= -o rss= -o vsz= -o args= | sort -k2,2n ? What does it look like?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (1 Reply)
Discussion started by: kollam68
1 Replies

2. AIX

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Discussion started by: kollam68
3 Replies

3. AIX

High memory usage in AIX 5.1

Hi, We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ? Partial vmstat o/p kthr memory ----- ----------- r b avm fre 2 1 278727 1143 There is no paging issue.Becoz in... (5 Replies)
Discussion started by: jayakumarrt
5 Replies

4. AIX

estimating memory usage by database processes

Hi Guys, I wonder what would be the best way to determine how much memory is in use on any given time by the database processes. I thought about using ipcs -m command but I wonder if there any better way to determine this. Thanks. Harby. (2 Replies)
Discussion started by: hariza
2 Replies

5. AIX

Memory usage on AIX

How to check the memory usage on AIX by various processes? (1 Reply)
Discussion started by: aajmani
1 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. AIX

AIX 5.3 Physical Memory usage

Hi, I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days. I am pasting vmstat and vmo output, anyone seen this issue? ... (5 Replies)
Discussion started by: navin7386
5 Replies

8. AIX

AIX memory usage always high

hi, I want to ask , my AIX 6.1 is always used about 97% memory. Is this normal ? or any command can free up memory like Linux ? thanks. (1 Reply)
Discussion started by: virusxx
1 Replies

9. AIX

Identify All Processes memory and cpu usage.

Hi All, Anyone has script to monitor AIX total processes memory and cpu usage that contribute to the total memory and CPU utilize so far ? The purpose of this is to analyze process memory trend. Thanks. Best Regards, ckwan (2 Replies)
Discussion started by: ckwan
2 Replies

10. AIX

Memory usage in AIX server

Hi All, I have some questions regarding the performance, MEMORY/ Virtual Memory (paging /swap space) Please see the nmon-MEMORY stats from my AIX LPAR. 24 GB --> RAM 3456 MB --> Paging Space │ Memory ─────────────────────────────────────────────────────────────────────── │... (8 Replies)
Discussion started by: System Admin 77
8 Replies
remote_nfs_swap(5)						File Formats Manual						remote_nfs_swap(5)

NAME
remote_nfs_swap - enable swapping across NFS VALUES
Default Allowed values DESCRIPTION
This tunable controls adding a NFS filesystem for use as swap. If is set to only local filesystems and devices can be used for swap. If it is set to both local and networked file systems can be used for swap. Historically, this tunable was used in NFS clusters that are no longer supported, but this capability has not yet been removed. Who Is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect on the next boot. When Should the Tunable Be Turned On? Almost never. As previously mentioned, this tunable was designed for systems which are not in use today. Only systems with extremely robust NFS capabilities should even consider using NFS for swap. What Are the Side Effects of Turning the Tunable On? If the value is set to and a NFS partition is added as swap, then some kernel memory will be set aside for NFS transactions to the swap file system. The kernel will then use the NFS swap partition just the same as a local file system. If the NFS capabilities of the system are not robust, this could lead to extremely long swap times (both swap in and swap out), and possibly a loss of memory because all the reserved memory and more could be used by NFS (just when memory pressure is high) causing the need for swap. When Should the Tunable Be Turned Off? Unless you are positive that the NFS system can handle the load of being used as swap, and does not have a local file system or disk drive to spare, this tunable should be set to What Are the Side Effects of Turning the Tunable Off? Any previously defined NFS swap filesystems will no longer be allowed. Kernel memory will not be reserved for NFS transactions due to swap. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters remote_nfs_swap(5)
All times are GMT -4. The time now is 12:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy