Swap space used is above threshold of 90
Hi all,
i am facing an issues in linux box which is Swap space used is above threshold of 90
[oracle@gbaheovl21 scripts]$ free
total used free shared buffers cached
Mem: 8388608 8354400 34208 0 32748 4354904
-/+ buffers/cache: 3966748 4421860
Swap: 6257992 5816940 441052
scripts]$ sar -r
07:00:01 kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
07:10:01 15868 8372740 99.81 16348 4356644 479720 5778272 92.33 767516
07:20:01 93232 8295376 98.89 17624 4304864 433200 5824792 93.08 773240
07:30:01 29092 8359516 99.65 22664 4328688 442496 5815496 92.93 800512
07:40:01 39700 8348908 99.53 28584 4348424 441392 5816600 92.95 768592
Average: 57576 8331032 99.31 56029 4292652 349858 5908134 94.41 775742
Is their any fix to this issue with out reboot ? please any one help me on this ?
Hi ,
sorry for that , i am pasting the info below.
Linux venkat.gb.com 2.6.18-238.el5xen #1 SMP Sun Dec 19 14:42:02 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
it is a Oracle virtual linux and here few databases are running
[root@ ~]# sysctl vm.swappiness
vm.swappiness = 60
[root@~]# df /dev/shm
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 4194304 249220 3945084 6% /dev/shm
[root@ ~]# ipcs -um
------ Shared Memory Status --------
segments allocated 31
pages allocated 2099310
pages resident 1003699
pages swapped 881584
Swap performance: 0 attempts 0 successes
[root@ ~]# cat /proc/meminfo
MemTotal: 8388608 kB
MemFree: 29556 kB
Buffers: 39224 kB
Cached: 4458580 kB
SwapCached: 625964 kB
Active: 6728908 kB
Inactive: 548592 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 8388608 kB
LowFree: 29556 kB
SwapTotal: 6257992 kB
SwapFree: 512504 kB
Dirty: 3360 kB
Writeback: 0 kB
AnonPages: 2442472 kB
Mapped: 3943420 kB
Slab: 256204 kB
PageTables: 525464 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 10452296 kB
Committed_AS: 21157240 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 34920 kB
VmallocChunk: 34359703427 kB
thanks
Venkat
Similar Messages
-
Can anyone tell me how to check how much of swap space using by oracle on solaris 5.10. Oracle version is 10.2.0.4
free -m
above will report how swap is being used, but not broken down by process/user
I don't know how to obtain swap space by individual user. -
GWTDOMAIN using lots of swaps space in WLE 4.2!!!
We are having problem in one our of non- production environments where the GWTDOMAIN is using lots of swap space and not releasing them. It got so bad that the swap space used was 100% and we had to "kill -9" this GWTDOMAIN and bounce it again to to release this space. Is this a known bug and if not what can I do to resolve this problem
or do we need to open a trouble ticket with BEA to fix.
Thank for your help.
Bayo Alege
Senior Analyst, Systems
CIMG
513-723-2954Excessive archivelog generation on an EM12c repository database may mean you are hitting bug 14726136. Please see MOS note 1502370.1. I would suggest filing an SR with support to confirm whether or not you are experiencing this bug; they can help you with some additional analysis.
-
Problem on Creating a Swapfile for adding swap space
Folks,
Hello. I am using Oracle Linux 5.6. At this time, the Linux swap space is 0 KB by using the command:
[root@rac1 /]# grep SwapTotal /proc/meminfo
I need 150MB swap space to install Oracle Database. I create the swap space using the following commands:
Step 1:
[root@rac1 /]# dd if=/dev/zero of=/swapfile bs=1024 count15360 hit enter
Output: 153600 to records in
153600 to records out
157286400 bytes(157MB) copied, 3.3835 seconds, 46.5MB/s.
Step 2:
[root@rac1 /]# mkswap /swapfile hit enter
Output: Command not found.
Step 3:
[root@rac1 /]# swapon /swapfile hit enter
Output: Command not found.
Step 4:
[root@rac1 etc]#vi fstab
Add this line into the file: /swapfile swap swap defaults 0 0
Save and close the file fstab.
Step 5:
Reboot Oracle Linux 5.6 and run this command:
[root@rac1 /]# grep SwapTotal /pro/meminfo
Output: SwapTotal: 0 KB
As you see above, swap space is not added. I think the problem is that the commands "mkswap /swapfile" and "swapon /swapfile" are not executed.
My question is : Do any folk understand how to add the swap space successfully ?When you execute a program, the command shell will walk through the locations specified by $PATH environment variable in order to find it. The "./" path is the current working directory and should not be in the $PATH environment to make sure applications are run only from locations defined by $PATH and not the current working directory. You can bypass this behavior iif you specify the full absolute path to the program at the command prompt, e.g. cd /sbin, ./mkswap or /sbin/mkswap. Other programs and administration tasks will use Linux utilities located in /sbin without specifying the full path and will not work if /sbin is not part of your PATH environment.
You may have seriously screwed up your system because your root account contains /home/ora11g/bin, which is normally defined by .bash_profile located in the user account's home directory. Before analyzing your login scripts, I suggest you post the output of the following command:
cat /etc/passwd -
Available swap space problem in solaris 10
Dear All,
Currently I am facing a most interesting problem regarding swap space.
We have assigned mirrored slice swap space with 20G size. But when we are asking for swap space it is only showing around 2GB.
1. Please have the swap area:
root@palash # swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d1 85,1 16 41945456 35002784
root@palash # swap -s
total: 53562072k bytes allocated + 5689008k reserved = 59251080k used, 615704k available
2. Please have the metastat output:
root@palash # metastat d1
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d21
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 41945472 blocks (20 GB)
d11: Submirror of d1
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s1 0 No Okay Yes
d21: Submirror of d1
State: Okay
Size: 41945472 blocks (20 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s1 0 No Okay Yes
3. Here is /etc/vfstab entry for swap:
/dev/md/dsk/d1 - - swap - no -
4. But when we checked swap space using df command:
root@palash # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 18G 7.7G 9.9G 44% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1.7G 1.7M 1.7G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
18G 7.7G 9.9G 44% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
18G 7.7G 9.9G 44% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 1.7G 184K 1.7G 1% /tmp
swap 1.7G 64K 1.7G 1% /var/run
/dev/dsk/c2t40d0s4 20G 20M 19G 1% /redo2
/dev/dsk/c2t40d0s1 276G 223G 50G 82% /oradata2
/dev/dsk/c3t40d0s3 195G 198M 193G 1% /restore
/dev/dsk/c2t40d0s0 276G 216G 57G 80% /oradata1
/dev/dsk/c2t40d0s5 59G 60M 58G 1% /system1
/dev/dsk/c3t40d0s0 276G 220G 53G 81% /index1
/dev/md/dsk/d3 30G 24G 5.7G 81% /oracle
/dev/dsk/c3t40d0s1 197G 53G 142G 28% /archive1
/dev/dsk/c2t40d0s3 20G 20M 19G 1% /redo1
/vol/dev/dsk/c0t6d0/disk1
0K 0K 0K 0% /cdrom/disk1
Please help me to indentify the reason.918597 wrote:
Hello,
Thanks for your reply.
But I am not clear about your findings as we have around 64GB physical RAM in my machine.
My question is that if we mount 20GB swap partition, then how we can see this is around less than 2 GB in df -h command.
And even in swap -s command, this is showing same problem.
What might be reason behind this????
//PalashWell no-one else has anwered ... so its back to me.....
Hmmm ... i would use the word observations rather than findings .... I am not on an old root explotation expedition all over our server .. merely observing on the morsels you show me ....
Please be aware I may not be totally technically correct or be using right terminology on what follows so I welcome corrections ....
Your machine has 64GB Memory, and a 20 GB swap file, therefore has the ability up to support 84GB total (Virtual) Memory ofr it's processes/buffers.
The reason little swap is free (let us say 2GB ... thoug it may be 600m) is theat processes/buffers have a virutal memory requirement of 84GB-2GB = 82Gb.
... So rather than wondering about how come 2GB is left, start thinking about ow 82GB is being used.
...... Particularly with databases oracle RDBMS; mysql etc a big influencing factor can be how much memory is allocated its memory structures.
.......... And a DBA may set these extremely high (memory_max / innodb-buffer-pool-size etc etc).
ps -ef will show the (virtual) 'size' for individual processes
prstat -a may help show what is going on (but may double account some things):
ipcs -a would show the allocation for the oracle RDBMS memory_area,
echo ::memstat | mdb -k ### may help ... but i have seen accounts of it taking ages to run.
I'd also check kstat zfs ... but your not using zfs so no need to bother.
.... You may need to show some evidence of how your applications are consuming virutal memory for someone to help you futher ... but if you do htis who may answer your own quesiton. -
Database Instance Using Swap Space even When There is Plenty of Free RAM
Hi,
I am facinga strange issue in oracle on solaris 5.10
Platform:solaris 5.10
Database version:11.2.0.1.0
Our database Instance Using Swap Space even When There is Plenty of Free RAM.
We have 80GB of physical RAM, 32GB is set to oracle SGA_MAX_SIZE
memory parameters:
memory_max_target big integer 32G
memory_target big integer 32G
sga_max_size big integer 32G
sga_target big integer 32G
but still oracle is taking memory from swap even though we have enough physical memory.
please find the top output
load averages: 0.09, 0.18, 0.84 01:07:49
134 processes: 133 sleeping, 1 on cpu
CPU states: 99.4% idle, 0.4% user, 0.3% kernel, 0.0% iowait, 0.0% swap
Memory: 80G real, 69G free, 35G swap in use, 49G swap free
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
1052 oracle 13 59 0 95M 66M sleep 13:16 0.07% oraagent.bin
10256 oracle 1 59 0 32G 835M sleep 0:00 0.03% oracle
1227 oracle 15 59 0 78M 56M sleep 4:27 0.02% ocssd.bin
9524 vector1 112 59 0 1704M 776M sleep 45:04 0.02% java
988 oracle 38 59 0 119M 92M sleep 3:00 0.02% ohasd.bin
1297 oracle 1 101 -20 453M 390M sleep 2:47 0.02% oracle
1765 oracle 1 101 -20 32G 329M sleep 2:45 0.02% oracle
10258 oracle 1 59 0 32G 345M sleep 0:00 0.02% oracle
10259 oracle 1 59 0 3400K 2024K cpu/20 0:00 0.01% top
1777 oracle 1 59 0 32G 342M sleep 1:14 0.01% oracle
1246 oracle 6 59 0 56M 44M sleep 1:22 0.01% diskmon.bin
1803 oracle 1 59 0 32G 514M sleep 0:30 0.01% oracle
1215 oracle 15 59 0 71M 46M sleep 1:12 0.00% cssdagent
1307 oracle 1 59 0 453M 390M sleep 0:45 0.00% oracle
1217 oracle 11 59 0 81M 49M sleep 0:35 0.00% orarootagent.bi
Vmstat output:
$vmstat 5 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s3 s3 s3 s3 in sy cs us sy id
0 0 0 53698448 73900568 20 81 32 6 5 0 1 -0 0 1 -0 2235 1447 1984 1 0 99
0 0 0 51196160 72037552 1 13 0 0 0 0 0 0 0 0 0 2505 1403 2204 0 0 100
0 0 0 51193488 72035864 55 380 0 0 0 0 0 0 0 0 0 2487 2143 2203 0 1 99
0 0 0 51183856 72030176 0 0 0 3 3 0 0 0 0 0 0 2496 1370 2182 0 0 99
0 0 0 51182648 72029112 22 117 0 0 0 0 0 0 0 0 0 2503 1408 2193 1 0 99
$cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
I refered the metalink document id: [ID 761960.1]
Database Instance Using Swap Space When There is Plenty of Free RAM metalink note [ID 761960.1]
and tried the disabling the sga_max_size and memory_max_target and memory target with all different combination but no use.
We have one more box where same setup was configured in solaris platform but there the above memory parameters are not disabled but it is not using swap space it takes memry only from physical RAM
Can any one throw some lights on this issue. It wopuld be great if I come to know where the exact problem
Thanks in advance
With Regards,
Boobathi PHi,
I didn't say I am not using 11gr2 memory parameters I am using all the automatic memory parameters but the thinks is as per the metalink note I tried by disabling the automatic memory parameters. but that didn't help me in preventing unnecessary swap usage. So I reverted. now it is using automatic memory parameters.
so What is the solution for this?
With Regards,
Boo -
Observation: SAP uses swap space even when OS has available unused memory
Hi Folks,
It is my understanding that any memory not used by the Linux OS itself or the SAP application is available for Linux to use for I/O buffers and file caching. When the SAP application requires more memory I would expect Linux to take memory away from itself (release I/O buffer and/or file caching memory).
We have observed that SAP uses swap space even when there is memory available. Is there some feature in SAP kernel or some ABAP construct that causes SAP to prefer swap space over available memory? Or maybe there is a Linux kernel setting that influences SAP's use of swapping.
Regards,
ZazHi Mike
You did not mention which distribution you have. Under SLES there is is a parameter called SWAPPINESS, which controls the buffering/swapping.
cat /proc/sys/vm/swappiness
If you don't already know, you can see the memory usage with the free command.
root # free -m
total used free shared buffers cached
Mem: 7987 7901 85 0 364 4262
-/+ buffers/cache: 3274 4712
Swap: 15999 0 15999
As far as i know, in this example 3274 is memory used by SAP and other processes and 4712 is cache. Please correct me if i am wrong.
Regards
Michael
Edit: a low swappines, for example 10 means to reduce cache first, a high swappiness (example 100) means page out processes first
Edited by: mho on Jun 20, 2008 11:21 AM -
How to find Oracle is using swap space or not?
Hi,
I have a SuSe Linux database server on which 2 Oracle 10g databases and one MySQL server is running.
I can see a very little swap space is being used in the server while there is almost 100% RAM utlization.
I want to know if my Oracle databases are using swap or not. If it is using, how much of swap being used currently by each Oracle database?
Can someone please guide me on how to do that?
Thanks in advance for your help.
Regards,
Murali MohanI did "vmstat 1 10" and here is the output.
What I want to know how much swap space is used by each of my oracle database while the below output is for total swap usage
procs -----------memory---------- ---swap-- -----io---- system ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 2366860 36996 81660 9458664 67 44 4160 356 9 13 5 3 82 9
0 0 2366860 38224 81748 9458576 0 0 0 512 1041 369 0 0 99 1
1 0 2366860 38224 81748 9458576 0 0 4 80 1053 293 6 0 93 0
2 0 2366860 38224 81752 9458572 0 0 80 40 1467 956 22 7 70 1
2 1 2366860 38248 81760 9458564 0 0 0 580 1150 444 32 17 50 1
1 1 2366860 38124 81808 9458516 0 0 360 1040 1672 1158 28 13 51 8
2 0 2366860 38124 81832 9458492 0 0 84 288 1380 931 33 10 57 1
2 0 2366860 36596 81884 9458388 52 0 52 4088 1098 475 36 16 46 1
2 0 2366860 38188 81916 9458356 0 0 144 1096 1251 570 36 12 49 2
2 0 2366860 38180 81916 9458356 0 0 68 136 1595 1134 28 9 63 1 -
Arch process using more swap space
Hi,
DB : 11.2
OS : Aix 6
While taking archive backup by oem,only 9 archive process consuming more swap space.
The parameter value is LOG_ARCHIVE_MAX_PROCESSES=15 at db level.
Why only 9 archive process use swap space at os level?
how to determine all the archive process needed?
Thanks & Regards,
VNuser3266490 wrote:
Hi,
Thanks for your reply.
Physical memory 120 GB,Swap space 45GB.
We getting TOP consuming SWAP space PID's from OS team.Then we checked v$session with that PID's.We found that PID's belongs to archive processes.
Nealry 25 log switch per hour happened.the log file size 8gb,8 groups. Then REDO log files is is way too small by around a factor of SIX
Increase REDO log file size to 50GB to reduce the number of switches per hour to around 3 0r 4. -
My program on Solaris 9 uses huge amounts of swap space
hi,
i have written a program that uses very little memory but seems to use huge amounts of swap space in increments of 1.4GB. The initial install of the Solaris 9 only allocated 500MB of swap for 4GB of Memory. The swap space has now been increased to 16GB but the program seems to use more swap space.
The program uses an api to attach to up to 100 agents and (the peice i wrote) registers a callback to handle events from the agents, a small amount of memory is allacated to hold details of each agent but no more.
Can anyone shed any light on this as this program does run on other platforms with any issues.
sdarcy7are you sure you are release memory, what language are you using?
you can reboot the system and follow the memory process using vmstat and swap -l, after that run your program only one time, and run the command again so the memory after should be the same that the initial before you run your process, if not , you program is collecting memory and is not releasing it.
Good luck,
JoshD -
Hi All
I have an application consisting of lots of processes. When ever I start my applicaiton, I seem to be running out of swap space. I see that there is a lot of reserved space. Means the applications are attaching shm and/or requesting mallocs. Is there any way to fix this, either by debug by some mem tool or by any compiler options? I am running this on Solaris 10 with binaries compiled in sun studio 11 compiler set.
Thanks in advance.Hi All
I have an application consisting of lots of
processes. When ever I start my applicaiton, I seem
to be running out of swap space.How are you viewing this?
I see that there is
a lot of reserved space. Means the applications are
attaching shm and/or requesting mallocs.Also, just the forking will need to reserve space as well.
Is there any
way to fix this,I don't see that anything is broken. What are you trying to fix? You need memory to run lots of programs. Have you tried increasing the swapfiles on the machine? That will handle increased reservation requirements.
Darren -
Is useing swap space and hibernation secure?
As I understand it when you hibernate your system the ram is written to the swap space and the computer powers down. Is this secure and encrypted?
seniorsassycat wrote:As I understand it when you hibernate your system the ram is written to the swap space and the computer powers down. Is this secure and encrypted?
No, it is not. But are ypou running arch from an encrypted filesystem? Otherwise it would be pojntless. Anyway the normal swap is not encrypted either, at least by default.
Last edited by olive (2012-06-18 13:53:22) -
Hello,
My Application(a Desktop application) through the following exception
Can any one please help me finding what are the possible reasons and solution for the below error?
https://forums.oracle.com/message/6443182#6443182
https://forums.oracle.com/message/6646295#6646295
I have seen in the above discussions that reducing the the heap size (Xmx) would give a solution, can any one please suggest me how much do I have to reduce my Xmx.
Here are my log details.
# An unexpected error has been detected by Java Runtime Environment:
# java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in C:\BUILD_AREA\jdk6_12\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
# Internal Error (allocation.inline.hpp:42), pid=1508, tid=5848
# Error: GrET in C:\BUILD_AREA\jdk6_12\hotspot\src\share\vm\utilities\growableArray.cpp
# Java VM: Java HotSpot(TM) Server VM (11.2-b01 mixed mode windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x070d0400): VMThread [stack: 0x071b0000,0x072b0000] [id=5848]
Stack: [0x071b0000,0x072b0000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]
VM_Operation (0x0a21fae4): ParallelGCSystemGC, mode: safepoint, requested by thread 0x070e4800
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0d1da400 JavaThread "RMI RenewClean-[NCOSJPEPRD02:56100]" daemon [_thread_blocked, id=6104, stack(0x45440000,0x454c0000)]
0x0d1d9000 JavaThread "RMI RenewClean-[NCOSJPEPRD07:56100]" daemon [_thread_blocked, id=7312, stack(0x3abd0000,0x3ac50000)]
0x0d1d9c00 JavaThread "RMI RenewClean-[NCOSJPEPRD04:56100]" daemon [_thread_blocked, id=7244, stack(0x38340000,0x383c0000)]
0x17e82c00 JavaThread "RMI RenewClean-[NCOSJPEPRD06:56100]" daemon [_thread_blocked, id=4432, stack(0x0e210000,0x0e290000)]
0x17e80800 JavaThread "RMI RenewClean-[NCOSJPEPRD05:56100]" daemon [_thread_blocked, id=4128, stack(0x00e40000,0x00ec0000)]
0x17e7fc00 JavaThread "RMI RenewClean-[NCOSJPEPRD01:56100]" daemon [_thread_blocked, id=7472, stack(0x0b060000,0x0b0e0000)]
0x17e81400 JavaThread "WGN ThreadPool Message Receiver(20826) (Inactive)" daemon [_thread_blocked, id=5036, stack(0x37bc0000,0x37c40000)]
0x17e82800 JavaThread "RMI TCP Connection(261363)-10.22.91.38" daemon [_thread_blocked, id=5560, stack(0x0f460000,0x0f4e0000)]
0x17e80400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=6800, stack(0x0cbb0000,0x0cc30000)]
0x17e7f800 JavaThread "RMI RenewClean-[NCOSJPEPRD03:56100]" daemon [_thread_blocked, id=7784, stack(0x097c0000,0x09840000)]
0x17e81000 JavaThread "RMI TCP Connection(261367)-10.22.91.39" daemon [_thread_in_native, id=6972, stack(0x00dc0000,0x00e40000)]
0x0d1d9800 JavaThread "WGN ThreadPool Message Receiver(20825) (Inactive)" daemon [_thread_blocked, id=7872, stack(0x1fe10000,0x1fe90000)]
0x17e7f400 JavaThread "RMI TCP Connection(261366)-10.22.81.92" daemon [_thread_in_native, id=7948, stack(0x0e070000,0x0e0f0000)]
0x17e82000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=7672, stack(0x38440000,0x384c0000)]
0x08eed400 JavaThread "RMI TCP Connection(261320)-10.22.91.39" daemon [_thread_in_native, id=5640, stack(0x37eb0000,0x37f30000)]
0x17e81c00 JavaThread "RMI TCP Connection(261357)-10.22.81.92" daemon [_thread_in_native, id=8060, stack(0x22e90000,0x22f10000)]
0x19dd3c00 JavaThread "RMI TCP Connection(261369)-10.22.91.38" daemon [_thread_in_native, id=1360, stack(0x73da0000,0x73e20000)]
0x19dd3000 JavaThread "RMI TCP Connection(261360)-10.22.81.92" daemon [_thread_in_native, id=2144, stack(0x71d60000,0x71de0000)]
0x070e8800 JavaThread "RMI TCP Connection(261368)-10.22.81.92" daemon [_thread_in_native, id=7188, stack(0x4dac0000,0x4db40000)]
0x19dd0800 JavaThread "WGN ThreadPool Application Data Monitor(20737) (Inactive)" [_thread_blocked, id=6420, stack(0x0cd10000,0x0cd90000)]
0x19dd0c00 JavaThread "WGN ThreadPool Application Data Monitor(20687) (Inactive)" [_thread_blocked, id=3504, stack(0x0a7a0000,0x0a820000)]
0x19dd1800 JavaThread "WGN ThreadPool Application Data Monitor(20657) (Inactive)" [_thread_blocked, id=3084, stack(0x0b1e0000,0x0b260000)]
0x0d1dcc00 JavaThread "WGN ThreadPool Application Data Monitor(20446) (Inactive)" [_thread_blocked, id=7352, stack(0x0ab60000,0x0abe0000)]
0x08eecc00 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56102,[email protected]9b3ec]" daemon [_thread_blocked, id=1880, stack(0x0b8e0000,0x0b960000)]
0x08eec800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=5100, stack(0x0b820000,0x0b8a0000)]
0x08eebc00 JavaThread "WGN filter validation thread" [_thread_blocked, id=6412, stack(0x0b6a0000,0x0b720000)]
0x08eeb400 JavaThread "WGN ID cache(preloader thread)" [_thread_blocked, id=5280, stack(0x0b5e0000,0x0b660000)]
0x08eeb000 JavaThread "WGN Username cache(preloader thread)" [_thread_blocked, id=6808, stack(0x0b520000,0x0b5a0000)]
0x08eeac00 JavaThread "WGN Username cache(invalidator thread)" [_thread_blocked, id=3628, stack(0x0b460000,0x0b4e0000)]
0x08eea400 JavaThread "WGN E-mail address cache(preloader thread)" [_thread_blocked, id=5548, stack(0x0b3a0000,0x0b420000)]
0x08eea000 JavaThread "WGN E-mail address cache(invalidator thread)" [_thread_blocked, id=3844, stack(0x0b2e0000,0x0b360000)]
0x08ee8800 JavaThread "WGN Lookup cancellation thread" [_thread_blocked, id=4296, stack(0x0afe0000,0x0b060000)]
0x08ee8000 JavaThread "WGN RSRegister-FallbackMonitorThread" [_thread_blocked, id=4180, stack(0x0af20000,0x0afa0000)]
0x08ee7c00 JavaThread "WGN NotifyScheduler (Scheduler)" [_thread_blocked, id=1712, stack(0x0ae60000,0x0aee0000)]
0x08ee7800 JavaThread "WGN ThreadPool Application Data Monitor(0) - TPQE(NCOSJPEPRD03)" [_thread_blocked, id=6184, stack(0x0ada0000,0x0ae20000)]
0x08ee7000 JavaThread "WGN DBManagement (Scheduler)" [_thread_blocked, id=3524, stack(0x0ace0000,0x0ad60000)]
0x070e8c00 JavaThread "WGN Database Event Logging Queue Handler" daemon [_thread_blocked, id=2152, stack(0x0ac20000,0x0aca0000)]
0x070e7000 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56101,wigan.infrastruct.serviceutil.ClientSocketFactory@f5d9b3ec]" daemon [_thread_blocked, id=5836, stack(0x0a720000,0x0a7a0000)]
0x070e6c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=6704, stack(0x0a660000,0x0a6e0000)]
0x070e5800 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56100]" daemon [_thread_blocked, id=5984, stack(0x0a420000,0x0a4a0000)]
0x070e5400 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=6224, stack(0x0a360000,0x0a3e0000)]
0x070e4800 JavaThread "GC Daemon" daemon [_thread_blocked, id=660, stack(0x0a1a0000,0x0a220000)]
0x070e4400 JavaThread "RMI Reaper" [_thread_blocked, id=5084, stack(0x0a0e0000,0x0a160000)]
0x070e3c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=4916, stack(0x0a060000,0x0a0e0000)]
0x070e3800 JavaThread "WGN Ping (Ping Server)" [_thread_in_native, id=5112, stack(0x09ea0000,0x09f20000)]
0x070e3000 JavaThread "RMI TCP Accept-56099" daemon [_thread_in_native, id=4548, stack(0x09d30000,0x09db0000)]
0x070e2000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1452, stack(0x07870000,0x078f0000)]
0x070ed800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=4024, stack(0x07730000,0x07830000)]
0x070ed400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5480, stack(0x075f0000,0x076f0000)]
0x070e1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6908, stack(0x07530000,0x075b0000)]
0x070e1400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5792, stack(0x07470000,0x074f0000)]
0x070d4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4516, stack(0x073b0000,0x07430000)]
0x070d2400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5384, stack(0x072f0000,0x07370000)]
0x017fb800 JavaThread "main" [_thread_blocked, id=4796, stack(0x01480000,0x01580000)]
Other Threads:
=>0x070d0400 VMThread [stack: 0x071b0000,0x072b0000] [id=5848]
0x070f9800 WatcherThread [stack: 0x07930000,0x07a30000] [id=5408]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x017f9a10] UNKNOWN - owner thread: 0x070d0400
[0x017f9e70] UNKNOWN - owner thread: 0x070e4800
Heap
PSYoungGen total 173696K, used 8225K [0xdeaa0000, 0xe9f50000, 0xe9ff0000)
eden space 162752K, 0% used [0xdeaa0000,0xdeaa0000,0xe8990000)
from space 10944K, 75% used [0xe8990000,0xe9198528,0xe9440000)
to space 11136K, 0% used [0xe9470000,0xe9470000,0xe9f50000)
PSOldGen total 470848K, used 221413K [0x83ff0000, 0xa0bc0000, 0xdeaa0000)
object space 470848K, 47% used [0x83ff0000,0x918297a0,0xa0bc0000)
PSPermGen total 20352K, used 20093K [0x7fff0000, 0x813d0000, 0x83ff0000)
object space 20352K, 98% used [0x7fff0000,0x8138f528,0x813d0000)
Dynamic libraries:
0x00400000 - 0x004d0000 C:\Program Files (x86)\CA\CA DLP\system\wgninfra.exe
0x77800000 - 0x77980000 C:\Windows\SysWOW64\ntdll.dll
0x762d0000 - 0x763e0000 C:\Windows\syswow64\kernel32.dll
0x75ba0000 - 0x75be7000 C:\Windows\syswow64\KERNELBASE.dll
0x71c80000 - 0x71c92000 C:\Windows\system32\MPR.dll
0x75de0000 - 0x75ee0000 C:\Windows\syswow64\USER32.dll
0x758b0000 - 0x75940000 C:\Windows\syswow64\GDI32.dll
0x773f0000 - 0x773fa000 C:\Windows\syswow64\LPK.dll
0x75810000 - 0x758ad000 C:\Windows\syswow64\USP10.dll
0x77290000 - 0x7733c000 C:\Windows\syswow64\msvcrt.dll
0x77350000 - 0x773f0000 C:\Windows\syswow64\ADVAPI32.dll
0x75a50000 - 0x75a69000 C:\Windows\SysWOW64\sechost.dll
0x761e0000 - 0x762d0000 C:\Windows\syswow64\RPCRT4.dll
0x75250000 - 0x752b0000 C:\Windows\syswow64\SspiCli.dll
0x75240000 - 0x7524c000 C:\Windows\syswow64\CRYPTBASE.dll
0x75c80000 - 0x75ddc000 C:\Windows\syswow64\ole32.dll
0x759c0000 - 0x75a4f000 C:\Windows\syswow64\OLEAUT32.dll
0x735c0000 - 0x73647000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCP80.dll
0x74ae0000 - 0x74b7b000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x68600000 - 0x68645000 C:\Program Files (x86)\CA\CA DLP\system\infrahlp.dll
0x75ee0000 - 0x75f15000 C:\Windows\syswow64\WS2_32.dll
0x75c60000 - 0x75c66000 C:\Windows\syswow64\NSI.dll
0x76640000 - 0x7728a000 C:\Windows\syswow64\SHELL32.dll
0x75480000 - 0x754d7000 C:\Windows\syswow64\SHLWAPI.dll
0x71650000 - 0x7173b000 C:\Windows\system32\dbghelp.dll
0x75bf0000 - 0x75c50000 C:\Windows\system32\IMM32.DLL
0x75730000 - 0x757fc000 C:\Windows\syswow64\MSCTF.dll
0x68200000 - 0x68229000 C:\Program Files (x86)\CA\CA DLP\common\wgnprod.dll
0x734e0000 - 0x734e9000 C:\Windows\system32\VERSION.dll
0x10000000 - 0x1000d000 C:\Program Files (x86)\CA\CA DLP\common\wgnprod_en.dll
0x74ad0000 - 0x74adb000 C:\Windows\system32\profapi.dll
0x6db30000 - 0x6def4000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\server\jvm.dll
0x717b0000 - 0x717e2000 C:\Windows\system32\WINMM.dll
0x7c340000 - 0x7c396000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\MSVCR71.dll
0x71de0000 - 0x71e2c000 C:\Windows\system32\apphelp.dll
0x6d340000 - 0x6d348000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\hpi.dll
0x777d0000 - 0x777d5000 C:\Windows\syswow64\PSAPI.DLL
0x6d860000 - 0x6d86c000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\java.dll
0x6d8a0000 - 0x6d8af000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\zip.dll
0x75ae0000 - 0x75b63000 C:\Windows\syswow64\CLBCatQ.DLL
0x72f20000 - 0x72f27000 C:\Windows\system32\msiltcfg.dll
0x72ba0000 - 0x72de0000 C:\Windows\system32\msi.dll
0x71d50000 - 0x71d53000 C:\Windows\SysWOW64\SFC.DLL
0x71600000 - 0x7160d000 C:\Windows\system32\sfc_os.DLL
0x68400000 - 0x6845e000 C:\Program Files (x86)\CA\CA DLP\common\WgnPerf.dll
0x6d840000 - 0x6d848000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\sunmscapi.dll
0x76060000 - 0x76180000 C:\Windows\syswow64\CRYPT32.dll
0x76180000 - 0x7618c000 C:\Windows\syswow64\MSASN1.dll
0x73fb0000 - 0x73fc6000 C:\Windows\system32\CRYPTSP.dll
0x73f70000 - 0x73fab000 C:\Windows\system32\rsaenh.dll
0x72f40000 - 0x72f4e000 C:\Windows\system32\RpcRtRemote.dll
0x2d000000 - 0x2d070000 C:\Program Files (x86)\CA\CA DLP\system\wgnrdm.dll
0x71610000 - 0x71626000 C:\Windows\system32\MAPI32.dll
0x71370000 - 0x713c8000 C:\Windows\system32\WINHTTP.dll
0x70b50000 - 0x70b9f000 C:\Windows\system32\webio.dll
0x68000000 - 0x6802e000 C:\Program Files (x86)\CA\CA DLP\common\wgnps.dll
0x70f80000 - 0x70f97000 C:\Windows\system32\USERENV.dll
0x6d6c0000 - 0x6d6d3000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\net.dll
0x73580000 - 0x735bc000 C:\Windows\system32\mswsock.dll
0x73560000 - 0x73566000 C:\Windows\System32\wship6.dll
0x73570000 - 0x73575000 C:\Windows\System32\wshtcpip.dll
0x72ed0000 - 0x72f14000 C:\Windows\system32\DNSAPI.dll
0x72e40000 - 0x72e5c000 C:\Windows\system32\IPHLPAPI.DLL
0x72e30000 - 0x72e37000 C:\Windows\system32\WINNSI.DLL
0x72e20000 - 0x72e26000 C:\Windows\system32\rasadhlp.dll
0x72de0000 - 0x72e18000 C:\Windows\System32\fwpuclnt.dll
0x6d7b0000 - 0x6d7b6000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\rmi.dll
0x6d610000 - 0x6d619000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\management.dll
0x24200000 - 0x24221000 C:\Program Files (x86)\CA\CA DLP\common\streams.dll
0x2e600000 - 0x2e682000 C:\Program Files (x86)\CA\CA DLP\common\smtputils.dll
0x0ce30000 - 0x0ce66000 C:\Program Files (x86)\CA\CA DLP\common\mimepp.dll
0x72f80000 - 0x72f90000 C:\Windows\system32\NLAapi.dll
0x72f30000 - 0x72f40000 C:\Windows\system32\napinsp.dll
0x72e60000 - 0x72e68000 C:\Windows\System32\winrnr.dll
0x71340000 - 0x7136e000 C:\Windows\system32\mlang.dll
0x6f780000 - 0x6f788000 C:\Windows\system32\credssp.dll
0x70650000 - 0x7068f000 C:\Windows\SysWOW64\schannel.dll
0x723c0000 - 0x723c8000 C:\Windows\system32\secur32.dll
0x70f20000 - 0x70f58000 C:\Windows\system32\ncrypt.dll
0x70f00000 - 0x70f17000 C:\Windows\system32\bcrypt.dll
0x70ec0000 - 0x70efd000 C:\Windows\SysWOW64\bcryptprimitives.dll
0x70f60000 - 0x70f76000 C:\Windows\system32\GPAPI.dll
0x24800000 - 0x2482e000 C:\Program Files (x86)\CA\CA DLP\common\wgnstore.dll
0x24600000 - 0x24660000 C:\Program Files (x86)\CA\CA DLP\common\emstore.dll
0x12330000 - 0x123ab000 C:\Program Files (x86)\CA\CA DLP\client\wgnemol.dll
VM Arguments:
jvm_args: -Dsun.net.inetaddr.ttl=10 vfprintf exit abort -Xms5242880 -Xmx1711276032 -XX:NewSize=2621440 -XX:MaxNewSize=855638016 -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.server.gcInterval=60000 -Dsun.rmi.dgc.client.gcInterval=60000 -Djava.security.properties=wigan.java.security -Xss512K
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=C:\Oracle\Default\product\11.2.0\client_1;C:\Oracle\Default\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
USERNAME=osjapp
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 Build 7601 Service Pack 1
CPU:total 24 (16 cores per cpu, 2 threads per core) family 6 model 13 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht
Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free)
vm_info: Java HotSpot(TM) Server VM (11.2-b01) for windows-x86 JRE (1.6.0_12-b04), built on Jan 17 2009 09:52:33 by "java_re" with MS VC++ 7.1Hi
Out of memory they can result from different causes:
- The application is consuming too many resources inappropriately
- The application is opening and not enough threads are closing, leaving no space for the JVM
- You lose the connection with database, causing the connection pool is saturated, which makes the memory of the container is depleted and reaches its peak.
- The container does not have sufficient resources or is not tuned to meet the load generated. But would recommend to discard the above before using this option, because when using this option could work around the problem but could not really be attacking the cause.
bye -
Swap space usage in solaris 2.6
Hi
I'm confused abt how the OS uses the swap space in the solaris 2.6. My system has the following configuration.
RAM - 2560 M.
Disk based memory for swap - 513 M (From 'top' / 'swap -l' command)
The 'df -k' over the "/tmp" directory is showing Total around 1.8 GB space for the "swap" volume mounted over "/tmp".
Does it mean that, only 513M of 1.8 GB is allocated for a swap slice?? BTW this is the only swap slice that our system has. So what's happening to the remaining part of 1.8 GB?? Is it getting wasted??
When does the OS exactly starts using the disk memory?? Is it like if the OS finds that the available RAM is not sufficient for its memory operations then it starts using the disk memory??
Any help in clearing my doubts would be highly apreciated.
Rgds
raviHi
Thanks for the response. I understand the concept of anonymous memory. But what is confusing me is the "/tmp" directory. The "df -k" command over the "/tmp" directory is always showing used % as 1%. Also the "swap -s" is never matching with the output of "df -k".. ( I suppose both represent the Virtual attributes of swap space i.e. disk backed memory + portion of the RAM).
for example following is the output of the above commands at a particular instance.
df -k
swap 1908728 1768 1906960 1% /tmp
tcsb.tcs.gs1::/users/tcsuser/tmp-> swap -l
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 32,1 16 1049744 84048
tcsb.tcs.gs1::/users/tcsuser/tmp-> swap -s
total: 589008k bytes allocated + 98672k reserved = 687680k used, 1908920k available
Is there anything i'm missing here??
-ravi -
What is normal swap space utilization on Solaris 10
Hi all,
I'm running Oracle 11.2 on Solaris 10 on a couple of HP Proliant DL 360 servers.
Both servers have 72G of physical RAM with swap space set to 16G on both of them.
Server A has only one database and total memory free = 30G.
Server A
top: Memory: 72G phys mem, 30G free mem, 16G total swap, 16G free swap
swap -s: total: 27249744k bytes allocated + 13873764k reserved = 41123508k used, 1000552k available
prstat:
NPROC USERNAME SWAP RSS MEMORY TIME CPU
257 oracle 39G 38G 53% 222:11:52 5.6%
31 root 57M 59M 0.1% 414:47:23 0.1%
1 smmsp 1776K 7736K 0.0% 0:00:34 0.0%
6 zabbix 4752K 4092K 0.0% 0:58:31 0.0%
4 daemon 3864K 6456K 0.0% 0:00:35 0.0%Server B has two databases and total memory free = 9G.
Server B
top: Memory: 72G phys mem, 9890M free mem, 16G total swap, 16G free swap
swap -s: total: 29223360k bytes allocated + 627312k reserved = 29850672k used, 16926320k available
prstat:
NPROC USERNAME SWAP RSS MEMORY TIME CPU
157 oracle 28G 28G 39% 15:38:41 0.4%
34 root 58M 65M 0.1% 2:56:57 0.0%
6 zabbix 5580K 4816K 0.0% 0:00:31 0.0%
1 smmsp 1776K 5724K 0.0% 0:00:00 0.0%
5 hpsmh 17M 13M 0.0% 0:00:00 0.0%
4 daemon 3204K 5912K 0.0% 0:00:00 0.0%We are using zfs file system on both servers (which is pretty much the standard these days on Solaris).
Recently I got an OEM alert that my swap space on server A had crossed the 95% threshhold on one of the servers.
But when I checked the server, I found that the average swap space utilization was 97.45.
In fact, what actually happened was my swap utilization momentarily dropped below 95% and then returned back to its normal range above 95% which caused the alert to be triggered.
So this made me wonder why my swap space utilization was so high on server A, or is this just normal for Solaris (v.10).
Checking with server B, I see that my swap utilization is only at 63.6% (even though server B has much more physical memory in use by the two databases than server A).
Main question is why is swap utilization so high on server A, which is configured the same as server B and with less physical memory actually in use.
Next question is should I be concerned.
When I check vmstat, I do not see any paging in or out or blocked processes.
See below for server A
Server A
$ vmstat -S 5 5
kthr memory page disk faults cpu
r b w swap free si so pi po fr de sr s0 s1 s2 s5 in sy cs us sy id
0 0 0 1059868 30507176 0 0 0 0 0 0 2 7 -0 123 30 13742 25008 7264 5 2 93
0 0 0 1024076 30982140 0 0 0 0 0 0 0 23 0 0 122 4433 14793 6854 6 2 92
0 0 0 1030292 30987500 0 0 0 0 0 0 0 0 0 0 102 4055 15049 7014 8 1 91
0 0 0 1044484 30999572 0 0 0 0 0 0 0 0 0 0 129 5905 19196 8127 6 1 93
0 0 0 1028584 30987636 0 0 0 0 0 0 0 0 0 0 114 10611 19925 7259 6 3 90974632 wrote:
Looks like we don't have 'free' on these Solaris boxes (only the man pages).
I'm guessing that free is for linux (since it works fine on my linux boxes).
$ whereis free
free: /usr/man/man3c/free.3cdarn!
Realize that SWAP is purely an OS facility; which is 100% external to Oracle.
The OS send little used or idle processes into SWAP when RAM is scarce resource.
The fact that SWAP is being used is not a Bad Thing, in and of itself.
as long as vmstat shows that BI+BO > SI+SO I would ignore the Chicken Little warnings.
Maybe you are looking for
-
Address Book images not syncing via .Mac sync
i recently decided to get serious about attaching images to my contacts in address book. the images sync perfectly with the iphone, but they dont sync at all between the other copies of address book on the various macs in my home. the addresses (text
-
The User Profile Service service failed the logon. User profile cannot be loaded.
I have one Admin profile (me) and 1 guest profile (Guest) I have followed the instructions in Microsoft KB 947215 In step 4 it says to locate the S-1-5 folders, which I have done, find the two matching file numbers and change the .bak/ba extensions
-
Can you Download iOS5 for A Late 3d Generation iPod Touch? if So, How?
Hello, I Have a 3d gen. iPod Touch, currently with 4.2.1 set up, does anyone know how to update it to 4.3? because i keep scannig for an update and iTunes just sys that 4.1 is the current software version! please help! - Joe
-
What is the reason to create database directory in oracle instead of oracle could use ;
Hi all, I want to know why oracle has given the concept of directory as database object while a file on os can be access directly by it full qualified name. like we use directory object in external table and expdp etc.
-
How to get Connector information and WebAS Info for System
HI, How can we get the info for the Connector and WebAs to create the system? Thanks,