<?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: semaphore error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601638#M855822</link>
    <description>Error No: 22 is invalid argument and your error indicates getsemaphore failed. This could be due to the fact that a process is trying to access a semaphore that doesn't exist. Or it could be that it is not able to create a semaphore (if there is no semaphore existing for the key specified in semget(),it will create one).&lt;BR /&gt;&lt;BR /&gt;The first scenario is that there is a problem with your Baan software.&lt;BR /&gt;&lt;BR /&gt;The second case is when the kernel parameters semmni (max semaphores allowed at any given time) or semmns (number of semaphores available to processes systemwide). You can do a &lt;BR /&gt;&lt;BR /&gt;sar -m 2 20 to see the usage of semaphores. Depending on the value, you may want to increase these values.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Thu, 25 Oct 2001 20:52:35 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-10-25T20:52:35Z</dc:date>
    <item>
      <title>semaphore error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601635#M855819</link>
      <description>We use baan ERP version 5c. This is on HPUX K class box . This is a  development machine with 2 gig of phy memory. But very soon we will move to a high end N class server.  &lt;BR /&gt;&lt;BR /&gt;Existing Kernel Values as below :&lt;BR /&gt;&lt;BR /&gt;sema                 1&lt;BR /&gt;semaem               16384&lt;BR /&gt;semmap               (SEMMNI+2)&lt;BR /&gt;semmni               3200&lt;BR /&gt;semmns               3200&lt;BR /&gt;semmnu               3200&lt;BR /&gt;semmsl_override      2048&lt;BR /&gt;semume               10&lt;BR /&gt;semvmx               32767&lt;BR /&gt;&lt;BR /&gt;Error Message in Baan&lt;BR /&gt;&lt;BR /&gt;Log_mesg: GetSemaphore failed; errno = 22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions . Any value needs to be increased ? Are there any values which are memory dependent ?&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Oct 2001 19:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601635#M855819</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2001-10-25T19:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: semaphore error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601636#M855820</link>
      <description>Deeapak,&lt;BR /&gt;&lt;BR /&gt;  Is the  message a warning&lt;BR /&gt;message or is a error causing&lt;BR /&gt;a program to abort?  &lt;BR /&gt;&lt;BR /&gt;   Unix error number 22, means&lt;BR /&gt;invalid arguement.  But, i&lt;BR /&gt;am not sure whether the&lt;BR /&gt;message you posted is a&lt;BR /&gt;Bann errno or a Unix errno.&lt;BR /&gt;&lt;BR /&gt;  Regarding the Semaphore parameters, are the values&lt;BR /&gt;corresponding to what Baan&lt;BR /&gt;recommends? I have similar&lt;BR /&gt;values on my oracle db system&lt;BR /&gt;working fine except for&lt;BR /&gt;semmue which is 512 (whereas&lt;BR /&gt;yours is set to 10).&lt;BR /&gt;&lt;BR /&gt; Track the usage of semaphore&lt;BR /&gt;table (semmni) through glance.&lt;BR /&gt;That should give an idea whether you are running out&lt;BR /&gt;of semaphores.  Also, have&lt;BR /&gt;a look at ipcs -as output&lt;BR /&gt;for the semaphore allocation&lt;BR /&gt;details.&lt;BR /&gt;&lt;BR /&gt;  Another question, is the&lt;BR /&gt;system newly setup? or has&lt;BR /&gt;Baan been running fine on&lt;BR /&gt;the system .&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Thu, 25 Oct 2001 20:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601636#M855820</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-25T20:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: semaphore error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601637#M855821</link>
      <description>This is baan error in a file named $BSE/log/log*audit*. What does semume stand for .  infact all my server have this value set to 10 . But this is Baan 5c and all my other baan database server has baan 4c2/4c4 . This problem started a month back and doesn;t allow user to update the database and the only solution we have is to reboot the server.</description>
      <pubDate>Thu, 25 Oct 2001 20:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601637#M855821</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2001-10-25T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: semaphore error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601638#M855822</link>
      <description>Error No: 22 is invalid argument and your error indicates getsemaphore failed. This could be due to the fact that a process is trying to access a semaphore that doesn't exist. Or it could be that it is not able to create a semaphore (if there is no semaphore existing for the key specified in semget(),it will create one).&lt;BR /&gt;&lt;BR /&gt;The first scenario is that there is a problem with your Baan software.&lt;BR /&gt;&lt;BR /&gt;The second case is when the kernel parameters semmni (max semaphores allowed at any given time) or semmns (number of semaphores available to processes systemwide). You can do a &lt;BR /&gt;&lt;BR /&gt;sar -m 2 20 to see the usage of semaphores. Depending on the value, you may want to increase these values.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 25 Oct 2001 20:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore-error/m-p/2601638#M855822</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-25T20:52:35Z</dc:date>
    </item>
  </channel>
</rss>

