09-17-2015
What is your system? Some systems deal with swap in a different way.
I suspect you are on a true UNIX system like HPUX/Solaris/etc, these usually reserve swap space for memory, i.e. the more memory you use, the more swap you use, whether your system is actually using that swap space or not.
Linux on the other hand doesn't allocate swap at all unless you're running out of memory -- which doesn't agree with this graph at all.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Are there any references I can look up for to interprete "netstat -s", especially those on TCP statistics. (6 Replies)
Discussion started by: deaniyoer
6 Replies
2. UNIX for Dummies Questions & Answers
I am trying to interpret the following shellscript and am having a very difficult time. Could one of you Unix gurus pleasssseeee help me out? You just won't know how much of a life saver you would be for me.
PN=`basename "$0"` # Program name
VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`
... (3 Replies)
Discussion started by: Ann
3 Replies
3. UNIX for Advanced & Expert Users
We are having performance issues on an alpha4100 server.
I can't paste a snapshot of my vmstat in here, but...
We have 4gb of memory. The actual memory stays consistant around 306k. Free is dropping into the 120 area. Wire is around 206k consistantly. consistantly.
My manual says that unix... (3 Replies)
Discussion started by: MizzGail
3 Replies
4. Solaris
Hi All,
In my application malloc is returning NULL even though there is sufficient amount of free memory is available but swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?:)
Kindly look into... (5 Replies)
Discussion started by: Ritesh Kumar
5 Replies
5. UNIX for Dummies Questions & Answers
Hi All,:)
In my application malloc is returning NULL even though there is sufficient amount of free memory available but the swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?
Few details:
... (4 Replies)
Discussion started by: Ritesh Kumar
4 Replies
6. UNIX for Dummies Questions & Answers
hi all,
when I run-
wcars1j5#netstat -an | grep 8090
127.0.0.1.8090 *.* 0 0 49152 0 LISTEN
wcars1j5#
1. does this mean that no one is connected to this port?
Regards,
akash (1 Reply)
Discussion started by: akash_mahakode
1 Replies
7. Shell Programming and Scripting
Hi, i was reading through a sample coding and came across this function, can anyone pls help to interpret the code for me. Thank alot
find_lines()
{
res=-1
if ; then
grep -i "$@" $FILENAME
res=$?
fi
return $res
} (2 Replies)
Discussion started by: Cheranime
2 Replies
8. Solaris
Hi. I wonder what the equal sign in front of the answer means.
I have read man pages and googled but found no answer.
xntpdc -p
=15.5.64.3 15.5.2.51 3 512 377 0.02060 0.057426 0.04965Thanks.
Jan (1 Reply)
Discussion started by: vettec3
1 Replies
9. Solaris
I need to bump up the memory allocated to an Oracle database running on Solaris 10. While I see there is currently plenty of free memory to spare, how do I view the history of free memory on Solaris over the last month? What is the exact command?
---------- Post updated at 02:55 PM ----------... (0 Replies)
Discussion started by: mimimiami
0 Replies
LEARN ABOUT HPUX
allocate_fs_swapmap
allocate_fs_swapmap(5) File Formats Manual allocate_fs_swapmap(5)
NAME
allocate_fs_swapmap - determines when swapmap structures are allocated for filesystem swap
VALUES
Failsafe
Default
Allowed values
or
DESCRIPTION
The tunable is used to determine whether to allocate all needed filesystem swap structures during the initialization of the filesystem swap
device or wait until they are needed. Pre-allocation of all filesystem swap structures upon initialization saves time during later usage
of the filesystem swap, and prevents later allocation failure due to physical memory contention.
Dynamic allocation decreases the memory footprint of the filesystem swap system.
Who is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
Systems under heavy memory load may not be able to acquire enough memory to hold the swap mapping structures for an addition of file system
swap. These calls to add swap would fail with the error though presumably they would be retried. Frequent failure on file system swap
addition with would merit enabling this tunable.
What Are the Side Effects of Raising the Value?
All the swap map structures for each file system swap device would be preallocated during swap initialization at kernel boot, increasing
the memory footprint of the kernel. The amount of increase depends on the number and size of file system swap devices.
When Should the Value of This Tunable Be Lowered?
Systems with limited memory available to the kernel that also have limited use of file system swap devices should disable this tunable to
decrease kernel memory usage.
What Are the Side Effects of Lowering the Value?
File system swap additions may fail with when memory contention is high.
What Other Tunable Values 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 allocate_fs_swapmap(5)