<?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: another shared memory question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720886#M252765</link>
    <description>works like that:&lt;BR /&gt;&lt;BR /&gt;in 32bit system each process is limited to 1.75gb of shared mem, you can get is higher to 2.75gb by setting magic number setting.&lt;BR /&gt;&lt;BR /&gt;This is per process.&lt;BR /&gt;&lt;BR /&gt;Shmmax is system wide parameter and refers to shared memory segment size.shmmax is usually limited by segment size,which is 1gb in 32bit systems and over 1gb for 64bit applications on 64bit systems.&lt;BR /&gt;&lt;BR /&gt;To sum up: shmmax limits shared memory segment size but obviously that it doesn't mean total ammount of shared memory :) &lt;BR /&gt;&lt;BR /&gt;See here for semantics :&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.ShMmax.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.ShMmax.html&lt;/A&gt;</description>
    <pubDate>Tue, 31 Jan 2006 06:22:34 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2006-01-31T06:22:34Z</dc:date>
    <item>
      <title>another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720883#M252762</link>
      <description>Hi! We are working on a applikation issues and there is something about shared memory i dont understand. &lt;BR /&gt;&lt;BR /&gt;We have allocated 1 gb. to shmmax&lt;BR /&gt;Parameter:      shmmax&lt;BR /&gt;Current:        1073741824&lt;BR /&gt;Planned:        1073741824&lt;BR /&gt;Default:        0X4000000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        Yes&lt;BR /&gt;&lt;BR /&gt;Parameter:      shmmni&lt;BR /&gt;Current:        1024&lt;BR /&gt;Planned:        1024&lt;BR /&gt;Default:        200&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;&lt;BR /&gt;Parameter:      shmseg&lt;BR /&gt;Current:        1024&lt;BR /&gt;Planned:        1024&lt;BR /&gt;Default:        120&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Standard input&lt;BR /&gt;&lt;BR /&gt;When i do a ipcs -mb and count up the shared memory in use i see that it exseeds the 1 gb. &lt;BR /&gt;How do that work. Are there something about shared emory i dont understand, i thought that when you set 1 gb in shmmax i could not allocate more, that is, OS it self, applikation oracle etc.. &lt;BR /&gt;&lt;BR /&gt;here is the output for ipcs -mb&lt;BR /&gt;root@pello:./root $ ipcs -mb&lt;BR /&gt;IPC status from /dev/kmem as of Tue Jan 31 10:18:53 2006&lt;BR /&gt;T         ID     KEY        MODE        OWNER     GROUP      SEGSZ&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       3072 0x411c0262 --rw-rw-rw-      root       sys        348&lt;BR /&gt;m          1 0x00000000 D-rw-rw-rw-      root      root      61760&lt;BR /&gt;m       5122 0x4e0c0002 --rw-rw-rw-      root       sys      61760&lt;BR /&gt;m          3 0xdeadbeef --rw-rw-rw-      root      root     237420&lt;BR /&gt;m      13316 0x0c6629c9 --rw-r-----      root      root   22686824&lt;BR /&gt;m          5 0x06347849 --rw-rw-rw-      root      root      77384&lt;BR /&gt;m       2054 0x4918110c --rw-r--r--      root      root      22908&lt;BR /&gt;m      43015 0x5e100005 --rw-------      root      root        512&lt;BR /&gt;m       1032 0x00000000 --rw-r-----    oracle       dba 1073741824&lt;BR /&gt;m          9 0x07a91574 --rw-r-----    oracle       dba    1019904&lt;BR /&gt;m       3082 0x41545200 --rw-rw-rw-   maestro    unison    1048576&lt;BR /&gt;m       1035 0x4154520b --rw-rw-rw-   maestro    unison     524288&lt;BR /&gt;m         12 0x4154520f --rw-rw-rw-   maestro    unison    1048576&lt;BR /&gt;m       3085 0x4154520a --rw-rw-rw-   maestro    unison    1048576&lt;BR /&gt;m         14 0x4154520c --rw-rw-rw-   maestro    unison    1048576&lt;BR /&gt;m         15 0x4154520d --rw-rw-rw-   maestro    unison    1048576&lt;BR /&gt;m         16 0x4154520e --rw-rw-rw-      root    unison    1048576&lt;BR /&gt;m         17 0x00000000 D-rw-------    tdcmme       mme      57368&lt;BR /&gt;m      77842 0x00000000 --rw-r--r--    tdcmme       mme      34773&lt;BR /&gt;m      76819 0x00000000 --rw-r--r--    tdcmme       mme      68956&lt;BR /&gt;m      10260 0x00000000 --rw-r--r--    tdcmme       mme      48682&lt;BR /&gt;m       4117 0x41205490 --rw-rw-rw-      root       sys       8192&lt;BR /&gt;m       6166 0x41205470 --rw-rw-rw-      root       sys       1024&lt;BR /&gt;m       6167 0x4e1c3946 --rw-rw-rw-      root       sys        108&lt;BR /&gt;m      12312 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       2073 0x00000000 --rw-r--r--    tdcmme       mme       4644&lt;BR /&gt;m      33818 0x00000000 --rw-r--r--    tdcmme       mme       1889&lt;BR /&gt;m      33819 0x00000000 --rw-r--r--    tdcmme       mme       2604&lt;BR /&gt;m      43036 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       8221 0x00000000 --rw-r--r--    tdcmme       mme      63842&lt;BR /&gt;m      17438 0x00000000 --rw-r--r--    tdcmme       mme      40641&lt;BR /&gt;m      17439 0x00000000 --rw-r--r--    tdcmme       mme      43324&lt;BR /&gt;m      17440 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6177 0x00000000 --rw-r--r--    tdcmme       mme       8784&lt;BR /&gt;m       2082 0x00000000 --rw-r--r--    tdcmme       mme        365&lt;BR /&gt;m       6179 0x00000000 --rw-r--r--    tdcmme       mme      10924&lt;BR /&gt;m       6180 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       2085 0x00000000 --rw-r--r--    tdcmme       mme        980&lt;BR /&gt;m      74790 0x00000000 --rw-r--r--    tdcmme       mme  214831360&lt;BR /&gt;m      74791 0x00000000 --rw-r--r--    tdcmme       mme  288744600&lt;BR /&gt;m       2088 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      74793 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6186 0x00000000 --rw-r--r--    tdcmme       mme       2141&lt;BR /&gt;m       6187 0x00000000 --rw-r--r--    tdcmme       mme       2020&lt;BR /&gt;m       6188 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6189 0x00000000 --rw-r--r--    tdcmme       mme      32967&lt;BR /&gt;m      15406 0x00000000 --rw-r--r--    tdcmme       mme       3304&lt;BR /&gt;m       6191 0x00000000 --rw-r--r--    tdcmme       mme      47933&lt;BR /&gt;m       6192 0x00000000 --rw-r--r--    tdcmme       mme      51780&lt;BR /&gt;m       6193 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      15410 0x00000000 --rw-r--r--    tdcmme       mme       4800&lt;BR /&gt;m      15411 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6196 0x00000000 --rw-r--r--    tdcmme       mme      39368&lt;BR /&gt;m       6197 0x00000000 --rw-r--r--    tdcmme       mme       5973&lt;BR /&gt;m       6198 0x00000000 --rw-r--r--    tdcmme       mme      11128&lt;BR /&gt;m       6201 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6202 0x00000000 --rw-r--r--    tdcmme       mme      16731&lt;BR /&gt;m       6203 0x00000000 --rw-r--r--    tdcmme       mme      28924&lt;BR /&gt;m       6204 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       2109 0x00000000 --rw-r--r--    tdcmme       mme        821&lt;BR /&gt;m       2110 0x00000000 --rw-r--r--    tdcmme       mme       2064&lt;BR /&gt;m       2111 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6208 0x00000000 --rw-r--r--    tdcmme       mme       3482&lt;BR /&gt;m       6209 0x00000000 --rw-r--r--    tdcmme       mme       1364&lt;BR /&gt;m       6210 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      31811 0x00000000 --rw-r--r--    tdcmme       mme        357&lt;BR /&gt;m      31812 0x00000000 --rw-r--r--    tdcmme       mme        672&lt;BR /&gt;m      30789 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6214 0x00000000 --rw-r--r--    tdcmme       mme       3843&lt;BR /&gt;m       6215 0x00000000 --rw-r--r--    tdcmme       mme       8224&lt;BR /&gt;m       6216 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6217 0x00000000 --rw-r--r--    tdcmme       mme        774&lt;BR /&gt;m       6218 0x00000000 --rw-r--r--    tdcmme       mme       1764&lt;BR /&gt;m       6219 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6220 0x00000000 --rw-r--r--    tdcmme       mme       9958&lt;BR /&gt;m       6221 0x00000000 --rw-r--r--    tdcmme       mme       3032&lt;BR /&gt;m       6222 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m     959568 0x001c0261 --rw-rw-rw-      root       sys     131072&lt;BR /&gt;m       6225 0x00000000 --rw-r--r--    tdcmme       mme       2423&lt;BR /&gt;m      35922 0x011c0261 --rw-rw-rw-      root       sys     131072&lt;BR /&gt;m      40019 0x00000000 --rw-r--r--    tdcmme       mme      66768&lt;BR /&gt;m      15444 0x00000000 --rw-r--r--    tdcmme       mme       6393&lt;BR /&gt;m      15445 0x00000000 --rw-r--r--    tdcmme       mme       9636&lt;BR /&gt;m      15446 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       7255 0x00000000 --rw-r--r--    tdcmme       mme       3197&lt;BR /&gt;m      34904 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      48217 0x00000000 --rw-r--r--    tdcmme       mme         37&lt;BR /&gt;m      11354 0x00000000 --rw-r--r--    tdcmme       mme        100&lt;BR /&gt;m      16475 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      10332 0x00000000 --rw-r--r--    tdcmme       mme         38&lt;BR /&gt;m      10333 0x00000000 --rw-r--r--    tdcmme       mme         80&lt;BR /&gt;m      74846 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6239 0x00000000 --rw-r--r--    tdcmme       mme    6224930&lt;BR /&gt;m       6240 0x00000000 --rw-r--r--    tdcmme       mme    6225432&lt;BR /&gt;m       6241 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       9314 0x00000000 --rw-r--r--    tdcmme       mme         42&lt;BR /&gt;m      36963 0x00000000 --rw-r--r--    tdcmme       mme         40&lt;BR /&gt;m       7268 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       9317 0x00000000 --rw-r--r--    tdcmme       mme       2217&lt;BR /&gt;m       7270 0x00000000 --rw-r--r--    tdcmme       mme        738&lt;BR /&gt;m      36967 0x00000000 --rw-r--r--    tdcmme       mme       2660&lt;BR /&gt;m      26728 0x00000000 --rw-r--r--    tdcmme       mme      97628&lt;BR /&gt;m      27753 0x00000000 --rw-r--r--    tdcmme       mme     151712&lt;BR /&gt;m      15466 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      15467 0x00000000 --rw-r--r--    tdcmme       mme       3564&lt;BR /&gt;m      26732 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      15469 0x00000000 --rw-r--r--    tdcmme       mme       7628&lt;BR /&gt;m      15470 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      25711 0x00000000 --rw-r--r--    tdcmme       mme      92541&lt;BR /&gt;m      25712 0x00000000 --rw-r--r--    tdcmme       mme      61540&lt;BR /&gt;m      27761 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      22642 0x00000000 --rw-r--r--    tdcmme       mme     146883&lt;BR /&gt;m      13427 0x00000000 --rw-r--r--    tdcmme       mme      67294&lt;BR /&gt;m      21620 0x00000000 --rw-r--r--    tdcmme       mme     236472&lt;BR /&gt;m       2165 0x00000000 --rw-r--r--    tdcmme       mme         34&lt;BR /&gt;m       2166 0x00000000 --rw-r--r--    tdcmme       mme         40&lt;BR /&gt;m       2167 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       2168 0x00000000 --rw-r--r--    tdcmme       mme         34&lt;BR /&gt;m       2169 0x00000000 --rw-r--r--    tdcmme       mme         40&lt;BR /&gt;m       2170 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       5243 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       5244 0x00000000 --rw-r--r--    tdcmme       mme     131104&lt;BR /&gt;m       5245 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       5246 0x00000000 --rw-r--r--    tdcmme       mme      44416&lt;BR /&gt;m       5247 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       5248 0x00000000 --rw-r--r--    tdcmme       mme      44416&lt;BR /&gt;m      65665 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      66690 0x00000000 --rw-r--r--    tdcmme       mme      68596&lt;BR /&gt;m      35971 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6276 0x00000000 --rw-r--r--    tdcmme       mme       1072&lt;BR /&gt;m       5253 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m       6278 0x00000000 --rw-r--r--    tdcmme       mme       6652&lt;BR /&gt;m      45191 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;m      41096 0x00000000 --rw-r--r--    tdcmme       mme       1692&lt;BR /&gt;m      39049 0x00000000 --rw-r--r--    tdcmme       mme         12&lt;BR /&gt;root@pello:./root $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Im running hpux 11.11 on rp4440 PA-RISC</description>
      <pubDate>Tue, 31 Jan 2006 04:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720883#M252762</guid>
      <dc:creator>Simon Jespersen</dc:creator>
      <dc:date>2006-01-31T04:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720884#M252763</link>
      <description>Hi Simon,&lt;BR /&gt;&lt;BR /&gt;from ipcs(1)&lt;BR /&gt;&lt;BR /&gt;&amp;lt;...&amp;gt;&lt;BR /&gt;WARNINGS&lt;BR /&gt;ipcs produces only an approximate indication of actual system status because system processes are continually changing while ipcs is acquiring the requested information.&lt;BR /&gt;&lt;BR /&gt;Do not rely on the exact field widths and spacing of the output, as these will vary depending on the system, the release of HP-UX, and the data to be displayed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds &lt;BR /&gt;HGH</description>
      <pubDate>Tue, 31 Jan 2006 06:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720884#M252763</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2006-01-31T06:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720885#M252764</link>
      <description>Hi Simon,&lt;BR /&gt;&lt;BR /&gt;As I understand it, and apologies if this is wrong as I'm fairly new to HP-UX, but shmmax is the maximum amount a single process can ask for, not an overall system limit.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 31 Jan 2006 06:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720885#M252764</guid>
      <dc:creator>Brian Sealey</dc:creator>
      <dc:date>2006-01-31T06:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720886#M252765</link>
      <description>works like that:&lt;BR /&gt;&lt;BR /&gt;in 32bit system each process is limited to 1.75gb of shared mem, you can get is higher to 2.75gb by setting magic number setting.&lt;BR /&gt;&lt;BR /&gt;This is per process.&lt;BR /&gt;&lt;BR /&gt;Shmmax is system wide parameter and refers to shared memory segment size.shmmax is usually limited by segment size,which is 1gb in 32bit systems and over 1gb for 64bit applications on 64bit systems.&lt;BR /&gt;&lt;BR /&gt;To sum up: shmmax limits shared memory segment size but obviously that it doesn't mean total ammount of shared memory :) &lt;BR /&gt;&lt;BR /&gt;See here for semantics :&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.ShMmax.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.ShMmax.html&lt;/A&gt;</description>
      <pubDate>Tue, 31 Jan 2006 06:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720886#M252765</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2006-01-31T06:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720887#M252766</link>
      <description>Hi Simon,&lt;BR /&gt;&lt;BR /&gt;shminfo will show you the addresses of all the shared memory segments. &lt;BR /&gt;&lt;BR /&gt;To see usage:&lt;BR /&gt;# ipcs -bmop&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Tue, 31 Jan 2006 06:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720887#M252766</guid>
      <dc:creator>Simon Wickham_6</dc:creator>
      <dc:date>2006-01-31T06:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720888#M252767</link>
      <description>Hi group, &lt;BR /&gt;&lt;BR /&gt;I see there are segments  they have been removed; will it be the diference of size ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;m 17 0x00000000 D-rw------- tdcmme mme 57368&lt;BR /&gt;m 1 0x00000000 D-rw-rw-rw- root root 61760&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 01 Feb 2006 04:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720888#M252767</guid>
      <dc:creator>Javier Noriega</dc:creator>
      <dc:date>2006-02-01T04:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: another shared memory question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720889#M252768</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Memory Usage (What is using all of the memory?)&lt;BR /&gt;&lt;BR /&gt;Full document is at external ftp site: ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;This is the best source of info I know&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Wed, 01 Feb 2006 04:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-shared-memory-question/m-p/3720889#M252768</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2006-02-01T04:51:16Z</dc:date>
    </item>
  </channel>
</rss>

