Sponsored Content
Operating Systems Linux Red Hat Does it make sense to reduce the total shared memory Post 302992234 by rbatte1 on Thursday 23rd of February 2017 07:04:51 AM
Old 02-23-2017
The database will have a configuration for memory that it requires to be real memory rather than being eligible to be swapped. If you exhaust real memory by having too much guaranteed as real memory for all the databases put together, then the server as a whole can suffer. If a general process requires some memory and there is very little swap-able available, then the new process will be almost permanently waiting for swap as it tries to perform whatever it needs.

You don't say what versions of Oracle you are using, but the principle is the same, although they may configure it in different ways.



I hope that this helps,
Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shared memory shortage but lots of unused memory

I am running HP-UX B.11.11. I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used. But when I try to start the DB with the increased buffer parameter I get told. "Not... (1 Reply)
Discussion started by: cjcamaro
1 Replies

2. UNIX for Advanced & Expert Users

How to reduce GZIP memory usage

I am using the ZLIB_VERSION "1.2.3" . The memory requirement for Zlib/GZIP compression is stated as /* The memory requirements for deflate are (in bytes): (1 << (windowBits+2)) + (1 << (memLevel+9)) that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values) ... (0 Replies)
Discussion started by: Parmod Garg
0 Replies

3. High Performance Computing

Rocks clusters make sense for educational environments

08-18-2008 11:00 AM Cluster computing has played a pivotal role in the way research is conducted in educational environments. Because the amount of available money and hardware varies between university researchers, often it's necessary to find a clustering solution that can work well on a small... (0 Replies)
Discussion started by: Linux Bot
0 Replies

4. UNIX for Dummies Questions & Answers

a for loop that doesn't make sense

I've been referring bash info for processes and came across a structure for a process which is defined like typedef struct process { struct process *next; char ** argv . . . }process; What I don't understand is that in the program there's a for loop which goes like this job... (2 Replies)
Discussion started by: sdsd
2 Replies

5. 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

6. UNIX for Dummies Questions & Answers

trying to make sense of rsync output...

I'm running the following rsync command to sync a directory between the 2 servers: rsync -az --delete --stats /some_dir/ server_name:/some_dir I'm getting the following output: Number of files: 655174 Number of files transferred: 14221 Total file size: 1138531979331 bytes Total... (0 Replies)
Discussion started by: GKnight
0 Replies

7. UNIX for Advanced & Expert Users

sar -d output... does not make sense

Can someone explain the correlation between how sar names the disk drives and how the rest of the OS names the disk drives? sar lists my disk drives as sd0, sd1, sd2, etc..... while format lists my disk drives as c1t0d0, c1t1d0, c1t2d0,etc... And also why sar shows 8 disks but format... (2 Replies)
Discussion started by: s ladd
2 Replies

8. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

9. Cybersecurity

Root login in Linux - does it make sense?

I stumbled upon this thread and one aspect of it got me thinking. As i am building a small Linux network right now for a friend i would like to hear your opinion on this. I'd like to respectfully disagree. I think the Linux habit of disabling root login per default is wrong (not entirely... (6 Replies)
Discussion started by: bakunin
6 Replies

10. AIX

AIX flag to reduce size of shared file

I am using xlC (Version: 11.01.0000.0011). While build i am using "-g" to have debug information in build. there are many object files (>500) due to which resultant shared file (.so) will have huge size. I can't reduce optimization level. Is there any way or flag is present by using which i... (2 Replies)
Discussion started by: Abhi04
2 Replies
SWAPCTL(8)						    BSD System Manager's Manual 						SWAPCTL(8)

NAME
swapctl, swapon -- system swap management tool SYNOPSIS
swapctl -A [-f | -o] [-n] [-p priority] [-t blk|noblk|auto] swapctl -D dumpdev|none swapctl -U [-n] [-t blk|noblk|auto] swapctl -a [-p priority] path swapctl -c -p priority path swapctl -d path swapctl -l | -s [-k | -m | -g | -h] swapctl -q swapctl -z swapon -a [-t blk|noblk] swapon path DESCRIPTION
The swapctl program adds, removes, lists, and prioritizes swap devices and files for the system. The swapon program acts the same as the swapctl program as if called with the -a option, except if swapon itself is called with -a in which case swapon acts as swapctl with the -A option. The following options are available: -A This option causes swapctl to read the /etc/fstab file for devices and files with a ``sw'' or ``dp'' type, and adds all ``sw'' type entries as swap devices and sets the last ``dp'' type entry as the dump device. If no swap devices are configured, swapctl will exit with an error code. If used together with -t auto this option will not read /etc/fstab but query the kernel for all swap partitions on local hard disks. -a The -a option requires that a path also be in the argument list. The path is added to the kernel's list of swap devices using the swapctl(2) system call. When using the swapon form of this command, the -a option is treated the same as the -A option, for back- wards compatibility. -c The -c option changes the priority of the listed swap device or file. -D The -D option requires that a dumpdev also be in the argument list. The kernel dump device is set to dumpdev. The word ``none'' can be used instead of a dumpdev to disable the currently set dump device. This change is made via the swapctl(2) system call. The dump device is used when the system crashes to write a current snapshot of real memory, to be saved later with savecore(8) at system reboot, and analyzed to determine the problem. -d The -d option removes the listed path from the kernel's list of swap devices or files. -f Used in combination with the -A command and -t auto flag this option makes swapctl use the first discovered swap device to also become the dump device. The -f option is mutually exclusive with the -o option. -g The -g option uses (1024 * 1024 * 1024) byte blocks instead of the default 512 byte. -h The -h option uses humanize_number(3) to display the sizes. -k The -k option uses 1024 byte blocks instead of the default 512 byte. -l The -l option lists the current swap devices and files, and their usage statistics. -m The -m option uses (1024 * 1024) byte blocks instead of the default 512 byte. -n Used with the -A or -U command, the -n option makes swapctl print the action it would take, but not actually change any swap or dump devices. -o Similar to the -f flag, this ``Dump Only'' option makes swapctl find the first swap device and configure it as dump device. No swap device is changed. This option needs to be used in combination with -A -t auto and is mutually exclusive with -f. -p The -p option sets the priority of swap devices or files to the priority argument. This works with the -a, -c, and -l options. -q Query /etc/fstab, checking for any defined swap or dump devices. If any are found, swapctl returns with an exit status of 0, if none are found the exit status will be 1. -s The -s option displays a single line summary of current swap statistics. -t This flag modifies the function of the -A and -U options. The -t option allows the type of device to add to be specified. An argu- ment of blk causes all block devices in /etc/fstab to be added. An argument of noblk causes all non-block devices in /etc/fstab to be added. An argument of auto causes all swap partitions on local hard disks to be used. This option is useful in early system startup, where swapping may be needed before all file systems are available, such as during disk checks of large file systems. -U This option causes swapctl to read the /etc/fstab file for devices and files with a ``sw'' type, and remove all these entries as swap devices. If no swap devices are unconfigured, swapctl will exit with an error code. If used together with -t auto this option will not read /etc/fstab but unconfigure all local swap partitions. -z The -z option displays the current dump device. SWAP PRIORITY
The NetBSD swap system allows different swap devices and files to be assigned different priorities, to allow the faster resources to be used first. Swap devices at the same priority are used in a round-robin fashion until there is no more space available at this priority, when the next priority level will be used. The default priority is 0, the highest. This value can be any valid integer, with higher values receiving less priority. SWAP OPTIONS
When parsing the /etc/fstab file for swap devices, the following options are recognized: priority=N This option sets the priority of the specified swap device to N. nfsmntpt=/path This option is useful for swapping to NFS files. It specifies the local mount point to mount an NFS filesystem. The mount point must exist as a directory. Typically, once this mount has succeeded, the file to be used for swapping on will be available under this point mount. For example: server:/export/swap/client none swap sw,nfsmntpt=/swap EXIT STATUS
If the requested operation was successful, the swapctl utility exits with status 0. If an error occurred, the exit status is 1. The -A and -U operations (add or remove swap devices listed in fstab(5)) return an exit status of 2 to report that no suitable swap devices were found. The -z operation (query dump device) and -l (list swap partitions) return an exit status of 1 if no dump device or swap partition has been configured. If any swap partition is available or a dump device is set, the respective query returns 0. SEE ALSO
swapctl(2), fstab(5), mount_nfs(8) HISTORY
The swapctl program was first made available in NetBSD 1.3. The original swapon program, provided for backwards compatibility, appeared in 4.0BSD. AUTHORS
The swapctl program was written by Matthew R. Green <mrg@eterna.com.au>. CAVEATS
Using the automatic swap partition detection done by the -A -t auto option may be dangereous. Depending on the on-disk partitioning scheme used, the type of a partition may not be accurately recognizable as a swap partition. The autodetection might recognize and use partitions on removable media like USB sticks. An easy way to test the autoconfiguration is to use swapctl with the -n option. BUGS
If no swap information is specified in /etc/fstab, the system startup scripts (see rc(8)) will configure no swap space and your machine will behave very badly if (more likely when) it runs out of real memory. Local and remote swap files cannot be configured until after the file systems they reside on are mounted read/write. The system startup scripts need to fsck(8) all local file systems before this can happen. This process requires substantial amounts of memory on some systems. If you configure no local block swap devices on a machine that has local file systems to check and rely only on swap files, the machine will have no swap space at all during system fsck(8) and may run out of real memory, causing fsck to abnormally exit and startup scripts to fail. BSD
June 1, 2011 BSD
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy