<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: swap question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669468#M20562</link>
    <description>but... do you get "out of memory" errors?</description>
    <pubDate>Fri, 11 Nov 2005 02:37:16 GMT</pubDate>
    <dc:creator>Claudio Cilloni</dc:creator>
    <dc:date>2005-11-11T02:37:16Z</dc:date>
    <item>
      <title>swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669467#M20561</link>
      <description>hi, &lt;BR /&gt;&lt;BR /&gt;on my machine swap is not getting used, i have even tried creating a additional swap file and added it still no luck. this is happening on 2.2 kernel. &lt;BR /&gt;&lt;BR /&gt;--chakri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Nov 2005 02:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669467#M20561</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-11-11T02:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669468#M20562</link>
      <description>but... do you get "out of memory" errors?</description>
      <pubDate>Fri, 11 Nov 2005 02:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669468#M20562</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2005-11-11T02:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669469#M20563</link>
      <description>Hello Chakravarthi,&lt;BR /&gt;&lt;BR /&gt;can you post the output of the command "free -m"? Did you get any errors because of insufficient memory? Linux donÂ´t use swap if it not must. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 11 Nov 2005 03:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669469#M20563</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2005-11-11T03:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669470#M20564</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;After creating the swap partition, you need to format it by using :&lt;BR /&gt;&lt;BR /&gt;mkswap &lt;DEVICE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;Then you can mount it with :&lt;BR /&gt;&lt;BR /&gt;swapon &lt;DEVICE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;If you want this to be done automagically at boot, add the following line in /etc/fstab :&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvswap swap swap defaults             0 0&lt;BR /&gt;&lt;BR /&gt;Good lcuk.&lt;BR /&gt;Kodjo &lt;BR /&gt;&lt;/DEVICE_NAME&gt;&lt;/DEVICE_NAME&gt;</description>
      <pubDate>Fri, 11 Nov 2005 03:22:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669470#M20564</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2005-11-11T03:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669471#M20565</link>
      <description>"On my machine swap is not getting used"&lt;BR /&gt;&lt;BR /&gt;This should be not a problem, the problem is if the swap is too used.&lt;BR /&gt;&lt;BR /&gt;Why are you worried about the use of the swap.</description>
      <pubDate>Fri, 11 Nov 2005 06:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669471#M20565</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-11-11T06:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669472#M20566</link>
      <description>Why do you want your box swapping?&lt;BR /&gt; &lt;BR /&gt;No seroiusly, you can check if and what swap device/file is enabled by&lt;BR /&gt; &lt;BR /&gt;$ /sbin/swapon -s&lt;BR /&gt;Filename                        Type            Size    Used    Priority&lt;BR /&gt;/dev/sda3                       partition       1028152 79976   -1&lt;BR /&gt; &lt;BR /&gt;alternatively look up in /proc&lt;BR /&gt;  &lt;BR /&gt;cat /proc/swaps &lt;BR /&gt;Filename                        Type            Size    Used    Priority&lt;BR /&gt;/dev/sda3                       partition       1028152 79976   -1&lt;BR /&gt; &lt;BR /&gt;Usually, as already said by others creating and activating swap is as easy as using the two commands mkswap and swapon.&lt;BR /&gt; &lt;BR /&gt;However, it could be that (for what ever reason) you have set a swapiness too low (if set at all)&lt;BR /&gt; &lt;BR /&gt;Check by&lt;BR /&gt; &lt;BR /&gt;# sysctl -a | grep swap&lt;BR /&gt; &lt;BR /&gt;if it's set.&lt;BR /&gt;Also see&lt;BR /&gt;&lt;A href="http://kerneltrap.org/node/3000/print" target="_blank"&gt;http://kerneltrap.org/node/3000/print&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Nov 2005 08:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669472#M20566</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-11-11T08:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669473#M20567</link>
      <description>i'm left with very limited physical memory, and machine is tooo slow to work</description>
      <pubDate>Fri, 11 Nov 2005 09:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669473#M20567</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-11-11T09:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669474#M20568</link>
      <description>free -m output&lt;BR /&gt;&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:           895        316        578          0         13         80&lt;BR /&gt;-/+ buffers/cache:        223        672&lt;BR /&gt;Swap:         2047          0       2047</description>
      <pubDate>Fri, 11 Nov 2005 09:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669474#M20568</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-11-11T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669475#M20569</link>
      <description>You have 578 MB of free memory out of 895 MB of available physical memory!&lt;BR /&gt;Your machine isn't using swap space because it isn't necessary.&lt;BR /&gt;&lt;BR /&gt;Everything is ok.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Nov 2005 10:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669475#M20569</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2005-11-11T10:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669476#M20570</link>
      <description>that about this??&lt;BR /&gt;&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:           895        876         18          0         68         48&lt;BR /&gt;-/+ buffers/cache:        760        135&lt;BR /&gt;Swap:         2047          0       2047</description>
      <pubDate>Fri, 11 Nov 2005 10:12:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669476#M20570</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2005-11-11T10:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669477#M20571</link>
      <description>Linux will always use all memory available, but not for applications, but for buffer/cache. So, you probably won't see a Linux system with 50% of memory usage.&lt;BR /&gt;&lt;BR /&gt;The -+buffers line in the free command shows the free memory without buffers.</description>
      <pubDate>Fri, 11 Nov 2005 10:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669477#M20571</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-11-11T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: swap question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669478#M20572</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;short answer: 135MB of 895MB memory are free and your system does not need to swap. :)&lt;BR /&gt;&lt;BR /&gt;Most linux-systems have a memory usage of over &amp;gt;50%, but the memory is used for cache and buffers. This memory will be used if an application needs more memory. &lt;BR /&gt;&lt;BR /&gt;So everythingÂ´s right. :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 11 Nov 2005 16:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-question/m-p/3669478#M20572</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2005-11-11T16:14:24Z</dc:date>
    </item>
  </channel>
</rss>

