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 P

Hi,
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

Similar Messages

  • 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,
    Zaz

    Hi 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 do I get Cross Dissolves to work even when there is plenty of media

    I have 10 minute movie with many different video segments. I have added cross dissolves throughout the movie, and many go in with no problem, I just drag and drop them, and then I can easily drag the dissolve longer or shorter. However, on about half of the clips, I can't add a dissolve. There is plenty of media available (most clips are about 10 or 15 seconds long). It won't let me drop a cross dissolve at all. Sometimes, it lets me drop the dissolve, but only on one of the two clips I want it, and when that happens, the dissolve is very short and it won't let me extend it. Again, there is plenty of media available, and it will let me use the dissolve on about half of the clips (all the clips are pretty much the same--same source, same file type, same length, etc.). I've tried some suggestions online, but most suggest that the problem is with available media--I don't think that's my problem. Any suggestions?

    +I've tried some suggestions online, but most suggest that the problem is with available media--I don't think that's my problem. Any suggestions?+
    You don't have enough media.
    Move your IN point a few seconds into the clip, and then drop it into the timeline.
    Now apply dissolve
    Niel

  • Download went fine but I get an error message about rights (even logged in as Administrator) and disk space (even though there's plenty) when I try to run the .exe and extract files.

    IT help said the installer was corrupted. Back I go to see if I can download it again and get a clean version.

    Banjo Seth if you are receiving messages that you have insufficient file permissions then please have your I.T. department attempt the install utilizing a local administrator account.

  • [SOLVED] swap usage when there is plenty of ram availibale

    Hi guys, I'm not sure if this is correct subforum, but here is the question
    By default linux kernel uses swap partition even if there is lots of ram availiable. What's the purpose of this? And is there a way to turn this off in Arch.
    Last edited by ogronom (2008-11-03 18:59:10)

    found 2 articles (pretty old) about this issue
    http://www.beranger.org/index.php?article=1547&page=3k
    http://lwn.net/Articles/83588/

  • When I synch my ipod touch it only lets 50 videos get on ipod . I can't get the other videos on even though there's plenty of space available and it's set to synch all movies

    When I synch my ipod touch it only lets 50 videos get on ipod . I can't get the other videos on even though there's plenty of space available and it's set to synch all movies. What am I missing?

    i had the same problem. did a lot of research..my phone became unusuable. do you use the htc mail? if so that is your problem. there is a bug with it that it keeps eating your memory until you cannot use your phone. i had to do a hard reset. back to factory condition..not happy! but then went to the marketplace and got k-9 mail. that is now my default mail program. i have not had any issues since then. this is what i kept reading over and over for complaints on this phone. it is a major glitch and the only way, as of the time it happened to me, to fix it..

  • 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 Mohan

    I 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

  • Dax Calculate column even when there is no record at a date

    We are creating a powerpivot model based on a table with data about worktasks of our employees.
    This is simplified our input:
    Tasknr date started dateended
    1 20140101 20140201 (yyyymmdd)
    2 20140102 20140103
    3 20140104 20140108
    Etc
    We created two measures to calculate how many tasks are opened and closed per day. That was no problem, but now the tricky part. We also want to know each day how many tasks are
    still open, even on days that no tasks are opened (or closed).
    My approach was to create a calculated column to determine how many tasks are opened up to that date and subtracted the closed tasks and end up with the tasks that are open. That
    seems to be working :
    =COUNTROWS(FILTER(Tasks; Tasks[Open]<=EARLIER(Tasks[Open]))) - COUNTROWS(FILTER(Tasks; Tasks[Close]<=EARLIER(Tasks[Open])))
    When I load this to the excel pivot I end up with this:
    Row Labels| Opened | Closed | Open not finished
    1/1/2014
            1         
    0          1
    1/2/2014        
    1          0         
    2
    1/3/2014
            0         
    1         0
    1/4/2014
            1         
    0         2
    The line with 1/3/2014 should have 1 in the column [opened not finished], but because that calculation is linked to the opendate column, not to the closed and 3/1/2014 no task
    was opened, there is no value. On days that no tasks are opened or closed there even is no line at all although there could be tasks that are still open.
    I need a mechanism that calculates the value even when there are no records
    on a particular day. Our users want to be able to view the results on any date they select.
    I have considered a second table with all the dates and calculate columns from the task-table but are there other ways to do this? I searched this forum but did not find an answer
    so far.

    Hi Jacob,
    In our company we have a standard date table that is included in all of our models. What I didn't want to do in this case was to extend that table with calculated fields to solve this issue. Alternative was to create a new date table with the calculated
    fields I needed. But I don't like that also so what I did was rewrite the sql that loaded the data into the pivot so that the measures were calculated at the load. But I am also not happy with that solution because of maintanance and performance reasons. My
    feeling is that there must be a way to solve this with only dax in the loaded table.
    Jacob's answer does exactly what you want. The DAX expression in his response is a measure which you could put in your Tasks table. You don't need to alter your date dimension in any way.
    The key to this technique is that the date table cannot have an active relationship to your Tasks table. (although you could have an inactive relationship and then you could use the USERELATIONSHIP function to make other measures easier to calculate)
    Translating Jocob's measure into something against a 'Tasks' table would looks like the following:
    =
    CALCULATE (
    COUNTROWS ( Tasks ),
    FILTER (
    Tasks,
    Tasks[Open] <= MAX ( Calendar[Date] )
    && Tasks[Closed] >= MAX ( Calendar[Date] )
    http://darren.gosbell.com - please mark correct answers

  • GRC 5.3: CUP asks to perform risk analysis even when there are no risks in request

    Hi All,
    We recently upgraded from GRC 5.3 SP13 to SP22.
    The one issue which we are facing after upgrade is that now CUP is forcing approvers to do Risk Analysis, even when there are no risks in the CUP Request, that is Risk Tab is Green.
    Previously approvers were able to approve requests without doing risk analysis, if there were no risks in the request.
    CUP used to force them to do risk analysis only when there were risks associated with requests.
    But now, it is forcing approvers to perform risk analysis, even if there are no risks, i.e. approvers are not able to approve requests without any risks without doing risk analysis.
    Please advise.
    Thanks
    Aditi

    Hi,
    Can you check if any change is made in Configuration -> Workflow -> Stage -> Approvers
    Regards,
    Claudio

  • PRI channel busy issue , even when there are no active calls

    Hi All ,
    i using VWIC-2MFT - E1 CARD with VG. one PRI is working fine but on another PRI we are facing busy channel problem , even when there is no active calls , actually channels are not being free after disconnecting call. when we restart the gateway its startworking for some time ...
    i already replaced that card .
    please advice

    I believe that this post should be made to the Unified Communications and Video forum.
    Would please you repost to that group.
    Thanks

  • Allocated heap memory goes up even when there is enough free memory

    Hi,
    Our Java application's memory usage keep growing. Further analysis of the heap memory using JProbe shows that the allocated heap memory goes up even when there is enough free memory available in the heap.
    When the process started, allocated heap memory was around 50MB and the memory used was around 8MB. After few hours, the inuse memory remains at 8MB (slight increase in KBs), but the allocated memory went upto 70MB.
    We are using JVM 1.5_10. What could be the reason for heap allocation going up even when there is enough free memory available in heap?
    -Rajesh.

    Hi Eric,
    Please check if there is any error or warning in the Event Viewer based on the data time?
    If there is any error, please post the event ID to help us to troubleshoot.
    Best Regards,
    Anna

  • Hi apple, I have currently got a visa $50 gift card. I put it on my iTunes account I have currently ran out of funds on the card. Now even when I try to download free apps or even update, it says it requires a new credit card. Is there a way around this?

    Hi apple, I have currently got a visa $50 gift card. I put it on my iTunes account I have currently ran out of funds on the card. Now even when I try to download free apps or even update, it says it requires a new credit card. Is there a way around this

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    If you have a credit card on your account then it needs to be valid. Have you tried removing it from yoru account ? On your iPad try tapping on your id in Settings > Store (Settings > iTunes & App Store on iOS 6+) and selecting 'View Apple ID' on the popup - that should give you a payments link on your account's page.

  • USB not recognized - even when there's no USB device at all (Windows 7, Pavilion dv7)

    Since a few days now I get the message
    'The USB-device was not recognized: One of the USB-devices connected to this computer does not work correclty. The device has not been recognized'.
    It keeps popping up from my right corner below, every 5 seconds if I don't click it. When I click the message, I get a list of USB devices (ports) there are available. There's one 'Unknown device'. Maybe it has something to do with the finger scan (biometric)? This hasn't been working very good lately..
    Even when there's no single USB device installed (normally I have a mouse and a Targus laptop chill mat installed as USB devices), it keeps popping up. I tried deleting the USB port from the list (or uninstall it) in Device control, but it seems it keeps happening.
    I suddenly got it, I did nothing specific of did not connect any strange devices (except for a projector on the external monitor exit, but that has nothing to do with USB). I also hear the sound for connecting and disconnecting USB devics randomly when I'm on my laptop.
    Anyone has any idea?
    Thanks
    HP Pavilion dv7 Notebook PC
    LE902EA#UUG
    Windows 7 64 bit
    This question was solved.
    View Solution.

    The solution can be found here

  • Constant notifications even when there's nothing to be notified of. Galaxy S5.

    Ever since I updated my Samsung Galaxy s5 yesterday I have been getting constant message tones even when there's nothing to be notified of. I have restarted my phone more than enough times to know its not that causing issues.

        josh366,
    This definitely seems strange that you are receiving these notifications without having any type of texts, or emails, or any other types of notifications. Since the software upgrade, have you downloaded any new apps? Let's also try to power the device off, remove the SIM card and wait for about 30-60 seconds and then put the SIM back in and power back on. Keep us posted!
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • Quota dedcuting even when there is no quota

    i got this problem,
    I have a absence type A whose quota is deducting from absence type B. but even when there is no quota ,the system is deducting the quota from someother absence type i.e. C
    Kindly help.....

    thks all...........its solved .in dedcution i jus need to chose "no further assignment"
    Please Close the thread if you issue  is solved
    Edited by: Sikindar on Feb 2, 2010 11:55 AM

Maybe you are looking for

  • Photos has attempted to repair the Library, but is unable to open it.

    Updated to 10.10.3, Photos App replaced iPhotos App. Launched Photos, Got Started, Chose My iPhoto Library from the list, the following message comes up: The Library Could not be opened. Photos has attempted to repair the Library 'My iPhoto Library',

  • Ipod nano's nike+ kit not showing any of my workout other than in the hist.

    My nike+ kit does everythign. But when i want to see my last workout it doesnt show it. But when i check the history on my IPOD it shows it there. When i connect it to Itunes it doesnt load the workout. I've only done wone workout so far. But I am wo

  • Can I remove a new library and go back to using my original library?

    Our hard drive crashed and we now have a new hard drive on our original computer.  I downloaded iTunes on this new system and created a new library.  I didn't realize when I created a new one, that you could only have one and I'd have to sync it all

  • Limit records in business object

    Hi, I'm using oracle primavera Java API. How do I limit the records from the busness object. In oracle I used rownum for limit. Please let me know How to use oracle native query like count(),rownum etc.. in primavera API. Thanks Govindan P

  • Mesages dissapeared after pc suite installation - ...

    Hi all I have a problem with my PC suite usage. I tried installing it in my computer but there was an error and it stopped installing part way. Then after that, when I checked my mobile, all my text messages in the inbox had dissapeared. The second t