Sponsored Content
Full Discussion: Where does the memory go?
Operating Systems Linux Where does the memory go? Post 302327418 by CRGreathouse on Sunday 21st of June 2009 12:34:25 PM
Old 06-21-2009
Quote:
Originally Posted by glen.barber
Most (some) UNIX systems will fill memory intentionally. This is done to prevent paging as much as possible. Unless your disk is thrashing, I see no real problem here. (You haven't told us how much memory you have though.)
I only posted because it had been thrashing. (Now that it's under the limit there's no problem, but I suspect that when I go over again it will do the same.) I identified this by
1. A marked slowdown in all processes
2. Hard drive sound
3. The yellow virtual memory meter (I have the system monitor in my panel) spiked up, where it had previously (hours or days) been flat

I have 2 GB of memory.
 

9 More Discussions You Might Find Interesting

1. Programming

how to round up a memory address(memory alignment problem)

Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10. My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies

2. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

3. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies

4. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

5. Programming

How to deal with lots of data in memory in order not to run out of memory

Hi, I'm trying to learn how to manage memory when I have to deal with lots of data. Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies

6. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

7. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

8. Solaris

relationship or difference between entitled memory and locked memory

Hello solaris experts, Being new to solaris containers, from Linux, feeling difficulty in understanding certain concepts. Hope somebody can help me here. I understand that, & some questions .... Locked memory -- memory which will not be swapped out at any cause. is this for... (0 Replies)
Discussion started by: thegeek
0 Replies

9. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
vmstat(1)						      General Commands Manual							 vmstat(1)

NAME
vmstat - report virtual memory statistics SYNOPSIS
[interval [count]] | | DESCRIPTION
The command reports certain statistics kept about process, virtual memory, trap, and CPU activity. It also can clear the accumulators in the kernel structure. Options recognizes the following options: Report disk transfer information as a separate section, in the form of transfers per second. Provide an output format that is more easily viewed on an 80-column display device. This format separates the default output into two groups: vir- tual memory information and CPU data. Each group is displayed as a separate line of output. On multiprocessor systems, this display format also provides CPU utilization on a per CPU basis for the active processors. Report the number of processes swapped in and out and instead of page reclaims and address translation faults and interval Display successive lines which are summaries over the last interval seconds. The first line reported is for the time since a reboot and each subsequent line is for the last interval only. If interval is zero, the output is displayed once only. If the option is specified, the column headers are repeated. If is omitted, the column headers are not repeated. The command prints what the system is doing every five seconds. This is a good choice of printing interval since this is how often some of the statistics are sampled in the system; others vary every second. count Repeat the summary statistics count times. If count is omitted or zero, the output is repeated until an interrupt or quit signal is received. From the terminal, these are commonly and respectively (see stty(1)). Report on the number of forks and the number of pages of virtual memory involved since boot-up. Print the total number of several kinds of paging-related events from the kernel structure that have occurred since boot-up or since was last executed with the option. Clear all accumulators in the kernel structure. This option is restricted to the super user. If none of these options is given, displays a one-line summary of the virtual memory activity since boot-up or since the option was last executed. Column Descriptions The column headings and the meaning of each column are: Information about numbers of processes in various states. In run queue Blocked for resources (I/O, paging, etc.) Runnable or short sleeper (< 20 secs) but swapped Information about the usage of virtual and real memory. Virtual pages are considered active if they belong to processes that are running or have run in the last 20 seconds. Active virtual pages Size of the free list Information about page faults and paging activity. These are averaged each five seconds, and given in units per second. Page reclaims (without Address translation faults (without Processes swapped in (with Processes swapped out (with Pages paged in Pages paged out Pages freed per second Anticipated short term memory shortfall Pages scanned by clock algorithm, per second Trap/interrupt rate averages per second over last 5 seconds. Device interrupts per second (nonclock) System calls per second CPU context switch rate (switches/sec) Breakdown of percentage usage of CPU time for the active processors User time for normal and low priority processes System time CPU idle EXAMPLES
The following examples show the output for various command options. For formatting purposes, some leading blanks have been deleted. 1. Display the default output. 2. Add the disk tranfer information to the default output. 3. Display the default output in 80-column format. 4. Replace the page reclaims and address translation faults with process swapping in the default output. 5. Display the default output twice at five-second intervals. Note that the headers are repeated. 6. Display the default output twice in 80-column format at five-second intervals. Note that the headers are repeated. 7. Display the default output and disk transfers twice in 80-column format at five-second intervals. Note that the headers repeated. 8. Display the number of forks and pages of virtual memory since boot-up. 9. Display the counts of paging-related events. WARNINGS
Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system, the release of HP- UX, and the data to be displayed. AUTHOR
was developed by the University of California, Berkeley and HP. SEE ALSO
iostat(1). vmstat(1)
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy