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.
Similar Messages
-
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 -
Oracle Developer Suite 10g - Windows 7 - swap space problem
Hi brothers and sisters,
Hope all you are fine. I am facing swap space problem while installing Oracle Developer Suite 10g on Windows 7 . I have downloaded and installed Oracle Database 11g Express Edition successfully and it is working properly. Now, I have downloaded two files
a. ds_windows_x86_101202_disk1,
b. ds_windows_x86_101202_disk2
to install Oracle Developer Suite 10g using Windows 7 Ultimate. The Oracle Universal Installer have passed the following issues:
a. Operating system version,
b. Monitor
But while checking swap space, it gives a message, "0 MB available, 1535 MB required", Failed. I have 2 GB RAM installed and system managed paging file space which is currently allocated to 2038 MB in my system .
Please solve me the problem.
Noorincrease the system virtual memory for the OS drive.
check this link
http://hamid-oracle.blogspot.com/2011/06/how-to-install-oracle-developer-suite.html
also check this link.
Re: error installing oracle forms 11g release 2
Hope this helps
If someone response is correct or helpful, mark accordingly. and if answered mark answered.
Edited by: HamidHelal on Jun 27, 2012 2:28 PM -
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. -
Swap space - upgrading to solaris 8
Hi
I have Solaris 2.6, 3Gb RAM and
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s4 32,4 16 527024 378752.
# vmstat
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr f0 m1 m1 m1 in sy cs us sy id
0 0 0 22392 13240 10 379 282 191 219 0 5 0 0 0 8 1381 5898 4631 6 5 89
# sar -r 1
SunOS nwlabs 5.6 Generic_105181-26 sun4u 02/26/02
16:26:54 freemem freeswap
16:26:55 5964 4947043
The Solaris 8 Advanced Installation Guide recommends allocating at least 512Mbytes of swap space before upgrading. Is this referring to swap disk or total swap space?
Do I need to allocate more swap space before upgrading to Solaris 8?
Thanks
DIf you are using the "Installation" cd with Solaris 8 then it requires a minimum of 512 to store the "installer" in swap so it can do the installation. If you forego the use of the Installer CD and start the Installation with Disk 1 of 2 then you don't have to worry about swap issues. The Advanced Installation Guide seems to indicate that you should use the WebStart Installer but it is not needed.
If you are doing an upgrade then it will use what you already have set up as a swap slice. If you are doing an initial install then you can make swap whatever you want. -
Weird swap space problem??
what does this mean?
Mar 12 11:02:20 sol10vmware tmpfs: [ID 518458 kern.warning] WARNING: /etc/svc/volatile: File system full, swap space limit exceeded
df -k reveals that swap is only 1% full
# df -k*
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0d0s0 11355557 7132193 4109809 64% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 12640 660 11980 6% /etc/svc/volatile
objfs 0 0 0 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
11355557 7132193 4109809 64% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 12076 96 11980 1% /tmp
swap 12004 24 11980 1% /var/run
bash-3.00#But then why would it still be working? I dunno, I still think something else may be going on. However if this is true know where I can get a new 40 gig hard drive the cheapset?
-
Swap space problem on Windows XP
I'm trying to install BI Publisher on Windows XP from a zip file downloaded last week (version 10.1.3.3.2). However after starting setup.exe in the install directory I get the message that my swap space = 0 Mb while 500 Mb is required. After this the installation procedure quits.
I haven't got a clue as what the installer is referring to (swap on windows?) but I have plenty of room om my two (logical) disks, no spaces in the directory name from which I start the installer (D:\download\bipublisher\Windows\OBI\install) and about 1.5 Gb of memory free.
Any hints what to do would be appreciated.
tia,
MartinHi Mjb001,
In computer operating systems that have their main memory divided into pages, paging (sometimes called swapping) is a transfer of pages between main memory and an auxiliary store, such as hard disk drive.[1] Paging is an important part of virtual memory implementation in most contemporary general-purpose operating systems, allowing them to easily use disk storage for data that does not fit into physical RAM. Paging is usually implemented as a task built into the kernel of the operating system.
Windows 3.x creates a hidden file named 386SPART.PAR or WIN386.SWP for use as a swap file. It is generally found in the root directory, but it may appear elsewhere (typically in the WINDOWS directory). Its size depends on how much swap space the system has (a setting selected by the user under Control Panel → Enhanced under "Virtual Memory"). Please check this file.
Regards,
Amit Deshpande
Persistent Systems Ltd. -
Java and swap space in Solaris 8
Hi,
I've set weblogic java to run on Xmx1534m with swap space 2Gb. It seems like we always encounter out-of-space during jsp compilations. This happens whenever the system crunches on available swap space. Any ideas what to adjust for, such as system paramters.
You can use compiler class instead of external compiler and compile
in-process. I use
public class MyCompiler {
public static void main(String[] args) {
ByteArrayOutputStream err = new ByteArrayOutputStream();
sun.tools.javac.Main compiler = new sun.tools.javac.Main(err, "javac");
if(!compiler.compile(args)) {
throw new RuntimeException(err.toString());
"Paul Chew" <[email protected]> wrote in message
news:3da40212$[email protected]..
> Hi,
>
> I've set weblogic java to run on Xmx1534m with swap space 2Gb. It seems
like we always encounter out-of-space during jsp compilations. This happens
whenever the system crunches on available swap space. Any ideas what to
adjust for, such as system paramters.
>
Dimitri
-
Hi all,
I have prod and test on the same server on AIX 5.3 box. And application is 11i. It's not a good config but thats the way it is here. And for the last 6 months or so we are getting PGSP_KILL error in AIX log files. My server RAM is 8GB and as per Metalink docs, i first set SWAP SPACE to 0.75 times the RAM but still the same problem. Now i have set SWAP SIZE to same size of RAM(8GB). Still getting the same problem mainly when copying files to tape or taking cold backup. After this happens we get famouus FRM-92050 Failed to connect to server: xxxx.xxxx:9000. ans users can't login.
I have gone thru many metalink docs. But plz recommend me to as what swap size should i set. Or find the offending process which is taking more resources. In errpt is shows FNDLIBR is process which is consuming lot of swap space. But i dont know what to do now.
Regards
TaherHi Taher;
Please check below and see its helpful for you
Re: 12.0.4 Upgrade - Performance
Re: Apps R12 now available
SWAP SPACE ON SOLARIS (its your previous post)
Regard
Helios -
Space Problem in G: - after NW2004s SR1 installation on Windows 2003 server
HI Friends,
I have installed NW2004s SR1 on Windows 2003 server with Oracle 10g database successfully. My server has sufficient harddisk space as follows.
C: 9.6GB
G: 24GB
H:64GB & I: 73GB.
RAM is 6GB
While installing NW2004s i have defined a paging size on C: 400MB-1600MB and
i have set the option as System Manageble on other drives G, H& I drives. I did not get any Swap space problem while installing.
During installation I have chosen G: drive to store MirrorlogA, MirrorlogB, Oraarch, OriglogA, OriglogB folders of Oracle for redolog archives,.Total size of all these folders is 17.4 GB
G: drive has one more folder Program files which is of 155KB and no other files exist in it.
But My system says that I am running out of Space on G: drive and free space available now is only 44MB.
My question is where has the rest 5GB of space gone? Is it consumed as a part of Paging file which i have set on this drive as System manageble??
I have set the same option on other drives too i..e H & I. But i am not facing any space issues for these drives.
What could be going wrong?? Please suggest me how to correct this
Thanks
mv_d898118 wrote:
Hi All,
I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
I double-insured that there is enough disk-space and I am also in the Administrators-Group.
Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
Regards
Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names. -
I am use script to install a data guard, and get ORA-27072 error, the metalink tell my maybe "all available swap space on the system has been used".
and tell me
"According Note 169706.1 : Oracle® Database on AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Install
ation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
Oracle has the following recommend on the swap sapce for linux x86 system
If RAM = 1024MB to 2048Mb
then 1.5 times RAM
elseif RAM > 2048MB and < 8192MB
then match RAM
else RAM > 8192MB
then .75 times RAM"
ORA-27072: File I/O error
Linux Error: 25: Inappropriate ioctl for device
My os has 8G RAM and 2G swap space size, do i need chang swap space size to 6G?>
I am use script to install a data guard, and get ORA-27072 error, the metalink tell my maybe "all available swap space on the system has been used".
and tell me
"According Note 169706.1 : Oracle® Database on AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Install
ation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
Oracle has the following recommend on the swap sapce for linux x86 systemWell, for a start you could try clearly telling us what your OS is! Above
you mention a "linux x86" system.
If RAM = 1024MB to 2048Mb
then 1.5 times RAM
elseif RAM > 2048MB and < 8192MB
then match RAM
else RAM > 8192MB
then .75 times RAM"
ORA-27072: File I/O error
Linux Error: 25: Inappropriate ioctl for device
My os has 8G RAM and 2G swap space size, do i need chang swap space size to 6G?Sorry - I'm confused - here you mention 8GB of RAM. Do you have
High Memory Support on your kernel?
You might want to look at
http://www.puschitz.com/InstallingOracle10g.shtml
however more info on your configuration is necessary. BTW, you can also
improve performance by spreading the swap over different disks.
HTH.
Paul...
When asking database related questions, please give other posters
some clues, like OS (with version), version of Oracle being used and DDL.
Other trivia such as CPU, RAM + Disk configuration might also be useful.
The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
Furthermore, as a courtesy to those who spend time analysing and attempting to help,
please do not top post and do try to trim your replies! -
Swap space becomes critically low in the system
Hi,
We are facing a situation where the swap space space is critically low in the system, there is just 10 % available swap space in the system
And we can't see the swap space being released to the OS .
This is one of the Application servers we have for R3 system.
SAP environment:
SAP Netweaver 7.01
LINUX RHEL
Oracle 11g
$free -m //outut
As you can see we have 64G physical memory allocated to this application server whereas the configured swap space is around 20G.
This Linux box houses two application server one for R3 and the other for CRM.
Would appreciate if you can tell me what should be done to release the swap space as above shows that 18 gig of 20 is being used right now.
Regards,
RakeshThanks Gaurav..
what you have said makes sense we will check that parameter which determines to what extent swap space should be used between 0 to 100 %.
However, I have found that there are many swaps in the SAP buffer (ST02) that we will be tuning soon in both of the application servers that I had mentioned above,
I have checked the ST06 and couldn't found any page in/out activity.
see below the screen shots of ST02 and ST06 for both application servers.
Regards,
Rakesh -
Hello to all.
I had an application (a C programme) running on Solaris 2.4. Recently i upgraded to Solaris 8.
I recompiled this application (everything went smoothly). However i have a serious problem i
cannot debug further. This application runs as a daemon. As the time passes it eats all my swap space
available and never releases it. When i run out of swap space, the application crashes and has to be
restarted.
Any ideas what may be the problem ?Sounds like a memory leak.
-
Hi all,
I want to size of the swap space on test server for installing R12 on solaris 10. I searched on metalink but found most of the notes point to database server but not to oracle applications. Any formula,suggestion,previous bad experience plz
Regards
TaherHi Taher,
And i had really hard time installing ADI today. I did install ADI but was not able to configure. I copied the tnsnames.ora file from $TNS_ADMIN(8.0.6 O_H) to c:\orant\network\net80 and c:\orant\network\network. But it says could not connect to database.What is the complete error message?
What is the ADI version?
Did you run "ADI Diagnostic Wizard"? If yes, does it show any error/warning messages?
And there is another directory orawin95, this also contains the network,net80 folders. Should i copy tnsnames.ora to this directory as well. And should i remove sqlnet.ora from these directories as well..You will have to copy the file to both directories. Btw, what does the tnsping return?
Plz any step by step document for installing it. I followed the UVA (University of Virginia) documents and configured it properlu. Still the same problem.There are many documents available and I believe the installation of ADI is strightforward. However, you may see these documents.
Note: 70669.1 - ADI: Troubleshooting Connection Problems with ADI/GLDI
Note: 131070.1 - Guide to Troubleshooting ADI Connection Problems
Regards,
Hussein -
Hi All,
Using Oracle 10gR1, Solaris 9.
prtconf | grep "Memory size"
Memory size: 16384 Megabytesswap space is 16g
Pga_aggregate_target = 2G and after checking the v$pga_target_advice, it shows optimal.
Currently we have a issue of swap space getting used up nearly 100%. The system was out of memory and can't run any application
Alert logs error;
ORA-07445: exception encountered: core dump [_aio_free_stack_unlocked()+72] [SIGBUS] [Object specific hardware error] [0xFFFFFFFF7B602000] [] []
ORA-00600: internal error code, arguments: [ksnpost:ksnigb], [], [], [], [], [], [], []
ORA-04030: out of process memory when trying to allocate 588408 bytes (pga heap,kco buffer)On checking Metalink note, it said its an unhandled Oracle exception; have to increase the swap space.
AWR excerpt;
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 4,848M Std Block Size: 8K
Shared Pool Size: 3,985M Log Buffer: 1,024K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 63,328.92 2,116.68
Logical reads: 4,946.83 165.34
Block changes: 257.73 8.61
Physical reads: 1,267.50 42.36
Physical writes: 72.44 2.42
User calls: 385.83 12.90
Parses: 84.22 2.81
Hard parses: 0.04 0.00
Sorts: 10.53 0.35
Logons: 0.14 0.00
Executes: 211.35 7.06
Transactions: 29.92
% Blocks changed per Read: 5.21 Recursive Call %: 13.56
Rollback per transaction %: 0.29 Rows per Sort: 94.72
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) DB Time Wait Class
row cache lock 16,498 45,001 43.44 Concurrency
log file switch (checkpoint in 30,766 30,281 29.23 Configuration
db file sequential read 2,873,716 10,796 10.42 User I/O
buffer busy waits 8,870 8,718 8.42 Concurrency
db file parallel write 421 3,848 3.71 System I/O
-------------------------------------------------------------On increasing the swap space, and restarting the instance, the system was normal.
Now why does oracle use up all the swap space and what can be the workaround to avoid this in future?Verma wrote:
Using Oracle 10gR1, Solaris 9.
swap space is 16gOracle 10gR2 swap space recommendations are:
- 1 GB - 2 GB = 1.5 times the size of RAM
- 2 GB - 8 GB = equal to the size of RAM
- Greater than 8GB = 0.75 times the size of RAM
Currently we have a issue of swap space getting used up nearly 100%. The system was out of memory and can't run any applicationThat is unusual and should not be happening when you have what seems to be an excess of memory available. This could mean some kind of bug (memory leakage for example), or it could mean plain old fashion abuse of memory. Like PL/SQL code that attempts to bulk fetch a few million rows from the database with a single go.
On checking Metalink note, it said its an unhandled Oracle exception; have to increase the swap space.Wrong IMO (unless you were not following the recommended swap size factor). If you have have a giant swap area..moving the wall a few meters away (by increasing swap) will only enable you to run faster into it - I doubt that this is the intent of that Metalink note.
On increasing the swap space, and restarting the instance, the system was normal.
Now why does oracle use up all the swap space and what can be the workaround to avoid this in future?Oracle only use what is needed to perform the client requests that it receives. If the client request a mountain of data to be moved/processed, Oracle will try to oblige. If that mountain topples and crushes server resources, it is not Oracle that is to blame for trying to do exactly what was requested from it.
Maybe you are looking for
-
I need help, i need buy or dowload some Professional Authoring DVD for IMAC, I editing in my Final Cut Pro X and need a DVD authoring after installing the Mavericks, my IDVD don't work, can someone help about this ? also, did you know if DVD studio p
-
How to switch off the function "Wiki translation" ?
The problem is when site provides you with "Wiki translation" service. If I point cursor on the line the site shows in an floating window the translation of a string or it's original. It's very annoying service! I may turn it off by not allowing scri
-
Pausing at the end of a Ken Burns Effect
Hi, I have a number of photos that I am using within imovie. I am applying a Ken Burns effect to scroll or zoom on the photo. At the end of the effect I would like the photo to pause. The viewer would see a photo, the zoom/scroll get to the final pos
-
Shape cannot be resolved to a type
Hi all, For my current programming in eclipse 3.1.0, I'm using an open source class. Within that class, the object 'newShape' of class 'Shape' is declared. When compiling, the following error message occurs: Exception in thread "main" java.lang.Error
-
Cannot open illustrator file CS5
Hey guys. Made my first illustrator file and double backed it up. I put so much work into it but now I cannot open the file... Please help. I also tried using the recovery option and only when I use doc recover and hold down ctrl alt shift and open i