[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/

Similar Messages

  • 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

  • My mac won't save to a flash drive. It always says the disc is full when there is plenty of space. Solution pls?

    My mac won't save to a flash drive. It always says the disc is full when there is plenty of space. Solution pls?

    Hi and welcome to Apple Discussions,
    Did you get the flash drive from a reliable source. There are some available on the net that show a large capacity but are only 512 mb. or 1 gb. drives that have been altered to display a much larger capacity.
    Good luck,
    Alan

  • 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

  • I try to download an app and it tells me that there is not enough room when there is plenty

    An app that is 1.9 GB is saying that there is not enough room to download, even though i have around 3 GB free.

    The GB size of the download file is the compressed size (like .zip or .dmg). When the file is installed/uncompressed it can be 2-3 times larger.
    You need to delete some files and not run with an almost full storage.
    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • CS5 "Not enough scratch memory available" error when there's plenty of it.

    Illustrator CS5 throws this error:
    Adobe Save For Web AI Error
    Could not complete this operation. There is not enough scratch memory available.
    OK  
    when trying to save for web. The content has a lot of linked images, around 1000x1000 px each, used with clipping masks, drop shadows and glows at 300dpi.
    I realize that this might be hard to flatten for JPEG and I'd be fine with long processing times (which I get) but out of memory?.. Here's my config:
    Illustrator CS5
    Windows 7 x64 Ultimate
    Intel Core i7 920
    6GB RAM
    Total pagefile size: 24GB.
    Primary scratch disk - 155GB free.
    Secondary scratch disk - 544GB free.
    Those are all gigabytes, not megabytes, no mistake. There's NO WAY that there's not enough scratch memory available.
    And this is how the process looks:
    Physical memory usage at this point is 62%, Commit charge - 15%.
    Currently, I can work around this by making a screenshot of "Original" tab in Save for Web dialogue when it's there - because sometimes it's just a pink-filled window.
    So, Adobe, any suggestions, please?

    Asmodeus,
    Illustrator CS5 has some improvements to how Raster Effects are rendered on screen. So even if you use 72ppi DRES, you would see very little/no difference compared to 300ppi DRES - i.e., pixelization issues would be almost non-existent.
    Could you try this out & come back with your findings?
    Also if you just want to send something to other people for Previews, maybe a PDF with the 'Smallest File Size' Preset be good enough. These can be viewed with the (free) Adobe Reader.

  • Error Importing - Disk Space when there is plenty of Space

    Hello,
    I am trying to import small .avi movies into iMovies. When I do, it states that there is a Error Importing due to not enough Disk Space. I have 24GB of disk space available, however, inside the iMovie application it states that there is only 20kb available. Has anyone come across this?
    Thank you
    Leoville

    I had the same problem. The following steps worked for me. 
    1. In iTunes on my Mac, on the Summary page for my iPhone, under "Options" I clicked "sync only checked songs and videos."
    2. On the "Music" page, I clicked Sync Music and then clicked "Selected playlists, albums," etc. underneath.
    3. IMPORTANT! make sure that the "automatically fill free space with songs" is NOT clicked. My computer kept clicking that one automatically and I had to keep turning it off.
    4. I clicked one playlist or album at a time and watched the status bar (below) to see how much space was being taken up (the blue line).
    5. When I had as much music as I wanted, I clicked Apply.
    It turned out that I had one play list which, for some unknown reason, had a huge number of songs on it and that was clogging up the works. When I unchecked it, I had enough room for the rest.
    I hope this helps!

  • Getting lots of "NetStream.Play.InsufficientBW" when there's plenty of Bandwidth

    Hi All,
    We've upgraded our production servers to 3.5.3 on Windows 2008, and now I'm seeing a lot of "NetStream.Play.InsufficientBW" statuses in our client app's log.  The server is streaming a very low bandwidth live video/audio stream, and the client has more than plenty of bandwidth to play it.  The stream doesn't exhibit any audio drops or skipped frames, and there are no message drops on the server side.  We have had clients complaining of random disconnects.  Does anyone know why I might be getting this message?  If anyone from Adobe could help with this, I'd greatly appreciate it.  Thank you.
    Best,
    -Costin

    Hi Asa,
    Thanks for the reply! 
    Unfortunately, I already had this in my Application.xml and it was still doing it:
         <Queue enabled="false">
    Any other work arounds at this time?
    In addition, I'm getting reports that users are getting disconnected.  After some arbitrary time, the server issues a "NetConnection.Connect.Rejected" for no reason, or at least none that I can find.  Is this also a known issue?  Please advise, since this is happening on our production systems.  Should I roll back to 3.5.2?
    Thank you!
    -Costin

  • "NetStream.Play.InsufficientBW" dispatched when there's plenty of Bandwidth

    Hi,  
         I am working on the Audio-Video application having two Flash Media Server, One is Flash Media Interactive Server and another is Flash Media Streaming Server.
    I am publishing stream on Flash Media Streaming Server and receiving stream from Flash Media Streaming Server. Flash Media Interactive Server  publish stream to live folder
    "rtmp://xxx.xxx.xx.xx/live" Flash Media Streaming Server from server side code.
    when application.onPublish of Interactive server dispatch then the stream published by interactive server  has been republished to live of the streaming server and from there client receive stream by
    making connection with live folder of Streaming server. Stream from streaming server received successfully but .....
    After few minute at receiving side receiving netStream Object dispatch "NetStream.Play.InsufficientBW" and stop receiving stream.
    Please help if anyone know any solution.
    Thanks.

    Hi,
              I want to add more to above, that for testing purpose I am using Flash Media Developement server as the Flash Media Interactive Server and Flash Media Streaming Server.
    Thanks

  • Printer wants me to load paper when there's plenty already there

    I have an Officejet Pro 8500 Wireless.  Every now and then it hangs up on a print job, telling me I need to load paper in the tray even though there's lots of paper already there.  I have only one tray, but apparently some of these printers have the capacity for two.  Maybe that's a part of the problem?   I've tried everything I can think of.   By the way, is there some way to send an email to HP describing the problem, or are we on our own as customers?  Anyway, I'd appreciate advice if anyone has any.  Thanks.

    This document has several solutions which may be of use.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00786157&cc=us&lc=en&dlc=en&product=3752456
    In addition the type of paper you are using can affect how well the printer picks it up. Recycled paper, while great for the environment doesn’t always pick correctly in printers. If you are using recycled paper try regular paper instead.
    Please note I have a new account Print_Hint
    (this one is no longer active)
    Although I am an HP Support Engineer, I am speaking for myself and not for HP.

  • Syncing Error: iphone doesn't have enough space when there's plenty

    When I sync my iPhone, I sync contacts, calendars, music, podcasts. I have the 8 gig.
    The space meter bar shows blue, purple etc... and I'm only using 6 gigs.....
    Here is the problem...
    When I try to sync my iPhone back to my mac, it turns the space bar completely yellow and says it doesn't have enough space on my iPhone to sync. The error msg. only sees the amt. of space left (approx 2 gigs) after a full sync.
    A full restore takes care of it, but I am having to restore every time I sync.
    Itunes doesn't seem to overwrite the old info....it just tries to put the original 6 gigs on to my already full iPhone.
    I have version 1.1.1 iPhone and version 7.4.2 (4) itunes
    Is this an auto sync prob?
    Any help?

    Likely you have a corrupted file, they tend to wreak havoc on the phone. Try this...
    Sync 1 section at a time, when you hit the culprit you will know which sync it is under.
    Then you will need to work with that sync to try to locate the corrupt file, eliminate parts to see which part it is in. Weed it out, it will take time but you will eventually find the culprit.
    Good luck!

  • Why does vault say iCloud Drive has insufficient space when there is plenty available?

    I have 49.7GB of Aperture photo data that I want to back up to a Vault. I am running Yosemite and recently upgraded my iCloud drive to 200GB with only 13.7GB currently being used. When I set up a Vault using the iCloud drive it says I have insufficient space. Clearly I don't!
    My iCloud account confirms that the space is available. Any suggestions please?

    An Aperture vault cannot be stored in iCloud drive. If you put it on a synced volume it will be corrupted by syncing.  Write your vault to a locally connected disk like described here for Aperture Libraries:
    Use locally mounted Mac OS X Extended volumes for your Aperture library
    A vault is essentially an Aperture library, so the same holds.   I tested putting Aperture libraries, vaults, and iPhoto Libraries onto iCloud Drive. After the first sync they needed repairing.
    . When I set up a Vault using the iCloud drive it says I have insufficient space. Clearly I don't!
    How much free space is on your Mac?  You can only write files to iCloud Drive that will fit on all devices that are connected to iCloud Drive. iCloud Drive is not like an external disk - it is a shared storage for syncing your Macs. Everything you are writing to iCloud Drive will be mirrored to your Macs. See:  iCloud Drive FAQ

  • HT4623 How do I fix my iPhone 5 when it stops downloading updates and music, when there is plenty of storage space?

    I just got my iPhone 5 a month ago and the last time I clicked on updates for a few of my apps, my phone has completely stopped downloading. The apps are stuck at waiting to update, which means they are unavailable for me to use. Plus, my newly downloaded music is stuck being unable to sync, so I manually added it to my phone through my macbook. I have tried restarting my phone, since I hadn't powered off in a while, but that had no effect. Any ideas/solutions?

    I use an Apple AirPort Base Station to provide WiFi at home, the AirPort provides me with 2.4GHz and 5GHz WiFi frequency.  For my iPhone WiFi setting I select the 5GHz Channel simply because it is faster than the 2.4GHz.
    The downside to using the 5GHz is that it does not penetrate solid as well as the 2.4GHz frequency, so if you can select a 2.4GHz frequency that may well help.

  • Adobe Ilustrator giving me low ram error even though there is plenty of ram

    One of my users is getting the message "The operation cannot complete because there isn't enough memory (RAM) available" error when opening a file in illustrator.  I had them send me a screen show of the memory utilization in task manager and it is at 28%. Can anyone offer any insight on why this might be happening?  They are requesting that more RAM be added to the machine but being that it already has 16gb installed I'd like to rule out any other issues before jumping to that step.
    Below are screenshots of the error and the task manager
    Message was edited by: DREW SARTIN

    Memory errors have nothing to do with actual lack of RAM. The file is damaged or references a potentially critical external component like a specific printer driver whose info has been stored in the file, a font, a color profile, a linked image or whatever. You need to figure out those problems instead of blindly throwing more resources art the program. As a start, try to open the file on another system. If it works you can limit the investigation to the specific machine and even if it doesn't it may give you a more meaningful warning that helps to diagnose the error.
    Mylenium

  • When trying to update my iPad 2 to iOS 7 I keep getting the message that it has stopped because the file is full.  There is plenty of room on the iPad.  It also says to check the settings.  What do I do now?

    When trying to update my iPad on iTunes I keep getting a message that the download has stopped because the file is full.  There is plenty of space on the iPad.  Also, the message says to check the settings.  What am I supposed to check in the settings?  What do I do now?

    I have the same problem. It is only with tv shows and only with programs I have downloaded after the software update.
    Apple support sent me the above link too....but it doesn't solve the problem...my computer is authorized and the content is in my library and will play on my Mac air, but it will not sync the tv shows, it keeps saying my computer isn't authorized for it.
    No answers here, but you are definitely not alone with this issue.

Maybe you are looking for

  • Please help - this computer already associated with an apple id

    We have 5 family members all using the same mac, each with their own login and password.  Each person also has a seperate apple id/ itunes account - and we want to download all the music onto the hard drive. When I go to do that for one of my daughte

  • When syncing photos getting error iPhone can not be read from or written to

    I am getting an error only when I try to sync photos. Error is iPhone can not be read from or written to. This only happens when I am syncing photos, so far everything else syncs fine. I have an iPhone 3G S. I had some pictures on the iPhone that I d

  • Closing programs before install

    I am trying to install a download of a trial of PhotShop Elements 10. I get a message telling me to close PhotoshopServer and dynamiclinkmanger before clicking "continue". I have never heard of these programs and I cannot find them anywhere on my com

  • Aperture Images not available for syncing

    I just upgraded to iTunes 10.7 and Aperture 3.4. ITunes sees all the albums in Aperture, but only a handful of the photos in each album. I synced to my iPhone 4 with iTunes 10.6 yesterday with no problem. Trying to sync to iPhone 5. Any help?

  • HT4623 how to update my iphone 3g through itune to 4.2.1?

    my phone 3g is version 4. i want to update 4.2.1 through itunes. how should i do it?