<?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: kernel is using most of memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612746#M808003</link>
    <description>More likely than not you've got some tunables set too high (the SysV IPC semaphore tunables can easily get you in this state... if you're running a version before 11.23.0409 you can eat a lot with setting max_mem_window too high [on 11.11 that interacts with shmmni].&lt;BR /&gt;&lt;BR /&gt;Get the unsupported kmeminfo tool from:&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/&lt;BR /&gt;&lt;BR /&gt;Run it using kmeminfo /stand/vmunix /dev/kmem and report the results.</description>
    <pubDate>Fri, 26 Aug 2005 07:56:35 GMT</pubDate>
    <dc:creator>Don Morris_1</dc:creator>
    <dc:date>2005-08-26T07:56:35Z</dc:date>
    <item>
      <title>kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612745#M808002</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i have a strange problem, my server K580 hpux 11.11 has memory 1.5 Gb but system is using most of it. After boot memory usage is immediately more than 98% and no applications is running. I wonder what can i do to release more memory for applications.&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct 5 dbc_min_pct 2&lt;BR /&gt;&lt;BR /&gt;Glance&lt;BR /&gt;&lt;BR /&gt;Total VM :   203mb   Sys Mem  :   1.4gb   User Mem:    72mb   Phys Mem:   1.5gb&lt;BR /&gt;Active VM:   138mb   Buf Cache:    35mb   Free Mem:    17mb&lt;BR /&gt;&lt;BR /&gt;# vmstat 1 5&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;    1     1     0    29194    1025   58   29    15    2     2    0    18   1369   4872   250   2  3 94&lt;BR /&gt;    1     1     0    29194    1053    1    0    12   32    24    0    49   1960   4208   293   0  3 97&lt;BR /&gt;    1     1     0    29194    1037    0    0    10   25    19    0    39   1952   4248   285   1  5 94&lt;BR /&gt;    1     1     0    29194    1016    0    0    10   20    16    0    36   1988   5051   321   2  6 92&lt;BR /&gt;    2     0     0    30043    1008    0    0     8   32    20    0    36   2038   6022   358   1  7 92&lt;BR /&gt;&lt;BR /&gt;# ./freemem&lt;BR /&gt;freemem= 24625  gpgslim= 1024  lotsfree= 5053  desfree= 1024  bufpages= 12955 dbcminpgs= 7864 dbcmaxpgs= 19661 minfree= 256 &lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&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        1536      52    1484    3%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        1536       0    1536    0%       0       -    2  /dev/vg01/lvol2&lt;BR /&gt;reserve       -     113    -113&lt;BR /&gt;total      3072     165    2907    5%       -       0    -&lt;BR /&gt;&lt;BR /&gt;BR/ Tero</description>
      <pubDate>Fri, 26 Aug 2005 07:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612745#M808002</guid>
      <dc:creator>Tero Palonen</dc:creator>
      <dc:date>2005-08-26T07:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612746#M808003</link>
      <description>More likely than not you've got some tunables set too high (the SysV IPC semaphore tunables can easily get you in this state... if you're running a version before 11.23.0409 you can eat a lot with setting max_mem_window too high [on 11.11 that interacts with shmmni].&lt;BR /&gt;&lt;BR /&gt;Get the unsupported kmeminfo tool from:&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/&lt;BR /&gt;&lt;BR /&gt;Run it using kmeminfo /stand/vmunix /dev/kmem and report the results.</description>
      <pubDate>Fri, 26 Aug 2005 07:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612746#M808003</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-08-26T07:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612747#M808004</link>
      <description>You've got a massively large kernel parameter (or two or three...). Paste a copy of your /stand/system file starting with the first changed parameter at the bottom of the list (typically, it will start with the dbc_xxx values).</description>
      <pubDate>Fri, 26 Aug 2005 08:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612747#M808004</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-26T08:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612748#M808005</link>
      <description>Yeah, that's a lot of ram used by sys.  I just got the same glance data from one of our old D's with 3G ram, and it is only using 160Mb for sys - whereas yours is chewing up 1.4G.  &lt;BR /&gt;&lt;BR /&gt;My first thought was that it was dbc_max_pct - but that's not it - must be something else in the kernel, or a memory leak of a system program.&lt;BR /&gt;&lt;BR /&gt;Can you post to us the output of "kmtune" ?&lt;BR /&gt;&lt;BR /&gt;Also, since you've got glance, run the graphics version of "gpm" and go to "reports" and look at "process list".  Once it is up, go to "Configure" and then "Filter" and click on "Disable All Filters", then close the dialog box. You should then be able to sort on Resident Memory usage by clicking on "Configure" , then "Sort Fields", then dragging the Res Mem columns all the way to the left and hitting "Done".&lt;BR /&gt;&lt;BR /&gt;This should list you the highest memory consuming processes in the box, and give you clue of where to start looking.</description>
      <pubDate>Fri, 26 Aug 2005 08:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612748#M808005</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-08-26T08:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612749#M808006</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I put attachment of kernel parameters.&lt;BR /&gt;This is results of kmeminfo program:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ./kmeminfo /stand/vmunix /dev/kmem&lt;BR /&gt;kmeminfo (5.01)&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Fri Aug 26 13:33:16 EETDST 2005&lt;BR /&gt;boot: Fri Aug 26 13:47:15 2005&lt;BR /&gt;dump: Fri Aug 26 16:04:47 2005&lt;BR /&gt;nbpg: 4096 bytes&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physical memory       =   393212    1.5g 100%&lt;BR /&gt;Free memory           =    13898   54.3m   4%&lt;BR /&gt;User processes        =    12408   48.5m   3%  details with -user&lt;BR /&gt;System                =   366003    1.4g  93%&lt;BR /&gt;  Kernel              =   353646    1.3g  90%  kernel text and data&lt;BR /&gt;    Dynamic Arenas    =   317260    1.2g  81%  details with -arena&lt;BR /&gt;      M_SYSVMSGB      =   262129 1023.9m  67%&lt;BR /&gt;      M_TEMP          =    41332  161.5m  11%&lt;BR /&gt;      M_SPINLOCK      =     3537   13.8m   1%&lt;BR /&gt;      M_SWAP          =     1564    6.1m   0%&lt;BR /&gt;      M_VXVM          =     1368    5.3m   0%&lt;BR /&gt;      Other arenas    =     7330   28.6m   2%  details with -arena&lt;BR /&gt;    Super page pool   =     4532   17.7m   1%  details with -kas&lt;BR /&gt;    Static Tables     =    24888   97.2m   6%  details with -static&lt;BR /&gt;      pfdat           =     8848   34.6m   2%&lt;BR /&gt;      htbl2_0         =     4096   16.0m   1%&lt;BR /&gt;      text            =     2649   10.3m   1%  vmunix text section&lt;BR /&gt;      nbuf            =     2416    9.4m   1%  bufcache headers&lt;BR /&gt;      pfn_to_virt     =     1474    5.8m   0%&lt;BR /&gt;      Other tables    =     5403   21.1m   1%  details with -static&lt;BR /&gt;  Buffer cache        =    12357   48.3m   3%  details with -bufcache&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;BR/Tero&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 08:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612749#M808006</guid>
      <dc:creator>Tero Palonen</dc:creator>
      <dc:date>2005-08-26T08:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612750#M808007</link>
      <description>Yup... your SysV message buffer arena is just huge compared to your total memory. Drop your msg* tunables, because they're too big for your system. msgseg looks like the most likely culprit... the kernel's going to allocate msgseg * msgsiz worth of space from that arena on boot.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 08:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612750#M808007</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-08-26T08:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612751#M808008</link>
      <description>Yup, Don nailed it down for you.&lt;BR /&gt;&lt;BR /&gt;Mine look like the following on my D box:&lt;BR /&gt;msgmap                   8192  -  (MSGTQL+2)&lt;BR /&gt;msgmax                  32768  Y  32768&lt;BR /&gt;msgmnb                  65535  Y  65535&lt;BR /&gt;msgmni                    819  -  (NPROC)&lt;BR /&gt;msgseg                  32760  -  (MSGTQL*4)&lt;BR /&gt;msgssz                    128  -  128&lt;BR /&gt;msgtql                   8190  -  (NPROC*10)&lt;BR /&gt;&lt;BR /&gt;Yours would of course vary, but this can give you a bit of a guideline to see what is way out there.</description>
      <pubDate>Fri, 26 Aug 2005 09:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612751#M808008</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-08-26T09:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612752#M808009</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;now Glance shows sys mem 290 Mb and memory usage about 32% on "empty" machine.&lt;BR /&gt;I did what Don Morris told me and changed 7 kernel parameters (msgmap - msgtql) to smaller ones.&lt;BR /&gt;&lt;BR /&gt;Thanks for you all, now i can leave office happily and enjoy weekend.&lt;BR /&gt;&lt;BR /&gt;# ./kmeminfo /stand/vmunix /dev/kmem&lt;BR /&gt;kmeminfo (5.01)&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Fri Aug 26 16:58:53 EETDST 2005&lt;BR /&gt;boot: Fri Aug 26 17:16:03 2005&lt;BR /&gt;dump: Fri Aug 26 17:23:37 2005&lt;BR /&gt;nbpg: 4096 bytes&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physical memory       =   393212    1.5g 100%&lt;BR /&gt;Free memory           =   270695    1.0g  69%&lt;BR /&gt;User processes        =    31275  122.2m   8%  details with -user&lt;BR /&gt;System                =    88951  347.5m  23%&lt;BR /&gt;  Kernel              =    77028  300.9m  20%  kernel text and data&lt;BR /&gt;    Dynamic Arenas    =    18578   72.6m   5%  details with -arena&lt;BR /&gt;      M_TEMP          =     7275   28.4m   2%&lt;BR /&gt;      M_SWAP          =     1566    6.1m   0%&lt;BR /&gt;      M_VXVM          =     1368    5.3m   0%&lt;BR /&gt;      M_LVM           =     1322    5.2m   0%&lt;BR /&gt;      M_IOSYS         =      856    3.3m   0%&lt;BR /&gt;      Other arenas    =     6191   24.2m   2%  details with -arena&lt;BR /&gt;    Super page pool   =    28479  111.2m   7%  details with -kas&lt;BR /&gt;    Static Tables     =    22935   89.6m   6%  details with -static&lt;BR /&gt;      pfdat           =     8858   34.6m   2%&lt;BR /&gt;      htbl2_0         =     4096   16.0m   1%&lt;BR /&gt;      text            =     2649   10.3m   1%  vmunix text section&lt;BR /&gt;      pfn_to_virt     =     1476    5.8m   0%&lt;BR /&gt;      bufhash         =     1280    5.0m   0%  bufcache hash headers&lt;BR /&gt;      Other tables    =     4575   17.9m   1%  details with -static&lt;BR /&gt;  Buffer cache        =    11923   46.6m   3%  details with -bufcache&lt;BR /&gt;#&lt;BR /&gt;Glance&lt;BR /&gt;&lt;BR /&gt;Total VM :   188mb   Sys Mem  :   290mb   User Mem:   159mb   Phys Mem:   1.5gb&lt;BR /&gt;Active VM:   132mb   Buf Cache:    47mb   Free Mem:   1.0gb&lt;BR /&gt;&lt;BR /&gt;BR/ Tero&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 09:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612752#M808009</guid>
      <dc:creator>Tero Palonen</dc:creator>
      <dc:date>2005-08-26T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612753#M808010</link>
      <description>hi, &lt;BR /&gt;can anyone help me out with my output, &lt;BR /&gt;&lt;BR /&gt;root@Kddrac1/$&amp;gt;./kmeminfo&lt;BR /&gt;kmeminfo (5.01)&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Fri Jun 17 10:50:12 GMT 2005&lt;BR /&gt;boot: Fri Jul 29 09:58:35 2005&lt;BR /&gt;dump: Mon Sep 26 15:05:09 2005&lt;BR /&gt;nbpg: 4096 bytes&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physical memory       =  2097152    8.0g 100%&lt;BR /&gt;Free memory           =    17109   66.8m   1%&lt;BR /&gt;User processes        =  1523420    5.8g  73%  details with -user&lt;BR /&gt;System                =   551539    2.1g  26%&lt;BR /&gt;  Kernel              =   402685    1.5g  19%  kernel text and data&lt;BR /&gt;    Dynamic Arenas    =   229794  897.6m  11%  details with -arena&lt;BR /&gt;      M_TEMP          =   113097  441.8m   5%&lt;BR /&gt;      ALLOCB_MBLK_LM  =    37808  147.7m   2%&lt;BR /&gt;      M_SPINLOCK      =    14149   55.3m   1%&lt;BR /&gt;      M_DEVBUF        =    10353   40.4m   0%&lt;BR /&gt;      M_NFS_GEN       =     9939   38.8m   0%&lt;BR /&gt;      Other arenas    =    44448  173.6m   2%  details with -arena&lt;BR /&gt;    Super page pool   =    27901  109.0m   1%  details with -kas&lt;BR /&gt;    Static Tables     =   118535  463.0m   6%  details with -static&lt;BR /&gt;      pfdat           =    47938  187.3m   2%&lt;BR /&gt;      nbuf            =    30992  121.1m   1%  bufcache headers&lt;BR /&gt;      htbl2_0         =    16384   64.0m   1%&lt;BR /&gt;      pfn_to_virt     =     7989   31.2m   0%&lt;BR /&gt;      bufhash         =     5120   20.0m   0%  bufcache hash headers&lt;BR /&gt;      Other tables    =    10111   39.5m   0%  details with -static&lt;BR /&gt;  Buffer cache        =   148854  581.5m   7%  details with -bufcache&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;am running oracle 9i database with 11i E-business suite on a clustered environment (MCSG) with an EVA 3000.. &lt;BR /&gt;the above details are fr the primary DB node where 4.5GB has been assigned to Oracle..</description>
      <pubDate>Mon, 26 Sep 2005 07:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612753#M808010</guid>
      <dc:creator>Victor_101</dc:creator>
      <dc:date>2005-09-26T07:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: kernel is using most of memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612754#M808011</link>
      <description>For Victor, from kmeminfo:&lt;BR /&gt; &lt;BR /&gt;&amp;gt; Physical memory = 2097152 8.0g 100%&lt;BR /&gt;&amp;gt; Free memory = 17109 66.8m 1%&lt;BR /&gt;&amp;gt; User processes = 1523420 5.8g 73% details with -user&lt;BR /&gt;&amp;gt; System = 551539 2.1g 26%&lt;BR /&gt;&amp;gt; Kernel = 402685 1.5g 19% kernel text and data&lt;BR /&gt; &lt;BR /&gt;Yes, you have one or more kernel parameters that are far too large. But kmtune just tells us that the kernel is massively large (2+ Gb), but not why. You need to show the bottom portion of your /system file where the changed parameters are located.</description>
      <pubDate>Mon, 26 Sep 2005 07:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-is-using-most-of-memory/m-p/3612754#M808011</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-09-26T07:55:09Z</dc:date>
    </item>
  </channel>
</rss>

