Sponsored Content
Full Discussion: Threshold for swap memory
Top Forums UNIX for Dummies Questions & Answers Threshold for swap memory Post 302609673 by karlochacon on Tuesday 20th of March 2012 09:32:48 AM
Old 03-20-2012
thanks a lot, ok for example let's say 4GB physical RAM and 2 GB swap in your case what would be a warning and critical usage?

and second in vmstat what parameters should I be checking?

thanks a lot
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Total Memory/Swap Memory

I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info. Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies

2. Solaris

swap memory

Hi Can any help me on setting the swap memory ? I would like to set swap memory for installing oracle 9i software. RAM - 512 Mb HDD - 40 Gb OS - Sun Solaris 5.9 (6 Replies)
Discussion started by: sivaramat
6 Replies

3. UNIX for Dummies Questions & Answers

swap memory

Hi, I want to see used swap memory I know that for this there is command free -m but this shows Swap: 16383 4529 11854 by top command while load is 1.05 max CPU % 24 mysqld why used swap shows 4529 either it is not flushed there is other command... (2 Replies)
Discussion started by: kaushik02018
2 Replies

4. Solaris

zone breaching 'capped-memory' threshold

Calling upon all Solaris zone experts. I have a Sun T3-1 that is running a few whole-root zones. I've set the 'capped-memory' setting on all the zones. However, I have a problem on the one zone. Under load it uses more memory that has been allocated to it. zonecfg -z sunrep02 export ... (4 Replies)
Discussion started by: soliberus
4 Replies

5. UNIX for Advanced & Expert Users

Query regarding swap memory

Hi, Please help explain and answer the below: 1. I need to predetermine how much swap will my JVM use if it is started with -Xms 512M and -Xmx 1024M ? 2. Can a JVM process just use the Heap and not the Swap memory ? 3. If the Total physical RAM on my server is 8 GB and current Heap... (6 Replies)
Discussion started by: mohtashims
6 Replies

6. HP-UX

How much Swap memory do i have ?

here is the output of swapinfo command ==> swapinfo Kb Kb Kb PCT START/ Kb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 8192000 0 8184000 0% 0 - 1 /dev/vg00/swap reserve - 8184000 -8184000 memory ... (5 Replies)
Discussion started by: mohtashims
5 Replies

7. Red Hat

Swap memory

Hi team, Is there any ability to force the system to use the swap memory for a specific service? And prevent another service of using the swap memory? Thanks (2 Replies)
Discussion started by: leo_ultra_leo
2 Replies

8. Red Hat

SWAP memory

Admins, How can I configure the server so that it will utilize the swap file as little as possible? Please correct me if I'm wrong, I would say change the value of sysctl - vm.swappiness? And if, how can I keep it permenatly even after rebooting the system? since no related parameters in... (7 Replies)
Discussion started by: leo_ultra_leo
7 Replies

9. Solaris

How the free memory threshold?

If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals. The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies

10. UNIX for Beginners Questions & Answers

High Memory threshold notification script

Hello Folks, I have created the script which use to send email notification when server memory breach the threshold limits. Script works fine, but the issue is sometimes i am receiving mail alerts for lower threshold memory also. Please let me know why and any updates required in script? ... (7 Replies)
Discussion started by: seenuvasan1985
7 Replies
lotsfree_pct(5) 						File Formats Manual						   lotsfree_pct(5)

NAME
lotsfree_pct - sets the upper bound before paging daemon starts stealing pages, specified as a percentage of available physical memory VALUES
Default Allowed values Must not be less than (see desfree_pct(5)). DESCRIPTION
is a tunable parameter to set the upper bound before the paging daemon starts stealing pages. It is specified as a percentage of physical memory available after boot. must be a positive integer between 0 and 30 and must be equal to or greater than is the lower bound before paging daemon starts stealing pages (see desfree_pct(5)). The paging daemon in HP-UX acts on a "two hand" model. The daemon runs at least once a second, with one part marking pages of virtual address space as "unused". If the page is referenced before this "aging" hand returns, it will be marked as "used" again. Another section of the daemon, the "steal" hand follows the age hand (the distance between them varies in a well bounded range) and processes pages which are still marked unused, since needed or frequently accessed pages would have a high likelihood of being referenced in the gap between the hands. Exactly how the steal hand treats the pages still marked as unused depends on the comparison of free system physical memory and three pag- ing parameters: and Between and is a periodically re-calculated and, hence, floating threshold known as Thus and are the upper and lower bounds between which moves. is an expression how much the system maintains, in percentage terms (percentage of physical memory available after boot). o If is greater than the system's memory availability is in good shape. The steal hand does nothing as a lot of memory is still available on the system, so there is no need to "steal" a page that might be needed soon. o In the more common case, when is lower than (but higher than the steal hand will begin to steal pages that have remained unreferenced from when the age hand last marked them. "Stealing" a page refers to the process of freeing the page from being allocated for a partic- ular virtual page and making it available for general allocation again. If falls below but still is more than memory availability is still in reasonable shape, but the paging daemon begins stealing pages more aggressively, including putting lower-priority processes to sleep to free up their memory. o When is less than memory availability is getting more critical; and the paging daemon begins deactivating low-priority processes, in other words, swapping out pages to the swap device. Since the exact memory topography varies widely across supported platforms, these three boundary values are tunable to allow for cases where the default values are insufficient, or where the system administrator requires more control over the actions of the paging daemon. In general, however, the automatic calculation performed by default should suffice for most systems. is a system calculated value. Who Is Expected to Change This Tunable? Anyone with super-user privileges. Restrictions on Changing Changes to this tunable take effect immediately. When Should the Value of This Tunable Be Raised? The tunable should only be raised if an administrator feels that the current value provides insufficient free physical memory required by a short lived but critical process. Increasing (and hence to an amout equal to or greater than the amount of physical memory required by this process allows the swapper to move out less frequently used pages from longer running programs, increasing the probability of having the desired amount of memory on hand without waiting for to drop below or during the execution of this critical process. Unless the current is set very low, raising for a process that is not short lived is fairly pointless as will almost certainly drop below and more likely even below thus waking up the swapper and allowing for the physical memory to be freed up over the longer running time as the process requires it. What are the Side Effects of Raising the Value? The swap daemon will begin to steal less-frequently accessed pages from running processes. If large amounts of physical memory is already available without the above situation, this will only slow the already running processes if they need to swap back in their stolen pages. Large amounts of free physical memory without short-lived processes that need it (as mentioned above) is simply a waste. When Should the Value of This Tunable Be Lowered? The tunable should be lowered on systems where swapping is occurring that still have more physical memory available than is needed on aver- age, and that have no sudden sharp peaks in memory usage. What are the Side Effects of Lowering the Value? System swap will occur at a lower memory level. If is set too low (keeping in mind that can never be greater than the system might stall due to memory starvation upon new allocation even though swap space is available. The stall would not be fatal, as the swap daemon run eventually, but will certainly hamper performance. What Other Tunable Values Should Be Changed at the Same Time? should be considered when modifying since Attempting to set above is meaningless and will result in an error. Notes Starting with HP-UX 11iv2, HP recommends the use of to specify the upper bound for the paging daemon. ERROR VALUES
Memory resource management infrastructure is busy. Please try later. Attempting to set above An invalid value is entered that is not an integer between 0 and 30, such as an negative number. 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. SEE ALSO
desfree_pct(5). Tunable Kernel Parameters lotsfree_pct(5)
All times are GMT -4. The time now is 04:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy