Using Swap or not

hello,
I own an iMac (late 2012) 27" with 24 Go of ram, fusion drive 1To
may i disable disk swapping or not ?

Welcome to Apple Support Communities
With that amount of memory I doubt that you will need swap, but it's better to leave it as it is now. It doesn't take a lot of storage, so there's no reason to disable it. Let OS X take care of itself

Similar Messages

  • 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

  • I was downloading podcast video in my itouch using wifi, but suddenly my wifi got disconnected and now there is a link in my podcast list which on opening uses wifi to play that video. I want to delete that link. Right to left swapping is not working.

    I was downloading podcast video in my itouch using wifi, but suddenly my wifi got disconnected and now there is a link in my podcast list which on opening uses wifi to play that video. I want to delete that link. Right to left swapping is not working.

    I bet this is too late but...
    Are you trying to print through the airport express wirelessly or the built in wireless of the lexmark? If you want to use the airport express, there is no need to mess with the wireless printing on the lexmark at all. The airport express will be easy to set up, all the wireless setups through the printers are a pain.

  • Tmpfs not using swap [Solved]

    i have set up /tmp as tmpfs for compiling but i get errors when i run out of memory, i was under the assumption that when tmpfs runs out of memory it uses swap space but swap never gets used even when swappiness is set to 100
    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 19G 729M 18G 4% /
    none 1.9G 1.8M 1.9G 1% /dev/shm
    none 1.9G 864M 983M 47% /tmp
    none 10M 332K 9.7M 4% /var/log
    none 10M 44K 10M 1% /var/run
    none 10M 0 10M 0% /var/lock
    /dev/sda2 19G 1.6G 17G 9% /usr
    /dev/sda3 185G 3.1G 172G 2% /home
    mount
    /dev/sda1 on / type ext4 (rw,noatime)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /dev/pts type devpts (rw)
    none on /dev/shm type tmpfs (rw)
    none on /tmp type tmpfs (rw)
    none on /var/log type tmpfs (rw,size=10m)
    none on /var/run type tmpfs (rw,size=10m)
    none on /var/lock type tmpfs (rw,size=10m)
    /dev/sda2 on /usr type ext4 (rw,noatime)
    /dev/sda3 on /home type ext4 (rw,noatime)
    free
    total used free shared buffers cached
    Mem: 3780388 1494456 2285932 0 42884 1084512
    -/+ buffers/cache: 367060 3413328
    Swap: 8000360 0 8000360
    Last edited by guzz46 (2009-08-23 23:51:48)

    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    none /tmp tmpfs defaults 0 0
    none /var/log tmpfs defaults,size=10m 0 0
    none /var/run tmpfs defaults,size=10m 0 0
    none /var/lock tmpfs defaults,size=10m 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sda1 / ext4 defaults,noatime 0 1
    /dev/sda2 /usr ext4 defaults,noatime 0 2
    /dev/sda3 /home ext4 defaults,noatime 0 2
    /dev/sda4 swap swap defaults 0 0
    do you have to specify tmpfs instead of none under file system?
    Edit: i also tried
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    tmpfs /var/log tmpfs defaults,size=10m 0 0
    tmpfs /var/run tmpfs defaults,size=10m 0 0
    tmpfs /var/lock tmpfs defaults,size=10m 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sda1 / ext4 defaults,noatime 0 1
    /dev/sda2 /usr ext4 defaults,noatime 0 2
    /dev/sda3 /home ext4 defaults,noatime 0 2
    /dev/sda4 swap swap defaults 0 0
    mount
    /dev/sda1 on / type ext4 (rw,noatime)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /dev/pts type devpts (rw)
    tmpfs on /dev/shm type tmpfs (rw)
    tmpfs on /tmp type tmpfs (rw)
    tmpfs on /var/log type tmpfs (rw,size=10m)
    tmpfs on /var/run type tmpfs (rw,size=10m)
    tmpfs on /var/lock type tmpfs (rw,size=10m)
    /dev/sda2 on /usr type ext4 (rw,noatime)
    /dev/sda3 on /home type ext4 (rw,noatime)
    but nothings changed, i'm sure it's a tmpfs because /tmp reads 1.9gb and everythings in there is gone after a reboot but it still doesn't use swap as backup
    Last edited by guzz46 (2009-08-23 12:38:43)

  • OS X Mavericks using SWAP with 16GB of physical RAM? What gives?

    Okay. Can someone help me understand why OS X Mavericks is using SWAP and Memory compression when I have 16GB of Physical Memory installed? I'm also only running Safari, Mail.app, Colloquy IRC and iTunes. That's usually the only programs I have open unless I'm playing a game or something. Also, when I reboot, the RAM is back to normal, but after my Macbook Pro has been on a couple of days (I usually have it plugged into the wall), it starts use SWAP in Activity Monitor and Memory Compression. Here's a picture I took before I rebooted, and I will always post my system wide information in case anyone has any ideas on how to keep my computer from using Swap in OS X Mavericks:
    Also, here's what it looks like now that I've rebooted:
    And, here's my system information I grabbed while using EtreCheck:
    Hardware Information:
              MacBook Pro (17-inch, Late 2011)
              MacBook Pro - model: MacBookPro8,3
              1 2.5 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
              AMD Radeon HD 6770M - VRAM: 1024 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    System Software:
              OS X 10.9 (13A603) - Uptime: 0 days 0:58:0
    Disk Information:
              APPLE SSD TS256C disk0 : (251 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh SSD (disk0s2) /: 250.14 GB (195.77 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Logitech Logitech Dual Action
              Apple Inc. iPhone
              Canon iP4300
              BLUE MICROPHONES Blue Snowball
              SanDisk Firebird USB Flash Drive 32.02 GB
                        CIDER (disk2s1) /Volumes/CIDER: 32.02 GB (21.87 GB free)
              Apple Computer, Inc. Apple Cinema Display
              Logitech USB Gaming Mouse
              Apple Computer, Inc. IR Receiver
    FireWire Information:
              G-TECH G-Drive mini Device 00 800mbit - 800mbit max
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        MARIGOLD (disk1s2) /Volumes/MARIGOLD: 319.73 GB (209.06 GB free)
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              jp.plentycom.driver.SteerMouse          (4.1.7)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.absolute.rpcgeo.plist
              [loaded] com.absolute.rpcnet.plist
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.skype.skypeinstaller.plist
    Launch Agents:
              [loaded] com.divx.dms.agent.plist
              [loaded] com.divx.update.agent.plist
    User Launch Agents:
              [loaded] com.facebook.videochat.powershaker.plist
              [failed] com.valvesoftware.steamclean.plist
    User Login Items:
              iTunes
              Snak
              Mail
              SteerMouse Manager
              Safari
              SpeechSynthesisServer
              Colloquy
              Knock
    3rd Party Preference Panes:
              Flash Player
              Flip4Mac WMV
              SteerMouse
    Internet Plug-ins:
              Default Browser.plugin
              DirectorShockwave.plugin
              DivX Web Player.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              googletalkbrowserplugin.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              npgtpo3dautoplugin.plugin
              o1dbrowserplugin.plugin
              OVSHelper.plugin
              QuickTime Plugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Time Machine:
              Skip System Files: NO
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh SSD: Disk size: 250.14 GB Disk used: 54.37 GB
              Destinations:
                        MARIGOLD [Local] (Last used)
                        Total size: 319.73 GB
                        Total number of backups: 94
                        Oldest backup: 2012-12-27 18:56:31 +0000
                        Last backup: 2013-11-11 20:34:31 +0000
                        Size of backup disk: Adequate
                                  Backup size 319.73 GB > (Disk used 54.37 GB X 3)
    Top Processes by CPU:
                   3%          WindowServer
                   3%          Colloquy
                   2%          EtreCheck
                   1%          fontd
                   1%          PluginProcess
                   0%          loginwindow
                   0%          SteerMouse Manager
                   0%          warmd
                   0%          coreservicesd
                   0%          launchservicesd
    Top Processes by Memory:
              197 MB             mds_stores
              164 MB             com.apple.IconServicesAgent
              147 MB             Colloquy
              147 MB             Safari
              131 MB             PluginProcess
              131 MB             Mail
              115 MB             iTunes
              85 MB              com.apple.WebKit.WebContent
              66 MB              Finder
              49 MB              ocspd
    Virtual Memory Statistics:
              11.80 GB           Free RAM
              2.33 GB            Active RAM
              426 MB             Inactive RAM
              1.45 GB            Wired RAM
              394 MB             Page-ins
              0 B                Page-outs
    If anyone has any ideas, please let me know? Thanks! I'm baffled here, or maybe I just don't know how to read the OS X Mavericks memory chart in Activity Monitor.

    Those are all fine
    Here is how to see RAM overloaded…
    Reboot to see the system in it's default state.
    Open TextEdit for the sake of it
    Open Activity Monitor & Terminal from /Applications/Utilities.
    Select the Memory tab
    In Terminal enter the following command
    memory_pressure -l critical
    # note that is a lowercase L
    RAM usage will climb, compression will begin the VM will become way more than the system has installed.
    Eventually the system will start swapping  (look for RED) - Watch the 'memory pressure' & 'Swap used' as this happens.
    Try switching to TextEdit - the system is still coping !
    Switch back to Terminal & hit ctrl+c to stop the process.
    Watch the VM & memory pressure return to normal levels.
    This OS kicks 4ss !
    Your problems may lie elsewhere

  • 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

  • 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

  • Swap header not found! on Hibernation

    I have Arch installed on an Asus UX32VD and I want to use suspend to disk.
    Unfortunaly I didn't create a swap partition so I tried it with a swap file.
    Activating suspend to disk doesn't work. dmesg gives me the error "PM: Swap header not found!"
    The swap file is at /var/cache/swap/swap0
    filefrag -v /var/cache/swap/
    Gives me the output:
    Filesystem type is: ef53
    File size of /var/cache/swap/ is 4096 (1 block, blocksize 4096)
    ext logical physical expected length flags
       0       0  2629764               1 eof
    /var/cache/swap/: 1 extent found
    So I added "resume=/dev/sda2 resume_offset=2629764" to the kernel parameters
    Have I forgotten something else?
    Thanks a lot for your help
    br DX

    The argument passed to filefrag should be the actual swap file, not the directory that it is in:
    filefrag -v /var/cache/swap/swap0

  • How to mount and use swap partition _only_ for hibernation ?

    By "hibernation" I mean suspend to disk.
    My disk is a bit poor in RAM and the dirsk is slow, so I want to prevent any swap use of my system.
    AND I want to use hibernation, in order to boot fatser... and not to loose my workspace state.
    With a swap partition, hibernation works nicely.
    But any intensive web browser easily lealds to incresed memory usage, hence swap use.
    I have lowered the swap priority in /etc/fstab, down to 1 (and even tried 0).
    Still, I am not satisfied : If would like not to use swap at all but for hibernation.
    My plan was hence :
    1) disable the automatic swap mount at boot
    2) add a systemd unit to only moutn before hibernation
    The first part was easy : I added a "noauto" option in /etc/fstab. Great, no more mounted swap. But, as expected, no more successful hibernation.
    Then I tried to create a custom systemd unit.
    - first copy the unit file automatically generated by systemd in /run/systemd/generator/dev-....swap to /etc/systemd/system/
    - and add "Before=sleep.target" line in the Unit section
    Result file here :
    > cat /etc/systemd/system/dev-disk-by\x2duuid-blablablabla.swap
    [Unit]
    Description=Swap required for hibernation
    Before=sleep.target
    [Swap]
    What=/dev/disk/by-uuid/blablablablabla
    Priority=5
    >
    Next step show be to enable it, but I first run a safety check :
    > systemctl show dev-disk-by\x2duuid-blablablabla.swap
    Id=dev-disk-by\x2duuid-blablablabla.swap
    Names=dev-disk-by\x2duuid-blablablabla.swap
    Requires=-.mount
    Wants=system.slice
    BindsTo=dev-disk-by\x2duuid-blablablabla.device
    RequiredBy=swap.target
    WantedBy=dev-disk-by\x2duuid-blablablabla.device
    Conflicts=umount.target
    Before=sleep.target umount.target swap.target
    After=systemd-journald.socket dev-disk-by\x2duuid-blablablabla.device system.slice -.mount
    RequiresMountsFor=/dev/disk/by-uuid/blablablabla
    Description=Swap required for hibernation
    LoadState=loaded
    ActiveState=inactive
    SubState=dead
    FragmentPath=/etc/systemd/system/dev-disk-by\x2duuid-blablablabla.swap
    UnitFileState=static
    InactiveExitTimestampMonotonic=0
    ActiveEnterTimestampMonotonic=0
    ActiveExitTimestampMonotonic=0
    InactiveEnterTimestampMonotonic=0
    CanStart=yes
    CanStop=yes
    CanReload=no
    CanIsolate=no
    StopWhenUnneeded=no
    RefuseManualStart=no
    RefuseManualStop=no
    AllowIsolate=no
    DefaultDependencies=yes
    >
    The problem here is that, somehow, a RequiredBy=swap.target line is apaprently automatically added, and makes exactly NOT what I want.
    I've been battling a bit with systemd, but so far I have no clue how to do this correctly.
    Important : I wand a clean "official" way, not to do a "service" unit that calls an home-brewed script taht calls swapon. I can do that, but systemd should be able to do it better than me, and without any trick.

    Hello and thank you all
    @fdservices & @WonderWoofy :
    In fact, I forgot to mentionned swappiness, just tought about mentionneing the swap priority which act at a very different level is only revelevant when you ahve several swap files.
    I have already modified that setting since quite a long time... and it indeed makes the system behaviour so much better.
    Honestly, I could do with it... that's what I am doing since a few months in fact, and it really largely improved the user experience.
    Still, the setting only makes swapping unlikely, but does not forbid it.
    @WonderWoofy & @lucke :
    You may be right, I could satisfy with swapiness...
    Still, my feeling is that swap at run-time is mostly a remeniscence of the time where having several megabytes of RAM was juste a fantasm. At that time, at least for some intensive operations, simulating more RAM thansk to the cheaper & slower disk capacity was really decisive for a good user experience... and to allow some operations like some huge compilations. My feeling is that today, with our Gigabytes of RAM on our desktop/laptop, the need is much lower. In fact a swap is probably counter-productive for SSD for example (fast, yes, but swap is by nature something you write quite often, reducing teh SSD lifetime significantly). And simulating extra RAM is also counter-productive with applications such as web browsers which handle large amount of memory to handle cache themselves; it causes memory pressure, hence trigger swapping and machien slowdown instead of trigerring their pseudo-smart memory cleaning mechanisms. Last but not least, it does not encourage any improvement on application memory needs and rationalisation.
    In fact, unless when I compile huge programs, or on really-limited-memory (embedded) systems, or eventually if swap can be hosted on significantly faster-than-storage disks, I feel that swapping does not really improve the user experience and system performance... and in contrary reduces them by having to handle swapping on and off memory & cache pages.
    SO that's why I want to try. It's OK if I fail, swappinees fixes most my user experience issue, but I try to solve my more "theorical" issue as well.
    And honestly, it is also to lean & play a bit with systemd as well.
    More to come, I have things partially working now. Partially for now, and maybe perfectly with your help ?

  • WebReports Swap functionality not working

    Hi All,
    I Have come across peculiar situation while designing WEB TEMPLATES.
    In the report we require 3 tabs and each Tab is executed by clikcing on the Navigation .
    Now the error is when we run the report and we need to analyze the report Using SWAP FN it is not working .
    thnaks and regards
    venkat

    Hi Venkat,
    Did you try Swapping the Axes by using the context menu.
    http://help.sap.com/saphelp_nw04/helpdata/en/d3/ea523ac1ea1d35e10000000a11402f/frameset.htm
    -Vikram

  • [Solved]PM: swap header not found attempting to suspend encrypted disk

    Hi all,
    I have my root partition set up as a dm-crypt encrypted volume, and I followed the instructions here to set up a swap file.
    I also followed these instructions to add the resume hook to my mkinitcpio.conf between encrypt and filesystems.
    I modified the /etc/default/grub file like so:
    GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/disk/by-uuid/0cb6b266-ce81-4b2f-9958-722c788c46ef:cryptroot cryptkey=/dev/disk/by-uuid/18868ab9-e0dd-4634-9f9e-69f3d3686d3f:ext2:/laptopkey root=/dev/mapper/cryptroot resume=/dev/mapper/cryptroot resume_offset=4952064"
    I determined the offset using the swap-offset tool provided by the uswsusp package.
    And I ran
    mkinitcpio -p linux
    and
    grub-mkconfig
    When I type "systemctl hibernate" the system begins to hibernate, then comes back up immediately. Journalctl -xn gives this:
    Jan 08 23:38:57 lefty-laptop systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jan 08 23:38:57 lefty-laptop systemd[1]: Failed to start Hibernate.
    -- Subject: Unit systemd-hibernate.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
    -- Unit systemd-hibernate.service has failed.
    -- The result is failed.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Dependency failed for Hibernate.
    -- Subject: Unit hibernate.target has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
    -- Unit hibernate.target has failed.
    -- The result is dependency.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Unit systemd-hibernate.service entered failed state.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit sleep.target has begun shutting down.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd96365438aad20286
    -- Unit sleep.target has finished shutting down.
    Jan 08 23:38:58 lefty-laptop kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
    Jan 08 23:38:57 lefty-laptop wpa_actiond[1017]: Interface 'wlan0' lost connection to network 'braains'
    Jan 08 23:38:58 lefty-laptop kernel: PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
    Jan 08 23:38:58 lefty-laptop kernel: PM: Basic memory bitmaps created
    Jan 08 23:38:58 lefty-laptop kernel: PM: Preallocating image memory... done (allocated 294215 pages)
    Jan 08 23:38:58 lefty-laptop kernel: PM: Allocated 1176860 kbytes in 0.22 seconds (5349.36 MB/s)
    Jan 08 23:38:58 lefty-laptop kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Jan 08 23:38:58 lefty-laptop kernel: e1000e 0000:00:19.0: setting latency timer to 64
    Then a bunch more stuff, then this:
    Jan 08 23:38:58 lefty-laptop kernel: PM: thaw of devices complete after 955.701 msecs
    Jan 08 23:38:58 lefty-laptop kernel: PM: writing image.
    Jan 08 23:38:58 lefty-laptop kernel: PM: Using 1 thread(s) for compression.
    PM: Compressing and saving image data (197765 pages)...
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 0%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 10%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 20%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 30%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 40%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 50%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 60%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 70%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 80%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 90%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 100%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving done.
    Jan 08 23:38:58 lefty-laptop kernel: PM: Wrote 791060 kbytes in 4.67 seconds (169.39 MB/s)
    Jan 08 23:38:58 lefty-laptop kernel: PM: S
    Jan 08 23:38:58 lefty-laptop kernel: PM: Swap header not found!
    Jan 08 23:38:58 lefty-laptop kernel: |
    Jan 08 23:38:58 lefty-laptop kernel: PM: Basic memory bitmaps freed
    Jan 08 23:38:58 lefty-laptop kernel: Restarting tasks ... done.
    Jan 08 23:38:58 lefty-laptop kernel: video LNXVIDEO:00: Restoring backlight state
    Jan 08 23:38:58 lefty-laptop laptop-mode[28617]: Laptop mode
    Jan 08 23:38:58 lefty-laptop laptop-mode[28618]: enabled, not active [unchanged]
    Jan 08 23:38:58 lefty-laptop laptop-mode[28622]: Laptop mode
    Jan 08 23:38:58 lefty-laptop laptop-mode[28623]: enabled, not active [unchanged]
    Perhaps the "PM: swap header not found" is not the primary error?
    Last edited by LeftyAce (2014-01-12 06:08:55)

    LeftyAce wrote:
    ROOKIE: which UUID do you use? If I list /dev/disk/by-uuid I get two results:
    total 0
    lrwxrwxrwx 1 root root 10 Jan 11 18:06 06f4c97e-fe09-45a8-a937-dedb6b18339b -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Jan 11 18:06 a0eb0a15-6d5d-4df2-a0d3-6f7fb00885c6 -> ../../sda1
    I think one of them is the actual device, the other is the dm-crypt container? I guess I could try both...I'll report back.
    Usually I use the output of blkid to find out the correct uuid. The uuid to use for / or swap is the one pointing to one of /dev/dm*.
    LeftyAce wrote:For the record I am using resume=/dev/mapper/cryptroot. I think since the swapfile is a file not a block device in my case that's important. Since the encrypt hook runs first, that mapper volume is present and unlocked by the time resume comes around.
    In my case the same happens but for some reason it doesn't seem to work, and I've been procrastinating submitting a bug (I use hibernation very rarely and I know of a way that works).

  • Help using swap images to swap 2 separate images

    I am trying to use swap images to swap two separate images on
    the same page but I can't get it to work. Here is the code for one
    image, rotator. I also have a second image,rotatorB that I want to
    swap different images with. I think I need two separate codes but
    do not know how to do it.
    Thank You

    Sorry, I don't know enough about how fireworks functions - but overall, I think it's always best to create the slices in a program like fireworks, (or image ready, etc), and then build the actual page in Dreamweaver (or other web software). It's kind of like how Photoshop used to let you create the slices, then export the entire photoshop file as an html page - it would create a very basic page with multiple nested tables that were nothing but trouble...
    For what it's worth - Dreamweaver makes it fairly easy to do - once you're familiar it should only take a few minutes to accomplish (once you have all of the pieces saved to the images folder).
    Fireworks isn't a web-creation software - it's function is to optimize images for the web, and slice up graphics (from what I know about it, anyway...)
    **Also, on a side note - there are many disadvantages to creating buttons with graphics - number one reason is down the road when a client wants to add or modify the buttons, they will need the original photoshop file - and the fonts loaded in order to accomplish... then need to save out both the on and off state for each. I've been there, and they find it very annoying (known to lose customers because of it). Secondly, search engines and Handicap accessible software can't read graphics - even if you apply "alt tags", it's not as good as having a text link. If possible, it's best to use text for the links (and creating the rollover effects with stylesheets - there are tons of examples: http://search.live.com/results.aspx?q=css+rollover&form=MS8TDF&pc=MS8TDF&src=IE-SearchBox
    Hope that helps
    Jesse

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

  • Heavy NFS use swaps out everything

    I mount an NFS drive in Leopard and do some heavy reading (cat * >/dev/null). First this fills all of my memory and then starts to swap out everything else (making everything sluggish and nearly unusable). It stops growing after the used swap is about the size of the real memory. Even after stopping the command, the memory consumption stays the same. The memory is only freed after unmounting the NFS drive.
    Same behavior on a PPC PowerBook and an Intel MacMini.
    The same command on a local or firewire drive works without problems.
    This behavior is different from Tiger, I never had such problems there.
    Could someone with NFS mounts please check if they see the same behavior?

    Hi Mikhail
    thanks for testing this out. But are you sure about your tests 2 and 3? 2 did trigger here (but after some while), but 3 did not trigger.
    I did some more testing, here are the results I got:
    1) 'cat /Volumes/nfs/3gb.data > /dev/null': triggers
    2) 'cat /Volumes/nfs/3gb.data > ~/test.data': triggers, but with a delay
    3) 'cp /Volumes/nfs/3gb.data ~': does not trigger
    4) 'cp ~/3gb.data ~/3gb-copy.data': does not trigger
    5) 'cat ~/3gb.data > ~/test.data': does not trigger
    6) 'cat ~/3gb.data > /dev/null': does not trigger
    7) 'dd if=/dev/zero bs=1024000 count=3000 >~/test.data': does not trigger
    8) 'dd if=/dev/zero bs=1024000 count=30000 >/dev/null': does not trigger
    For each test, the computer was rebooted, then some applications where started (login items). 'vm_stat 1' was used to see if the test triggered the swapping out of the applications memory.
    So I think piping or /dev/null is not the single reason for this. NFS is definitely involved (filesystem caching), but only in combination with pipes.
    Other than with 'cat', the problem can also be reproduced e.g. with mldonkey.
    The memory during the test 1) looks like this:
    - free memory goes down, inactive memory goes up
    - when free memory is used up, active memory starts to go up
    - as soon as active memory is full, it starts swapping out. Some small swapping in also occurs.
    - This brings the system to a crawl.
    - as soon as nothing else is left to swap out, it stops swapping out
    - At the end of the test, all application memory is swapped out. Trying to do anything results in the needed memory to be swapped back in.
    The memory during the test 2) looks like this:
    - first, nothing happens for a while
    - then suddendly active memory goes up and free memory goes down
    - when active memory use has reached its peak, inactive memory goes up. Free memory goes down some more.
    - when free memory is used up, it starts swapping out. Some small swapping in also occurs.
    - This results in the same result as test 1)

  • [SOLVED] System freezes when starts using swap

    When my system starts using swap, it completely freezes. Switching to tty doesn't work either.
    There is already a topic on this problem, but the only advice it has is "use zswap" or "do not open 20 tabs at the same time", which is not really a solution imho.
    I'm using a swap file in my home dir with swapon.
    Last edited by TheChosenOne (2014-02-19 20:00:05)

    There is not much configuration going on.
    What I do is this.
    I'm kind of new to Arch Linux (used Ubuntu for a long time). How can I enable or see logs in Arch?

Maybe you are looking for

  • Free Goods recalculation.

    I experts, I have a problem, I need to use 'BAPI_SALESORDER_CHANGE' in a away that when I call the function the system recalculate the free good of the items. The standard system have validation that when the quantity does not change the free goods a

  • Airport express only prints black and white

    I'm using a macbook 13" with an airport express and an HP deskjet 4100. I can print wirelessly just fine, but I can only print in black and white. Any ideas how to remedy this situation?

  • Value conversion

    Hi everybody, i need a small help reg value conversion. for suppose: 1>a = 1.234.567,89 in sap format       we need to convert this to a = 1,234,567.89 into flat file. 2>date format is showing as DD.MM.YYYY in sap format we need to convert this to MM

  • Autocad-PLM Integration issue

    Dear PLM Experts, We need to Implement Autocad-PLM Integration with Cideon Software interface. The basic cycle is working fine. I have the few questions for which i need more clarity. (We are using Autocad 2011 and Cideon Interface 6.1) 1. The Creati

  • JAXB: Exception thrown during Unmarshalling ! HELP !

    Hi, my JAXB works fine when the input XML conforms with the schema. But sometimes the input XML contains some extra non-business related fields (populated by the client application) that are absent from my schema definitions and cannot be predicted.