04-08-2019
Pinned system memory growing constantly
Hi,
Pre data: a server running AIX 6.1 TL9 with 2GB memory and a small amount of CPU, running a very light workload.
I have a server which crashed on lack of memory. After the crash I found - using nmon analyser - that there was something eating up memory. Nmon referred to it as "system".
Now, after 2 days of uptime I see that the same "someting" is eating up memory again. I've been using nmon, vmstat and svmon to see what is happening, but all I see is that
- - all user process is using the same amount of memory
- - vmstat shows a steady decrease on free list
- - svmon -G shows the same steady amount of memory being pinned
- - svmon -P shows that there is no change of pinned memory usage in the listed processes
The rate of memory loss is about 0.5% in every hour.
So I assume that some kernel related object is accumulating the pinned memory.
Can you please help me to find out the problematic part?
Additional info: there was a reported bug in AIX7.2 which have been corrected in an update. But: this machine was running for a while without any problems.
--Trifo
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can you please tell me how to find out System Memory (RAM) for a AIX unix server?
The command prtconf will do for Solaris but I don't know for AIX Unix. (1 Reply)
Discussion started by: anilkumar
1 Replies
2. SCO
In the sco unix ,how can i get the system information ?
such as cpu,memory,interrupter,io ports etc
look forword to quick replay (2 Replies)
Discussion started by: fresh
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all
im working on sunos machine that dont have the top installed and can't be
install , now i need to get information similar to what top gives me about the cpu usage and so
can it be done somehow else where ? (3 Replies)
Discussion started by: umen
3 Replies
4. Programming
Dear all,
When I write the daemon programs it is consuming high memory and processor time. How can I avoid this?
But, the system daemons are not consuming more. How?
Can any one explain how the system daemons are handling the memory consumption and processor time.
Thanks,... (1 Reply)
Discussion started by: nagalenoj
1 Replies
5. UNIX for Advanced & Expert Users
It is a little bit weird to me when i found this on a solaris 9 system with openssh package. Below is the result copied from "top" output:
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
13491 root 1 59 0 27M 18M sleep 0:06 0.00% sshd -i
20198 root ... (1 Reply)
Discussion started by: sleepy_11
1 Replies
6. HP-UX
Hello, I noticed very high system memory utilization on my new 11.31 Itanium systems. System memory is more than 11GB on 32 GB system. Comparing this to 11.23 it's more than double ... How do I find out what is using it? Is there a way to reduce it?
Thank you,
Kubo (4 Replies)
Discussion started by: trunecm1
4 Replies
7. Solaris
Hi gurus
Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t... (6 Replies)
Discussion started by: madanmeer
6 Replies
8. Shell Programming and Scripting
I am working on a server where the 'root' user ZFS filesystem.
Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total size of the server is 32G.
I think rest of the space is held up by ZFS file system.
Is there a... (5 Replies)
Discussion started by: prasperl
5 Replies
9. AIX
I already checked memory on AIX with "svmon -G" and vmstat (as the figure). I see the value "inuse" nearly=97% use memory, free=3%. However, the value "pin=cache" nearly=26%.
Can I calculate total free memory= free+ pin = 29% ?
please help me!
Thanks so much! (5 Replies)
Discussion started by: xuanthanhnk
5 Replies
10. Linux
Hey everyone. Ok, so I know that from inside of any particular program, it see's through virtualized memory, a full range of available memory. It is given the ability then to place variables, data, user input etc, on the Stack, Heap, BSS, or Code segment of it's range. My question is what does the... (5 Replies)
Discussion started by: Lost in Cyberia
5 Replies
LEARN ABOUT DEBIAN
memstat
MEMSTAT(1) Linux Programmer's Manual MEMSTAT(1)
NAME
memstat - Identify what's using up virtual memory.
SYNOPSIS
memstat [-w][-p PID]
DESCRIPTION
memstat lists all accessible processes, executables, and shared libraries that are using up virtual memory. To get a complete list memstat
has to be run as root to be able to access the data of all running processes.
First, the processes are listed. An amount of memory is shown along with a process ID and the name of the executable which the process is
running. The amount of memory shown does not include shared memory: it only includes memory which is private to that process. So, if a
process is using a shared library like libc, the memory used to hold that library is not included. The memory used to hold the exe-
cutable's text-segment is also not included, since that too is shareable.
After the processes, the shared objects are listed. The amount of memory is shown along with the filename of the shared object, followed
by a list of the processes using the shared object. The memory is listed as the total amount of memory allocated to this object throughout
the whole namespace. In brackets also the amount that is really shared is listed.
Finally, a grand total is shown. Note that this program shows the amount of virtual (not real) memory used by the various items.
memstat gets its input from the /proc filesystem. This must be compiled into your kernel and mounted for memstat to work. The pathnames
shown next to the shared objects are determined by scanning the disk. memstat uses a configuration file, /etc/memstat.conf, to determine
which directories to scan. This file should include all the major bin and lib directories in your system, as well as the /dev directory.
If you run an executable which is not in one of these directories, it will be listed by memstat as ``[0dev]:<inode>''.
Options
The -w switch causes a wide printout: lines are not truncated at 80 columns.
The -p switch causes memstat to only print data gathered from looking at the process with the gicen PID.
NOTES
These reports are intended to help identify programs that are using an excessive amount of memory, and to reduce overall memory waste.
FILES
/etc/memstat.conf
/proc/*/maps
SEE ALSO
ps(1), top(1), free(1), vmstat(8), lsof(8), /usr/share/doc/memstat/memstat-tutorial.txt.gz
BUGS
memstat ignores all devices that just map main memory, though this may cause memstat to ignore some memory usage.
Memory used by the kernel itself is not listed.
AUTHOR
Originally written by Joshua Yelon <jyelon@uiuc.edu> and patched by Bernd Eckenfels <ecki@debian.org>. Taken over and rewritten by Michael
Meskes <meskes@debian.org>.
Debian 01 November 1998 MEMSTAT(1)