<?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 semaphores alarm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563299#M919166</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have BMC Patrol installed on one of my HP-UX boxes and it raise an alarm that number of SemaphoreOperations are getting to low. I run ?sar ?m? and this is a part of the output:&lt;BR /&gt;silver:/ # sar -m 1 2000&lt;BR /&gt;HP-UX silver B.11.00 C 9000/889    08/08/01&lt;BR /&gt;11:06:00   msg/s  sema/s&lt;BR /&gt;11:06:01    0.00  532.67&lt;BR /&gt;11:06:02    0.00  529.29&lt;BR /&gt;11:06:03    0.00  516.00&lt;BR /&gt;11:06:04    0.00   44.00&lt;BR /&gt;11:06:05    0.00    0.00&lt;BR /&gt;11:06:06    0.00   72.73&lt;BR /&gt;11:06:07    0.00  198.02&lt;BR /&gt;11:06:08    0.00    0.00&lt;BR /&gt;11:06:09    0.00  125.25&lt;BR /&gt;11:06:10    0.00  524.00&lt;BR /&gt;11:06:11    0.00  510.89&lt;BR /&gt;&lt;BR /&gt;Is it really a problem? And if it is, where can I find some more information on it?&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Troy.&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Aug 2001 14:20:01 GMT</pubDate>
    <dc:creator>Troyan Krastev</dc:creator>
    <dc:date>2001-08-08T14:20:01Z</dc:date>
    <item>
      <title>semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563299#M919166</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have BMC Patrol installed on one of my HP-UX boxes and it raise an alarm that number of SemaphoreOperations are getting to low. I run ?sar ?m? and this is a part of the output:&lt;BR /&gt;silver:/ # sar -m 1 2000&lt;BR /&gt;HP-UX silver B.11.00 C 9000/889    08/08/01&lt;BR /&gt;11:06:00   msg/s  sema/s&lt;BR /&gt;11:06:01    0.00  532.67&lt;BR /&gt;11:06:02    0.00  529.29&lt;BR /&gt;11:06:03    0.00  516.00&lt;BR /&gt;11:06:04    0.00   44.00&lt;BR /&gt;11:06:05    0.00    0.00&lt;BR /&gt;11:06:06    0.00   72.73&lt;BR /&gt;11:06:07    0.00  198.02&lt;BR /&gt;11:06:08    0.00    0.00&lt;BR /&gt;11:06:09    0.00  125.25&lt;BR /&gt;11:06:10    0.00  524.00&lt;BR /&gt;11:06:11    0.00  510.89&lt;BR /&gt;&lt;BR /&gt;Is it really a problem? And if it is, where can I find some more information on it?&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Troy.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2001 14:20:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563299#M919166</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2001-08-08T14:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563300#M919167</link>
      <description>This is a part of some kernel parameter on HP-UX.&lt;BR /&gt;When you setup Patrol, do they give some tips about system resources ? As Share Memory, Semaphores, ...&lt;BR /&gt;First, check the following kernel parameters :&lt;BR /&gt;- semmap&lt;BR /&gt;- semmni&lt;BR /&gt;- semmns&lt;BR /&gt;- semvmx&lt;BR /&gt;Compare semmns with sar -m and see if semmns is too short. Then increase this parameter. You'll maybe have to increase also semmap, semmni.&lt;BR /&gt;Refer to the kernel parameter documentation for that.&lt;BR /&gt;In any case, that won't be a problem for your HP9000, simply kernel tables will be full, and software programms may coredump.&lt;BR /&gt;&lt;BR /&gt;PJA.</description>
      <pubDate>Wed, 08 Aug 2001 14:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563300#M919167</guid>
      <dc:creator>JACQUET</dc:creator>
      <dc:date>2001-08-08T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563301#M919168</link>
      <description>Hi&lt;BR /&gt;  You can try in Glance...&lt;BR /&gt;the system table report gives information about the number of semaphores being used and the total available,&lt;BR /&gt;  If the total available is less you can increase the kernel value of  &lt;BR /&gt;semmns  ( total no of semaphores )&lt;BR /&gt;semmni ( total semaphore indentifiers, that is maximum sempahores that can be used at any point &lt;BR /&gt;of time)&lt;BR /&gt;&lt;BR /&gt;...BPK...</description>
      <pubDate>Wed, 08 Aug 2001 14:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563301#M919168</guid>
      <dc:creator>Praveen Bezawada</dc:creator>
      <dc:date>2001-08-08T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563302#M919169</link>
      <description>Hi Jaquet,&lt;BR /&gt;&lt;BR /&gt;These are my parameters:&lt;BR /&gt;semmap  66&lt;BR /&gt;semmni  64&lt;BR /&gt;semmns 200&lt;BR /&gt;semvmx 32767&lt;BR /&gt;Is sema/s = 0 mean that all semaphores are in use???&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2001 15:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563302#M919169</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2001-08-08T15:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563303#M919170</link>
      <description>Hi Praveen,&lt;BR /&gt;&lt;BR /&gt;I will install Glance to see what I can find!&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2001 15:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563303#M919170</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2001-08-08T15:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563304#M919171</link>
      <description>To know what your semaphores need to be set at is based on what your process/apps is asking for.  In the case of Oracle you would check the ~init.ora file and see what amount of processes it is set at .. then with this information you can 'begin' to calculate and setup your parm values for the semm* parms.  &lt;BR /&gt;Here are two threads....the first is docs on parms -check out min/max of semms; and the second will give you how to calculate the semm* values.&lt;BR /&gt;1.)&lt;A href="http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;2.)&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x10ca6af52b04d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x10ca6af52b04d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now here's one last tip.  It may not be applicable in your apps, you'll have to determine.  Some folks forget that some apps also use alot of message queues msg* so if your apps use this then you need to address how you set these parms as well.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 08 Aug 2001 16:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563304#M919171</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-08-08T16:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563305#M919172</link>
      <description>Thanks all for the information. I will investigate the problem.&lt;BR /&gt;&lt;BR /&gt;Troyan.</description>
      <pubDate>Wed, 08 Aug 2001 16:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563305#M919172</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2001-08-08T16:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: semaphores alarm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563306#M919173</link>
      <description>sema/s tells how many semop() system call (semaphore operation) happen in one second.&lt;BR /&gt;So, if sema/s=0, that means that no semop() system call happen, not that semaphore table (semmns) is full.&lt;BR /&gt;I could suggest to put semmns=600&lt;BR /&gt;and semmni=300, and try with those values.&lt;BR /&gt;(semmap is semmni + 2 and would be automatically changed if you kept the default value for calculation)&lt;BR /&gt;&lt;BR /&gt;PJA.</description>
      <pubDate>Thu, 09 Aug 2001 12:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphores-alarm/m-p/2563306#M919173</guid>
      <dc:creator>JACQUET</dc:creator>
      <dc:date>2001-08-09T12:37:18Z</dc:date>
    </item>
  </channel>
</rss>

