Swap memory

Hi,
Version :10.2.0.1 and 11.2.0.1
Os :Aix 5/6
We often getting swap issues.It reached 95%.we have 120GB real memory and 45 GB swap space.The db size is 2.5TB.Some time the db went to hang state and we restarted the db.
DB level
Is it possible to find A QUERY which memory using whether real memory or swap memory?How much amount from it?
OS level
Is it possible to find how much memory A PROCESS using from real memory and swap memory?
Thanks.

922884 wrote:
Hi,
Version :10.2.0.1 and 11.2.0.1
Os :Aix 5/6
We often getting swap issues.It reached 95%.we have 120GB real memory and 45 GB swap space.The db size is 2.5TB.Some time the db went to hang state and we restarted the db.
DB level
Is it possible to find A QUERY which memory using whether real memory or swap memory?How much amount from it?
OS level
Is it possible to find how much memory A PROCESS using from real memory and swap memory?
Thanks.SWAP is an OS operation & Oracle has NO knowledge about it.
OS moves "idle" processes to free up RAM.
do like below & wait for the 1 minute data collection to finish.
post FORMATTED results using tags
[code]
bcm@bcm-laptop:~$ vmstat 6 10
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
0  0     24  41488 124584 2292224    0    0    97    39  398  865  8  3 86  2
0  0     24  37756 124600 2296736    0    0     0    21  794 1825  6  4 89  1
0  0     24  42804 124616 2296752    0    0     0    19  683 1510  3  2 94  1
0  0     24  43060 124624 2296756    0    0     0    18  738 1669  4  2 94  1
0  0     24  43316 124640 2296760    0    0     0    21  732 1641  4  2 93  1
0  0     24  44564 124656 2296768    0    0     0    16  642 1376  3  1 95  1
0  0     24  44564 124684 2296760    0    0     0    63  686 1524  2  2 95  1
0  0     24  39464 124828 2296780    0    0    22    31  695 1536  4  3 93  1
0  0     24  39464 124844 2296796    0    0     0    27  696 1577  4  2 93  1
0  0     24  39340 124860 2296796    0    0     1    26  781 1784  6  3 90  1
[/code]
(si+so) should be less than (bi+bo)
Handle:      922884 
Status Level:      Newbie
Registered:      Mar 22, 2012
Total Posts:      44
Total Questions:      22 (16 unresolved)
Why so many unanswered questions?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to Re Enable Swap Memory on Osx 10.9.2

    Hi
    Need help in to renable the Swap Memory on Osx 10.9.2.

    You can test your memory system in terminal, open terminal (use spotlight to find it or go to utility folder in applications) and issue the following command, watch your activity monitor while it runs, when you've had enough, hit Control-C in the terminal window.
    sudo memory_pressure -l warning
    watch your pressure rise then hit
    control-C

  • ST22 Swap memory problem

    Hi all,
    I having problem in BI 7.0 server for swap memory goes to RED color... I know some variables and paramaters, but I am not sure how to calculate (depend on 12GB physical memory)
    Screenshot here... if anyone know how to fix that I really appriciated
    http://www.flickr.com/photos/38842895@N04/4538676180/sizes/o/
    Thank in advance

    Double click on the red highlighted swap, now click on current parameters.
    Here you can see which parameters designates the memory for this buffer area.  Once buffer is exceeded it begins to SWAP.
    this is not a bad thing unless you are seeing performance problems.  Most performance problems are far deeper than this.
    You now need to research the overall memory usage and decide whether to increase the parameter and possibly decrease others.
    use ST06 as well for overall usage amounts of swap.
    There is much to understand but you can start by reading here:
    http://help.sap.com/saphelp_nw70/helpdata/en/34/d9c8b9c23c11d188b40000e83539c3/content.htm
    Edited by: Augustus Cristicini on Apr 20, 2010 10:05 PM

  • Help URGENLY needed- swap memory info

    Hello Folks,
    I am new to solaris. I am writing a process monitoring program,
    where I need to display the swap memory details.
    I am confused with the different figures I am getting for the swap reporting utilities such as:
    -> swap
    $>swap -s
    total: 733544k bytes allocated + 62376k reserved = 795920k used, 489800k available
    Also
    $>swap -l
    swapfile dev swaplo blocks free
    /dev/dsk/c0t0d0s1 32,1 16 1050752 264512
    /export/home/swap/file1 - 16 409584 290352
    /export/home/swap/file2 - 16 409584 314320
    -> df
    $>df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t0d0s0 1600563 1461964 90583 95% /
    /proc 0 0 0 0% /proc
    fd 0 0 0 0% /dev/fd
    mnttab 0 0 0 0% /etc/mnttab
    swap 487896 0 487896 0% /var/run
    swap 732224 244328 487896 34% /tmp
    /dev/dsk/c0t0d0s7 15269571 13722010 1394866 91% /export/home
    -> sar
    $>sar -r 1
    SunOS 5.8 Generic sun4u 07/08/02
    15:25:07 freemem freeswap
    15:25:08 3184 969141
    Which of the above can be used to compare my codes o/p?
    I would appreciate your help in this regrads in form of some C sample code snippet(if possible).
    Thanks,
    Rajan

    iPhones contain no user servicible parts.  IF you were to open the device, you would void any warranty associated, and Apple would no longer offer ANY service on the device (including out of warranty service).
    You may want to look at http://support.apple.com/kb/HT4083 regarding importing pictures and videos.

  • Netweaver performance swap memory

    Hello,
    I run Netweaver 7 BI on Windows 2003 Server X64. I have 8 Gb of Memory.
    After few minutes, Windows swaps :  jlaunch using 4 GB of swap memory and kernel 3gb of swap memory.
    This causes to slow down when accessing to SAP.
    Any ideas to optimize this ?
    Regards,
    Chea-Lie

    Hello Heng,
    Greetings!
    The main problem is SAP uses its memory parameters to maintain the buffers and these buffers are maintained by the profile parameters.
    To find which of these buffers are low you will have to ST02 transaction and find the ones which have much swaps. SAP memory is classified into many varieties like ABAP program buffer, Screen Buffer, Table Buffer, Calendar..etc.
    Double click on each of the buffers and find the current parameters from the button provided on the corresponding page. Search for SAP notes that could give you details on profile parameter maintenance for increased performance. Also find out whether the SAP ABAP system shows a low performance only when some of the user defined programs are running.
    Maintaining the correct profile parameter values providing suitable buffer space for the SAP system could optimize the server performance issues.
    For the Java system, I think you are not deploying any packages through Jlaunch. Also check the Virtual Memory of the SAP server, you would require a minimum of 20GB virtual memory for the normal performance of a SAP server with ABAP and Java instances. You also have memory parameters to be maintained for the J2EE engine.
    Award points if the suggestion was useful.
    Thank you
    Regards,
    Vineeth

  • Increase swap memory

    Hi guys,
    I'm trying to run some strain calculations but my PC keeps running out of memory (first the RAM (4gb) and after that the swap memory (1GB), checked it with free). I know that for these particular calculations <8GB of memory should suffice. Does anybody know how to increase the swap memory from 1GB to 4GB without reinstalling arch linux?   
    Cheers,
    Joris
    Last edited by keizer (2010-04-10 23:00:14)

    1) replace swap with swapfile
    http://wiki.archlinux.org/index.php/Swap
    2) set properly swappiness:
    vm.swappiness = 100
    number corresponds to % of swap than can be used
    set
    vm.vfs_cache_pressure=500
    you can adjust these settings permanently via /etc/sysctl.conf or temporarily:
    sysctl -w vm.swappiness="100"
    these settings will not affect system performance if RAM memory is not exhausted but will help if swap is needed.

  • Swap memory always at 0

    Hi i recently re-installed arch and last time i've created a swap file that works perfectly, but this time i followed every step on the wiki but the swap memory use is always at 0. Even if the ram use is over the 60%
    Anyone has the same issue?
    Last edited by KAozdl (2014-07-20 00:52:16)

    i simply suposed it. My bad.
    Anyway i try what Scimmia sugested and put swappiness to 100 and i got the same answer
    I paste my console history
    "[kaoz@Shiva ~]$ cat /proc/sys/vm/swappiness
    60
    [kaoz@Shiva ~]$ sudo sysctl vm.swappiness=100
    Contraseña:
    vm.swappiness = 100
    [kaoz@Shiva ~]$ cat /proc/sys/vm/swappiness 
    100
    [kaoz@Shiva ~]$ free -m
                 total       used       free     shared    buffers     cached
    Mem:          1996       1550        446         70         73        506
    -/+ buffers/cache:        969       1027
    Swap:         1023          0       1023"

  • Swap memory & CPU rules

    Hi people,
    I need the requirements for choice the amount of CPU and type, and the rule to calculate the amount of swap memory of productive system. The amount of physical memory is 12 GB RAM.
    In the installation guide says that PHYSICAL MEMORY+ 14 GB= Swap memory. Is this avalaible for productive system.
    More thanks.

    Ruben this is quite a frequently asked quetion...
    Basically if your system is Unix based the thumb rule is that SWAP should be 3 times your physical memory (been 12 gb it shouldn't be much of an issue). In windows 64bit usually 20Gb of swap (pagefile) is enough for most installations
    There is info at help.sap.com about this.
    Regards
    Juan
    BTW, why won't you trust the info on the installation guide?

  • MBP retina swap memory/humming issue

    So i have 2 issues(may or may not be related) going on with my Retina MPB.
    1. Whenever i play any flash video(youtube for ex:), it just goes crazy with humming sound(fan I imagine), even though it doesn't get hot and temps are within acceptable range. I don't see the process(chrome flash plugin) taking more than 15 to 20% cpu at max...and memory is acceptable as well, but this sound just keep fluctuating and can't figure out why exactly.
    2. Mayb this is related to 1, but why does a machine with 16GB ram use 2.2 of swap memory? or I am reading activity monitor wrong?
    http://cl.ly/image/2O3O381l111v (Screenshot of activity monitor)
    Any thoughts?
    thanks

    You can check if some or other corner inside is overheating with Marcel Bresink's free Temperature Monitor. Or splurge a bit on his Hardware Monitor so you can check on temps, fans and the works. http://www.bresink.de/products.html
    The use of swap on a user-class computer with 16GB RAM is indeed odd. I've been using mine all week long, running VMs on Fusion, all of Office's apps, browsers, whathaveyou, and swap still remains at zero. Only time I saw some swap space allocated was when I ran Gimp, that insists on swapping explicitly to disk, even if it is just editing a piddly 80k JPEG. But even then, the swap area allocated was just a few tens of MB's, nothing like that huge 2GB area. Besides Flash, care to share what else is running in there?

  • Always larger Swap memory than compressed in Mavericks 10.9.3

    I bought MBP about 3 weeks ago and had an update to Mavericks 10.9.3 a few days ago.
    I am not sure if this problem started after the update, but I had never seen any "Swap Used" at least before the update.
    Now, if you look at the screenshot below, which is my current memory status, there is always a certain amount of Swap Used, and the amount is always larger / comparable to that of "Compressed" memory.
    I have never seen that my memory pressure goes to yellow or red, and I am not a heavy user either.
    Also, I have not felt any slow down of my mac yet.
    To my understanding, Mavericks is made to compress as much as possible before it starts to swap the memory with hard disks.  But it seems like mine does not work in that way for some reason now.
    The link below provides an enlightening explanation on how Mavericks manages its RAM.  In the test done in the article, you can notice that the Mavericks compresses more than 8 GB before it actually starts the swap process under a heavy load.
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/
    So, what did happen to my Mavericks?  Why is it using the swap before it compresses more, leading to more Swap Used than Compressed?
    Any thoughts?
    Thanks,

    I would not be concerned about such tiny amounts of Ram

  • Larger Swap memory than compressed in Mavericks 10.9.3

    I bought MBP about 3 weeks ago and had an update to Mavericks 10.9.3 a few days ago.
    I am not sure if this problem started after the update, but I had never seen any "Swap Used" at least before the update.
    Now, if you look at the screenshot below, which is my current memory status, there is always a certain amount of Swap Used, and the amount is always larger / comparable to that of "Compressed" memory.
    I have never seen that my memory pressure goes to yellow or red, and I am not a heavy user either.
    Also, I have not felt any slow down of my mac yet.
    To my understanding, Mavericks is made to compress as much as possible before it starts to swap the memory with hard disks.  But it seems like mine does not work in that way for some reason now.
    The link below provides an enlightening explanation on how Mavericks manages its RAM.  In the test done in the article, you can notice that the Mavericks compresses more than 8 GB before it actually starts the swap process under a heavy load.
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/
    So, what did happen to my Mavericks?  Why is it using the swap before it compresses more, leading to more Swap Used than Compressed?
    Any thoughts?
    Thanks,

    I would not be concerned about such tiny amounts of Ram

  • Zfs cache vs. Physical and swap memory

    On Solaris 10: We are calculating the available physical and swap memories by using these
    @ system calls 'sysconf' and 'swapctl' with appropriate parameters.
    I don'tthink these system calls explicitly take the 'zfs cache' into account.
    Can you please confirm, Or do we have any other command set to include 'zfs cache pool' also.
    regards,
    -ashokM
    Edited by: aMohanty on Sep 8, 2009 3:24 AM

    Not exactly sure what you are asking - Total VM = Real RAM + swap. The ZFS arc (as well as the UFS cache) competes to get RAM, as does running processes and kernel memory allocation. The arc will not add anything to the Total VM amount.

  • HT201269 About transferring data between different devices, is it possible to swap memory chips between iPhone 5s's without losing any photos or info?

    I have an iPhone 5s and shattered its screen. I backed up its data to iTunes and manually replaced the screen myself. When I try to turn on the phone, it doesn't turn on. When I plug it into an outlet, it just makes a noise every five seconds. I purchased a new iPhone 5s and I tried to restore the data, but I couldn't retrieve it, just settings. I had a ton of important photos and songs I wrote....gone. Is it possible to simply swap the memory chips (both 16G) without damaging either devices or losing any data? Someone help me please!

    iPhones contain no user servicible parts.  IF you were to open the device, you would void any warranty associated, and Apple would no longer offer ANY service on the device (including out of warranty service).
    You may want to look at http://support.apple.com/kb/HT4083 regarding importing pictures and videos.

  • Why is my system swapping memory?

    Hi.  I've got 8gb of ram, yet even though my ram usage is never anywhere close to 100%, I still find now and then that my swap is being used.  Why is this?  I find that once I start swapping, performance takes a dump.  If I turn the swap off, all works well.
    Why would the system ever use swap if it doesn't need to?  Is there a way to check which processes are using swap?

    Pacopag wrote:Is there a way to check which processes are using swap?
    I'm sure someone will correct me if I'm wrong, but normal processes do not "use swap" in the way you are implying.  They just request/allocate memory and the kernel moves blocks of data around to swap and back as necessary.
    So if swap is being used when it shouldn't be, the kernel is moving things prematurely.  The specific processes that originally allocated that space should not be relevant.
    I know next to nothing about this, but you chould look into "swapiness" settings.

  • Essbase  Using Swap Memory - Degraded Performance

    Currently on Essbase 6.5.4.2 and Sun Solaris 5.8I find that when the server is running very low on Physical RAM and needs to use Swap during any Essbase Calculation that calc time performance is severly degraded. Is this a functionality of Essbase or a setting in UNIX that can be altered?I'm not a UNIX admin and I need to know how to approach my IT group with this.Thanks!

    Yes, that's to be expected. performance always degrades once swap file is used due to the i/o bottleneck of swapping ram to disk and back. The easiest solution is to prevent your applications running out of ram memory. I've noticed that applications grow in memory through use to some huge sizes, so I unload them from memory at least three times a day so that they load back nice and compact. I've set up a script to do this automatically at the beginning of the day, at midday and at the end. You can also manage memory manually, eg. if you need to run a major calculation, then unload all other applications, then unload that application and reload it before the calc.You can also try to use direct i/o. there is a Unix setting that you can switch to direct i/o, but it caused us problems and corrupted the databases, so use the Essbase database settings. On Solaris you need the root user to run the script 'root.sh', then it will become available. In database/settings, under storage, change the access to direct i/o and tick cache memory locking. You als have to assign a data file cache and reduce your data cache as it doesn't need to be so big about 10% of the data file cache. This will ensure that that database will allways have priority for ram and not use the swap file. The manual recommends that you use buffered i/o instead of direct i/o, but I think it is a matter of judgement. If you need it, then use it. We've been using it without problems. Make sure that your applications using direct i/o don't assign more memory than is available, otherwise it will go back to swap file. The log file will tell you if is is using direct i/o when an application loads.

Maybe you are looking for

  • Trying to retrieve all the records from the file on desktop

    HI All I have one particular problem. I was given a text file which as 7000 records with length 512 each in a continues string. I Changed begining of each record with comma  in that text and saved it in .csv , when I try to upload the file into my pr

  • Preview 7.0 in Mavericks 10.9.3 won't download works sporatically

    MacBook OS Mavericks 10.9.3 Preview 7.0 At tax time I had to change the default pdf viewer to Adobe.  When I tried to return to Preview as my default reader, I ran into all kinds of problems.  First  I did the Control Click to get Open With, chose Pr

  • How do I print a copy of my purchus history

    how do I print a copy of my purchus history

  • Getting started in ABAP

    Hi   i know abap but i do not know <b>BSP</b> plz help me any one have  documents and how to learn BSP. if any body have realtime scenario plz send  me .

  • Archiving in oracle UCM

    Hi, I am using Oracle UCM as repository with weblogic portal.I want to migrate the content from one UCM server to another using archiving. can any body please share the archiving document.