<?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 Shared memory problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814604#M85192</link>
    <description>HI all,&lt;BR /&gt;&lt;BR /&gt;I have encounter some issues about the shared memory usage, as u seen, below mainly have 3 apps running which require shared memory, Oracle, Sybase, and one called Datastage ( dsadm id ). I hit the problem of , if Sybase startup before Datastage, then Datastage will fail to startup, but if I reverse the sequence , both can start. Knowing that it's due to contigueous shared memory requirement, right? I just wanna will increase the shmax can ease this situation? Our config is quite large I think, total physical is 8G with now shmax is 3G....&lt;BR /&gt;&lt;BR /&gt;Gordon&lt;BR /&gt;&lt;BR /&gt;hkgdev2:/#ipcs -m&lt;BR /&gt;IPC status from /dev/kmem as of Fri Sep 27 09:59:00 2002&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       0 0x411c17c1 --rw-rw-rw-      root      root&lt;BR /&gt;m       1 0x4e0c0002 --rw-rw-rw-      root      root&lt;BR /&gt;m       2 0x41201f8d --rw-rw-rw-      root      root&lt;BR /&gt;m   18435 0x0c6629c9 --rw-r-----      root       sys&lt;BR /&gt;m       4 0x06347849 --rw-rw-rw-      root      root&lt;BR /&gt;m    1029 0xffffffff --rw-r--rw-      root      root&lt;BR /&gt;m   18438 0xdaec9611 --rw-rw-rw-      root    dstage&lt;BR /&gt;m   99335 0x6e3807e6 --rw-------    sybase    sybase&lt;BR /&gt;m    1032 0x6e380007 --rw-------    sybase    sybase&lt;BR /&gt;m    3081 0x6e38036f --rw-------    sybase    sybase&lt;BR /&gt;m      10 0xd502b578 --rw-r-----    oracle  oinstall&lt;BR /&gt;m      11 0xb0ed6e7c --rw-r-----      root       sys&lt;BR /&gt;m   15372 0x6e38037c --rw-------    sybase    sybase&lt;BR /&gt;m  248845 0xdaebd3bb --rw-------     dsadm    dstage&lt;BR /&gt;m  242702 0x6e380386 --rw-------    sybase    sybase&lt;BR /&gt;m   70672 0x00000000 --rw-------    sybase    sybase</description>
    <pubDate>Fri, 27 Sep 2002 01:07:25 GMT</pubDate>
    <dc:creator>Gordon_3</dc:creator>
    <dc:date>2002-09-27T01:07:25Z</dc:date>
    <item>
      <title>Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814604#M85192</link>
      <description>HI all,&lt;BR /&gt;&lt;BR /&gt;I have encounter some issues about the shared memory usage, as u seen, below mainly have 3 apps running which require shared memory, Oracle, Sybase, and one called Datastage ( dsadm id ). I hit the problem of , if Sybase startup before Datastage, then Datastage will fail to startup, but if I reverse the sequence , both can start. Knowing that it's due to contigueous shared memory requirement, right? I just wanna will increase the shmax can ease this situation? Our config is quite large I think, total physical is 8G with now shmax is 3G....&lt;BR /&gt;&lt;BR /&gt;Gordon&lt;BR /&gt;&lt;BR /&gt;hkgdev2:/#ipcs -m&lt;BR /&gt;IPC status from /dev/kmem as of Fri Sep 27 09:59:00 2002&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       0 0x411c17c1 --rw-rw-rw-      root      root&lt;BR /&gt;m       1 0x4e0c0002 --rw-rw-rw-      root      root&lt;BR /&gt;m       2 0x41201f8d --rw-rw-rw-      root      root&lt;BR /&gt;m   18435 0x0c6629c9 --rw-r-----      root       sys&lt;BR /&gt;m       4 0x06347849 --rw-rw-rw-      root      root&lt;BR /&gt;m    1029 0xffffffff --rw-r--rw-      root      root&lt;BR /&gt;m   18438 0xdaec9611 --rw-rw-rw-      root    dstage&lt;BR /&gt;m   99335 0x6e3807e6 --rw-------    sybase    sybase&lt;BR /&gt;m    1032 0x6e380007 --rw-------    sybase    sybase&lt;BR /&gt;m    3081 0x6e38036f --rw-------    sybase    sybase&lt;BR /&gt;m      10 0xd502b578 --rw-r-----    oracle  oinstall&lt;BR /&gt;m      11 0xb0ed6e7c --rw-r-----      root       sys&lt;BR /&gt;m   15372 0x6e38037c --rw-------    sybase    sybase&lt;BR /&gt;m  248845 0xdaebd3bb --rw-------     dsadm    dstage&lt;BR /&gt;m  242702 0x6e380386 --rw-------    sybase    sybase&lt;BR /&gt;m   70672 0x00000000 --rw-------    sybase    sybase</description>
      <pubDate>Fri, 27 Sep 2002 01:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814604#M85192</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2002-09-27T01:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814605#M85193</link>
      <description>Hi Gordon,&lt;BR /&gt;&lt;BR /&gt;Are you running 32-bit apps?  What version of HP-UX are you running?&lt;BR /&gt;&lt;BR /&gt;There are some things you can do.  Here are a couple of threads discussing shared memory.  The first one deals with the contiguous problem, which sounds like what you are running into.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5825543254bfd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5825543254bfd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1382107d277ad611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1382107d277ad611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Sep 2002 01:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814605#M85193</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-09-27T01:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814606#M85194</link>
      <description>HI John,&lt;BR /&gt;&lt;BR /&gt;Thx for yr info, however, all the OS, Sybase, Datastage is runnning 64bit, so will it be other case else? Also can increase shmax ease this situation?&lt;BR /&gt;&lt;BR /&gt;Gordon</description>
      <pubDate>Fri, 27 Sep 2002 01:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814606#M85194</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2002-09-27T01:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814607#M85195</link>
      <description>Hi Gordon&lt;BR /&gt;&lt;BR /&gt;Apart from increasing shmmax consider increasing shmseg also, which increases the segment size of shared memory</description>
      <pubDate>Fri, 27 Sep 2002 06:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814607#M85195</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-09-27T06:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814608#M85196</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;My current shmseg setting is 512, is it too small?&lt;BR /&gt;&lt;BR /&gt;Gordon</description>
      <pubDate>Fri, 27 Sep 2002 06:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814608#M85196</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2002-09-27T06:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814609#M85197</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In one of my server running 2 oracle instances and a sybase instance shared memory values are as set below, running very well.&lt;BR /&gt;&lt;BR /&gt;# kmtune|grep shm&lt;BR /&gt;shmem                1&lt;BR /&gt;shmmax               4294967295&lt;BR /&gt;shmmni               1024&lt;BR /&gt;shmseg               1024</description>
      <pubDate>Fri, 27 Sep 2002 06:21:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814609#M85197</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-09-27T06:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814610#M85198</link>
      <description>Hi (again)&lt;BR /&gt;&lt;BR /&gt;ofcourse the memory is only 1GB</description>
      <pubDate>Fri, 27 Sep 2002 06:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814610#M85198</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-09-27T06:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814611#M85199</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;Not quite understand, u mean u have just 1G physical but can set to 4G shared mem?? &lt;BR /&gt;&lt;BR /&gt;Gordon</description>
      <pubDate>Fri, 27 Sep 2002 06:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814611#M85199</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2002-09-27T06:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814612#M85200</link>
      <description>Hi, Gordan&lt;BR /&gt;&lt;BR /&gt;here is the info about the system which is running oracle9i and sybase.&lt;BR /&gt;&lt;BR /&gt;# dmesg|grep -i phy&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 1048576 Kbytes, lockable: 705268 Kbytes, available: 820344 Kbytes&lt;BR /&gt;# kmtune|grep shm&lt;BR /&gt;shmem                1&lt;BR /&gt;shmmax               4294967295&lt;BR /&gt;shmmni               1024&lt;BR /&gt;shmseg               1024</description>
      <pubDate>Fri, 27 Sep 2002 06:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814612#M85200</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-09-27T06:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814613#M85201</link>
      <description>Cool Ravi, this is the first time I know that shmax can set much higher than real physical, thx for info.</description>
      <pubDate>Fri, 27 Sep 2002 06:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-memory-problem/m-p/2814613#M85201</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2002-09-27T06:44:27Z</dc:date>
    </item>
  </channel>
</rss>

