<?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 memory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238596#M52090</link>
    <description>I suggest you to install collectl or at least enable sar. Collecting performance statistics would help to diagnose the problem.&lt;BR /&gt;&lt;BR /&gt;If the system is totally unresponsive, then you may have a hardware problem, you should check the messages file and dmesg output.</description>
    <pubDate>Thu, 06 May 2010 18:33:58 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2010-05-06T18:33:58Z</dc:date>
    <item>
      <title>swap memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238593#M52087</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have SuSE Linux 9.0 on a old system.&lt;BR /&gt;Recently we had few problems with this system. The system becomes unresponsive regularly. Then we hard boot and the sytem come back again.&lt;BR /&gt;We suspect its a memory issue. It has 500 MB Phy RAM and 1 GB of swap. But most of the time the free memory is in the range of 50 MB - 8 MB. We also noticed that the system is not at all using the SWAP space allotted.&lt;BR /&gt;&lt;BR /&gt;Here are the facts,&lt;BR /&gt;&lt;BR /&gt;# cat /etc/fstab&lt;BR /&gt;/dev/hda3            /                    ext3       acl,user_xattr        1 1&lt;BR /&gt;/dev/hda1            /boot                ext2       acl,user_xattr        1 2&lt;BR /&gt;/dev/hda4            /usr                 ext3       acl,user_xattr        1 2&lt;BR /&gt;/dev/hda2            swap                 swap       pri=42                0 0&lt;BR /&gt;devpts               /dev/pts             devpts     mode=0620,gid=5       0 0&lt;BR /&gt;proc                 /proc                proc       defaults              0 0&lt;BR /&gt;sysfs                /sys                 sysfs      noauto                0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# free -m&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:           494        486          7          0         97        132&lt;BR /&gt;-/+ buffers/cache:        256        238&lt;BR /&gt;Swap:         1027          0       1027&lt;BR /&gt;&lt;BR /&gt;# cat /proc/swaps&lt;BR /&gt;Filename                                Type            Size    Used    Priority&lt;BR /&gt;/dev/hda2                               partition       1052248 0       42&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you also think that its the memory/swap issue?&lt;BR /&gt;&lt;BR /&gt;If yes then how do we make the system use the swap space?&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;admin</description>
      <pubDate>Thu, 06 May 2010 08:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238593#M52087</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-05-06T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238594#M52088</link>
      <description>High memory usage and not using swap is not a problem for linux, the memory is used for buffers and will be freed when you need it for applications.</description>
      <pubDate>Thu, 06 May 2010 09:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238594#M52088</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2010-05-06T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238595#M52089</link>
      <description>Check the "-/+ buffers/cache" line, you actually have 238 free MB, not counting cached stuff (which will be freed as soon as it's needed by a running process). That's quite reasonable for a 500MB system.&lt;BR /&gt;&lt;BR /&gt;Regarding the use of swap, you can change that throught /proc/sys/vm/swappiness, but if anything you would want a low value there so the system uses as few swap as possible, as long as it's not really needed.&lt;BR /&gt;&lt;BR /&gt;Long story short: your issues have nothing to do with the amount of free memory, or at least not with the memory usage you have posted.</description>
      <pubDate>Thu, 06 May 2010 16:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238595#M52089</guid>
      <dc:creator>J. Maestre</dc:creator>
      <dc:date>2010-05-06T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238596#M52090</link>
      <description>I suggest you to install collectl or at least enable sar. Collecting performance statistics would help to diagnose the problem.&lt;BR /&gt;&lt;BR /&gt;If the system is totally unresponsive, then you may have a hardware problem, you should check the messages file and dmesg output.</description>
      <pubDate>Thu, 06 May 2010 18:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238596#M52090</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-05-06T18:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238597#M52091</link>
      <description>As mentioned above.</description>
      <pubDate>Thu, 02 Sep 2010 06:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/swap-memory/m-p/5238597#M52091</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-02T06:24:37Z</dc:date>
    </item>
  </channel>
</rss>

