<?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: long  running process &amp;amp; more memory available in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944873#M412522</link>
    <description>Hi Vipin:&lt;BR /&gt;&lt;BR /&gt;It looks like you have an old shell session from October 27 started by "jetscan" originally, but owned by 'init' (pid=1) probably because it was abnormally disconnected.  You can kill it and this should reduce your CPU consumption.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 06 Dec 2005 13:10:12 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-12-06T13:10:12Z</dc:date>
    <item>
      <title>long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944870#M412519</link>
      <description>Hi Friends,&lt;BR /&gt;I have two issues:&lt;BR /&gt;1)  how could I identify what is that long  running process on server? &lt;BR /&gt; We may have to kill it after the investigation...&lt;BR /&gt;&lt;BR /&gt;Memory: 190752K (154364K) real, 1082400K (832500K) virtual, 11272628K free  Page# 1/19&lt;BR /&gt;&lt;BR /&gt;CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt;&lt;BR /&gt; 4 pts/1 22288 jetscan  231 20  4388K    68K run   52233:24 100.08 99.90 sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. We are experiencing on out of memory condition on server.  I think there should be more memory available there than the 11 GB showing above…&lt;BR /&gt;&lt;BR /&gt;Please suggest what need to do?&lt;BR /&gt;Thanks&lt;BR /&gt;Vipin&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944870#M412519</guid>
      <dc:creator>Vipin Singhal</dc:creator>
      <dc:date>2005-12-06T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944871#M412520</link>
      <description>ps -ef |grep pts/1&lt;BR /&gt;&lt;BR /&gt;to see what is all coming from that user...&lt;BR /&gt;&lt;BR /&gt;For memory - download and compile (with cc - even native one will work) the attached c program called memdetail.&lt;BR /&gt;&lt;BR /&gt;Output like:&lt;BR /&gt;&lt;BR /&gt;# memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        14240.0 14184.9   55.1    100%&lt;BR /&gt;active virtual  15570.4 8765.4  6805.0     56%&lt;BR /&gt;active real     11761.4 6748.1  5013.3     57%&lt;BR /&gt;memory swap     11139.4 1700.9  9438.6     15%&lt;BR /&gt;device swap     26528.0 14516.8 12011.2    55%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 06 Dec 2005 12:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944871#M412520</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-06T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944872#M412521</link>
      <description>this is the output:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep pts/1&lt;BR /&gt; jetscan 22288     1 255  Oct 27  pts/1    52281:28 -sh&lt;BR /&gt;root 13675 13510  1 11:56:53 pts/8     0:00 grep pts/1&lt;BR /&gt;&lt;BR /&gt;# man memdetail&lt;BR /&gt;No manual entry for memdetail.&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        4096     129    3967    3%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       20480     219   20261    1%       0       -    1  /dev/vg00/swap2&lt;BR /&gt;reserve       -     386    -386&lt;BR /&gt;memory    16351    4841   11510   30%&lt;BR /&gt;total     40927    5575   35352   14%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Please suggest&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944872#M412521</guid>
      <dc:creator>Vipin Singhal</dc:creator>
      <dc:date>2005-12-06T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944873#M412522</link>
      <description>Hi Vipin:&lt;BR /&gt;&lt;BR /&gt;It looks like you have an old shell session from October 27 started by "jetscan" originally, but owned by 'init' (pid=1) probably because it was abnormally disconnected.  You can kill it and this should reduce your CPU consumption.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 06 Dec 2005 13:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944873#M412522</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-06T13:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944874#M412523</link>
      <description>Hi Vipin,&lt;BR /&gt;&lt;BR /&gt;Do you have glance installed?  That is good tool to view/diagnose things as well.&lt;BR /&gt;&lt;BR /&gt;Also you can do a ps -fp 22288 and that will show you that process' PPID.&lt;BR /&gt;&lt;BR /&gt;For your memory issues....you can check some of your system kernel params that could be taking up more memory than you expect:&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct = set this to something low like 5..the default is 50&lt;BR /&gt;also&lt;BR /&gt;dbc_min_pct = again set this to something low like 2&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944874#M412523</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-06T13:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944875#M412524</link>
      <description>I have glance and this is the output of glance:&lt;BR /&gt;&lt;BR /&gt; GlancePlus C.03.85.00          12:16:03   grouse     ia64                                                 Current  Avg  High&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   SSUU                                                                                            |  4%    4%    4%&lt;BR /&gt;Disk Util   F FV      V                                                                                     | 11%   53%  100%&lt;BR /&gt;Mem  Util   S                     SUUB   B                                                                  | 31%   31%   31%&lt;BR /&gt;Swap Util   U          UR                                                                                   | 14%   14%   14%&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;                                                        PROCESS LIST                                             Users=   11&lt;BR /&gt;                              User      CPU Util     Cum     Disk           Thd&lt;BR /&gt;Process Name   PID   PPID Pri Name   (  800% max)    CPU   IO Rate    RSS   Cnt&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;perl         14476  14449 149 jetscan   4.2/ 4.2     0.2  0.4/ 0.4   2.6mb    1&lt;BR /&gt;perl         14473  14449 149 jetscan   4.2/ 4.2     0.2  0.6/ 0.6   1.8mb    1&lt;BR /&gt;perl         14474  14449 149 jetscan   3.8/ 3.8     0.2  0.4/ 0.4   3.3mb    1&lt;BR /&gt;perl         14471  14449 180 jetscan   3.8/ 3.8     0.2  0.0/ 0.0   1.8mb    1&lt;BR /&gt;perl         14477  14449 149 jetscan   3.8/ 3.8     0.2  0.8/ 0.8   2.8mb    1&lt;BR /&gt;perl         14479  14449 154 jetscan   3.6/ 3.6     0.2  0.2/ 0.2   3.3mb    1&lt;BR /&gt;cmcd            39      0 152 root      3.6/ 0.0  4379.1  0.0/ 0.0   128kb    2&lt;BR /&gt;vxfsd           57      0 134 root      0.2/ 2.4  305701  5.3/ 1.6  24.9mb   45&lt;BR /&gt;scopeux       2129      1 127 root      0.2/ 0.0  3324.6  9.5/ 0.7   9.2mb    1&lt;BR /&gt;sshd         14452   1403 133 root      0.0/ 0.0     0.0  2.2/ 3.5   676kb    1&lt;BR /&gt;swapper          0      0 127 root      0.0/ 0.0   314.4  1.3/ 0.3    64kb    1&lt;BR /&gt;naviagent     4754      1 154 root      0.0/ 0.0   140.0  5.5/ 0.0   1.1mb    1&lt;BR /&gt;midaemon      2103      1 -16 root      0.0/ 0.2 28556.6  0.0/ 0.0  38.2mb    2&lt;BR /&gt;sshd         14454   1403 128 root      0.0/ 0.0     0.0  1.1/ 1.7   668kb    1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and these are the values of kcweb:&lt;BR /&gt;dbc_max_pct              30          30          yes&lt;BR /&gt;dbc_min_pct              5           5           yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944875#M412524</guid>
      <dc:creator>Vipin Singhal</dc:creator>
      <dc:date>2005-12-06T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944876#M412525</link>
      <description>Hi (again) Vipin:&lt;BR /&gt;&lt;BR /&gt;Glance is your best friend since it "understands" the HP kernel metrics the best.&lt;BR /&gt;&lt;BR /&gt;I don't understand your concern with memory here.  You seem to be utilizing only about 30% overall and have good swap space.  'glance' report memory page-outs which is your indiction of memory pressure.  I'll bet that you don't have any.&lt;BR /&gt;&lt;BR /&gt;Running a 30% buffer cache maxiumum is probably overly generous given your physical memory, but if it works for you, then it works.  Depending on what you are doing, this may benefit you.  I'd probably reduce that to no more than 15%.&lt;BR /&gt;&lt;BR /&gt;If you are seeing ENOMEM errors (errno=12; not enough core) you might look at the data stack needs of your processes.  The kernel's 'maxdsiz' and 'maxdsiz_64' parameters control this.  &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 06 Dec 2005 13:36:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944876#M412525</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-06T13:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944877#M412526</link>
      <description>these are the values of kcweb:&lt;BR /&gt;dbc_max_pct 30 30 yes&lt;BR /&gt;dbc_min_pct 5 5 yes</description>
      <pubDate>Tue, 06 Dec 2005 14:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944877#M412526</guid>
      <dc:creator>Vipin Singhal</dc:creator>
      <dc:date>2005-12-06T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944878#M412527</link>
      <description>Vipin,&lt;BR /&gt;&lt;BR /&gt;are you using SAN attached storage on your system?  If so, you should set your dbc_max_pct to something low like 5...that way buffer cache will only use 5% of system memory instead of 30%.  Also check the bufpages and nbuf..if they are both set to 0 then you are using dynamic buffer caching.  Most SAN attached storage has its own cache...there's no need to have your system do it for you.&lt;BR /&gt;&lt;BR /&gt;You can get more info on these kernel params in SAM...go to the help menu...it should explain it in there.  There are probably white papers out there for this too??</description>
      <pubDate>Tue, 06 Dec 2005 14:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944878#M412527</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-06T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944879#M412528</link>
      <description>let me clarify....there are "some" instances where you would want your dbc_max_pct to be larger....I believe it's gonna depend on the type/volume of I/O activity on the system.  I have yet to work on a system that does benefit from this though.  There may be other out there that have experienced an increased benefit from making this setting higher.</description>
      <pubDate>Tue, 06 Dec 2005 14:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944879#M412528</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-06T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: long  running process &amp; more memory available</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944880#M412529</link>
      <description>Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 14:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-running-process-amp-more-memory-available/m-p/4944880#M412529</guid>
      <dc:creator>Vipin Singhal</dc:creator>
      <dc:date>2005-12-06T14:53:08Z</dc:date>
    </item>
  </channel>
</rss>

