<?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 Serious Sys Mem Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638375#M238802</link>
    <description>&lt;BR /&gt;I have two L3000 boxes with MC/SG. One of the two has an issue. The boxes should be pretty close to being the same.&lt;BR /&gt;&lt;BR /&gt;One of the boxes slowly has the sys memory go up until the point the system is unusable, e.g. there is no real or swap memory left for user processes.&lt;BR /&gt;&lt;BR /&gt;The other box does not have this issue. On the box with the problem it takes several months for all the memory to get used up and then we have to reboot.&lt;BR /&gt;&lt;BR /&gt;Right now glance shows that sys mem is 4.5GB, user mem is 207MB and phys mem is 5GB.&lt;BR /&gt;&lt;BR /&gt;I have used the following command but it does not account for all the sys memory (or even close) that is in use.&lt;BR /&gt;UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50&lt;BR /&gt;&lt;BR /&gt;I have attached a screen print from glance and also running ipcs.&lt;BR /&gt;&lt;BR /&gt;I have tried using different command to see what is using all the system memory but I can't seem to figure out what is going on. Any ideas on how to track this down?&lt;BR /&gt;&lt;BR /&gt;Thanks so much,&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
    <pubDate>Thu, 29 Sep 2005 11:53:00 GMT</pubDate>
    <dc:creator>Justin Willoughby</dc:creator>
    <dc:date>2005-09-29T11:53:00Z</dc:date>
    <item>
      <title>Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638375#M238802</link>
      <description>&lt;BR /&gt;I have two L3000 boxes with MC/SG. One of the two has an issue. The boxes should be pretty close to being the same.&lt;BR /&gt;&lt;BR /&gt;One of the boxes slowly has the sys memory go up until the point the system is unusable, e.g. there is no real or swap memory left for user processes.&lt;BR /&gt;&lt;BR /&gt;The other box does not have this issue. On the box with the problem it takes several months for all the memory to get used up and then we have to reboot.&lt;BR /&gt;&lt;BR /&gt;Right now glance shows that sys mem is 4.5GB, user mem is 207MB and phys mem is 5GB.&lt;BR /&gt;&lt;BR /&gt;I have used the following command but it does not account for all the sys memory (or even close) that is in use.&lt;BR /&gt;UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50&lt;BR /&gt;&lt;BR /&gt;I have attached a screen print from glance and also running ipcs.&lt;BR /&gt;&lt;BR /&gt;I have tried using different command to see what is using all the system memory but I can't seem to figure out what is going on. Any ideas on how to track this down?&lt;BR /&gt;&lt;BR /&gt;Thanks so much,&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
      <pubDate>Thu, 29 Sep 2005 11:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638375#M238802</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-09-29T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638376#M238803</link>
      <description>Hi Justin,&lt;BR /&gt;&lt;BR /&gt;Can you say memory leak?&lt;BR /&gt;I knew you could.&lt;BR /&gt;The best cure I've seen for this malady is a Louisville Slugger liberally waved at the developers.&lt;BR /&gt;What you need to do is scan the PIDs for memory "growth" over time.&lt;BR /&gt;Short of that, you're not going to be able to do much about it.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 29 Sep 2005 12:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638376#M238803</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-09-29T12:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638377#M238804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The difference in load can be due to difference in packages running in both nodes. How many packages are there ?&lt;BR /&gt;&lt;BR /&gt;Have you tried swaping packages in between them and see the utilization?&lt;BR /&gt;&lt;BR /&gt;Is there something else running out of MC Service Guard?&lt;BR /&gt;&lt;BR /&gt;Also "swapinfo -atm" will give memory utilization details.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 29 Sep 2005 12:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638377#M238804</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-29T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638378#M238805</link>
      <description>No PIDs seem to be using any more memory then usual, at least from what I can see from using &lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50&lt;BR /&gt;&lt;BR /&gt;I am assuming there is some sort of shared memory usage that is not being released but I don't know for sure or how to track it down if that is what is happening.&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
      <pubDate>Thu, 29 Sep 2005 12:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638378#M238805</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-09-29T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638379#M238806</link>
      <description>Devender,&lt;BR /&gt;&lt;BR /&gt;There are only 2 packages running on this box and 1 package running on the box that's ok. The applications are very similar, one is for production and two are semi-production.&lt;BR /&gt;&lt;BR /&gt;I have not swapped which servers they run on long enough to see if it's the packages or the node, but I might have to.&lt;BR /&gt;&lt;BR /&gt;The swapinfo command does not really tell me much:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(ifback)root# swapinfo -atm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096    1097    2999   27%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    1036   -1036&lt;BR /&gt;memory     3881    3881       0  100%&lt;BR /&gt;total      7977    6014    1963   75%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Sep 2005 12:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638379#M238806</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-09-29T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638380#M238807</link>
      <description>Hi Justin,&lt;BR /&gt;&lt;BR /&gt;The "virtual" (vsz) can be misleading.&lt;BR /&gt;Try using ps -efl &amp;amp; try sorting on the 10th column. That's the "resident" size which is the "truer" usage size.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 29 Sep 2005 12:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638380#M238807</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-09-29T12:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638381#M238808</link>
      <description>I'm with the bad application memory leak crowd here.&lt;BR /&gt;&lt;BR /&gt;These issues are almost always caused by poor programming, though I advise against any kind of violence. :=)&lt;BR /&gt;Linking a good set of data collection tools.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 29 Sep 2005 12:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638381#M238808</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-29T12:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638382#M238809</link>
      <description>Hey Steven,&lt;BR /&gt;&lt;BR /&gt;Notice I said wave - not thump. ;~))&lt;BR /&gt;Shalom, my friend.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 29 Sep 2005 12:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638382#M238809</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-09-29T12:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638383#M238810</link>
      <description>From Glance, the memory is not user memory (a paltry 200megs) so ipcs and ps won't be useful. This looks like a horrible kernel module memory leak. Unfortunately, none of the normal Unix tools can map out what in the kernel space is consuming this RAM. I would strongly suspect any non-HP driver or subsystem such as SAN, commercial security and monitoring tools, anything that requires code to be added to the kernel. There is a slight chance that kernel patches are needed but without a kernel map, it will be difficult to see what's happening. Can you get a copy of kmeminfo from your sales/support rep?</description>
      <pubDate>Thu, 29 Sep 2005 13:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638383#M238810</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-09-29T13:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638384#M238811</link>
      <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;I was hoping to not open a case with HP (trying not to bother them) but sounds like I need to so I can get a copy of kmeminfo. I will do that shortly. Thanks,&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
      <pubDate>Thu, 29 Sep 2005 13:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638384#M238811</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-09-29T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638385#M238812</link>
      <description>Justin,&lt;BR /&gt;&lt;BR /&gt;Never ever think twice about opening a support call with HP.  If you have a support contract, that is what you pay for.  You might as well get your moneys worth.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Sep 2005 13:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638385#M238812</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-29T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638386#M238813</link>
      <description>Since I was on the HP support team for several years answering calls like this, please do open a call. There are many sysadmins who do not have the luxury of emailing or calling HP for HP-UX support. And the problem you're seeing will likely take a senior engineer to resolve. It's pretty serious since growth is without bounds and your Glance memory listing shows significant paging (swap) which is severely impacting  (slowing down) your applications.</description>
      <pubDate>Thu, 29 Sep 2005 14:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638386#M238813</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-09-29T14:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638387#M238814</link>
      <description>Well I had to reboot the box a week and a half ago because it ran out of memory and became unusable. I have started checking the memory since the box has been rebooted. It seems that when my backup run is when the system memory goes up. I have seen this happen with the TSM backup that we run nightly and our weekly Ignite backup. I have not seen a problem with memory going up the last few nights with TSM but I just did an Ignite backup and the system memory increased at the time the Ignite backup started by 60MB and never went down after the backup completed.&lt;BR /&gt;&lt;BR /&gt;I have not placed a call to HP yet. I don't see any patches related to Ignite and memory leaks on the itrc. I am thinking I might just upgrade Ignite and see what happens. I am not sure how that could be related to the TSM nightly backup using system memory and not giving it back.&lt;BR /&gt;&lt;BR /&gt;Very strange as the same version of Ignite is loaded on our other box and it's not having the same issue.&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
      <pubDate>Tue, 11 Oct 2005 09:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638387#M238814</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-10-11T09:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638388#M238815</link>
      <description>What HP-UX release is ?&lt;BR /&gt;&lt;BR /&gt;Run&lt;BR /&gt;&lt;BR /&gt;/usr/contrib/Q4/bin/kmeminfo&lt;BR /&gt;&lt;BR /&gt;and post the output.&lt;BR /&gt;&lt;BR /&gt;Q: I assume that the swapinfo output you posted is about box memory was exhausted, doesn't it?&lt;BR /&gt;Please, post the swapinfo output when box has no memory problem.</description>
      <pubDate>Tue, 11 Oct 2005 10:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638388#M238815</guid>
      <dc:creator>CAS_2</dc:creator>
      <dc:date>2005-10-11T10:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638389#M238816</link>
      <description>CAS,&lt;BR /&gt;&lt;BR /&gt;We are running HPUX 11.11 on rp4440s.&lt;BR /&gt;&lt;BR /&gt;Attached is the out put from swapinfo and the kmeminfo command. There is no memory problem other then each day or at least every week more system memory is used up and not released.&lt;BR /&gt;&lt;BR /&gt;- Justin</description>
      <pubDate>Tue, 11 Oct 2005 10:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638389#M238816</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-10-11T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638390#M238817</link>
      <description>I'd suggest to add a entry in the root's crontab in order to save the output of swapinfo and kmeminfo commands.&lt;BR /&gt;&lt;BR /&gt;If backup might be the problem, I'd run the command&lt;BR /&gt;&lt;BR /&gt;vmstat 2 count # substitue 'count' for the number of times the vmstat will print a line ENOUGH to monitor the memory for the time the backup is running. For example, if backup session last 1 hour, count should be 60 x 60 / 2 = 1800&lt;BR /&gt;&lt;BR /&gt;The goal is to monitor the values of "avm", "free", "po" and "sr" columns.</description>
      <pubDate>Tue, 11 Oct 2005 10:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638390#M238817</guid>
      <dc:creator>CAS_2</dc:creator>
      <dc:date>2005-10-11T10:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Serious Sys Mem Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638391#M238818</link>
      <description>I'll run the vmstat during an Ignite backup tomorrow. What I just noticed as well is the ignite backup takes over 2 hours. On the other rp4440 in the cluster it takes about an hour to run. Very strange.... - Justin</description>
      <pubDate>Tue, 11 Oct 2005 13:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serious-sys-mem-problem/m-p/3638391#M238818</guid>
      <dc:creator>Justin Willoughby</dc:creator>
      <dc:date>2005-10-11T13:11:47Z</dc:date>
    </item>
  </channel>
</rss>

