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 SUNOS
tnfxtract
tnfxtract(1) User Commands tnfxtract(1)
NAME
tnfxtract - extract kernel probes output into a trace file
SYNOPSIS
tnfxtract [ -d dumpfile -n namelist] tnf_file
DESCRIPTION
The tnfxtract utility collects kernel trace output from an in-core buffer in the Solaris kernel, or from the memory image of a crashed sys-
tem, and generates a binary TNF trace file like those produced directly by user programs being traced.
Either both or neither of the -d and -n options must be specified. If neither is specified, trace output is extracted from the running ker-
nel. If both are specified, the -d argument names the file containing the (crashed) system memory image, and the -n argument names the file
containing the symbol table for the system memory image.
The TNF trace file tnf_file produced is exactly the same size as the in-core buffer; it is essentially a snapshot of that buffer. It is
legal to run tnfxtract while kernel tracing is active, i.e., while the in-core buffer is being written. tnfxtract insures that the output
file it generates is low-level consistent, that is, that only whole probes are written out, and that internal data structures in the buffer
are not corrupted because the buffer is being concurrently written.
The TNF trace file generated is suitable as input to tnfdump(1), which will generate an ASCII file.
OPTIONS
The following options are supported:
-d dumpfile Uses dumpfile as the system memory image, instead of the running kernel. The dumpfile is normally the path name of a file
generated by the savecore utility.
-n namelist Uses namelist as the file containing the symbol table information for the given dumpfile.
OPERANDS
The following operand is supported:
tnf_file Output file generated by tnfxtract based on kernel trace output from an in-core buffer in the Solaris kernel.
EXAMPLES
Example 1: Extracting probes from a running kernel
Extract probes from the running kernel into ktrace.out:
example% tnfxtract ktrace.out
Example 2: Extracting probes from a kernel crash dump
Extract probes from a kernel crash dump into ktrace.out:
example% tnfxtract -d /var/crash/`uname -n`/vmcore.0
-n /var/crash/`uname -n`/unix.0 ktrace.out
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtnfc |
+-----------------------------+-----------------------------+
SEE ALSO
prex(1), tnfdump(1), savecore(1M), tnf_kernel_probes(4), attributes(5)
SunOS 5.10 19 Aug 2003 tnfxtract(1)