<?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: HP-UX B.11.11: unable to decrement semaphore (errno = 28) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230387#M328545</link>
    <description>Can you try to run the same command under tusc and watch system calls?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
    <pubDate>Wed, 09 Jul 2008 12:38:09 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2008-07-09T12:38:09Z</dc:date>
    <item>
      <title>HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230381#M328539</link>
      <description>We´ve got a suspicious problem since we did a maintenance reboot of our rp5400 server running HP-UX B.11.11:&lt;BR /&gt;&lt;BR /&gt;As soon as we start some specific non-HP tools (DB/C 8 dbcsql and other) they´re quitting an this error message appears:&lt;BR /&gt;&lt;BR /&gt;"Keyboard initialization error: unable to decrement semaphore (errno = 28)"&lt;BR /&gt;&lt;BR /&gt;We´ve looked onto the free semaphores and the connection of directly-attached console &amp;amp; keyboard, all ok. We had the keyboard issue twice in the last year: it was removed by someone and the reconnection had helped in the the past, but now it doesn´t anymore.&lt;BR /&gt;&lt;BR /&gt;Until now nothing was found in documentations of HP-UX or anywhere in the internet, it seems a little bit unique, this nasty issue.&lt;BR /&gt;&lt;BR /&gt;Suggestions are welcome, thank you in advance.</description>
      <pubDate>Wed, 09 Jul 2008 10:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230381#M328539</guid>
      <dc:creator>Peter Renner (rie)</dc:creator>
      <dc:date>2008-07-09T10:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230382#M328540</link>
      <description>What is your value of semmns ?&lt;BR /&gt;&lt;BR /&gt;Check for patch PHKL_28703 as well.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 09 Jul 2008 10:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230382#M328540</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-07-09T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230383#M328541</link>
      <description>The semmns parameter is set to "Current Value" = 256 and "Pending Value" = 256, it is static.&lt;BR /&gt;&lt;BR /&gt;PHKL_28703 is not installed.&lt;BR /&gt;&lt;BR /&gt;The server is not under the highest duty, max. 20% of this semaphore limit is reached.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 11:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230383#M328541</guid>
      <dc:creator>Peter Renner (rie)</dc:creator>
      <dc:date>2008-07-09T11:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230384#M328542</link>
      <description>Never saw anything like this...&lt;BR /&gt;&lt;BR /&gt;errno=28 on hpux is that some device is 100% full.  It is saying it is unable to decrement (i.e. release) semaphore, not that it is short and can not gain a lock on another semaphore.  It is possible that since it can not release the lock on the semaphore, possibly due to some application error, it then can no proceed to get the required input from the keyboard.  Or because it could not get the input from the keyboard, because a "?? device ??" hit 100%, that it then could not release the semaphore lock.  .....  dizzying....&lt;BR /&gt;&lt;BR /&gt;Can you check your logs and see what is running when this hits?  Can you see where or what it is trying to do when this happens ?  Maybe you can at least narrow down what is potentially causing this,...cause it looks to be in some code somewhere.&lt;BR /&gt;&lt;BR /&gt;Just my ramblings,&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 09 Jul 2008 11:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230384#M328542</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-09T11:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230385#M328543</link>
      <description>Here is one thought.  You mention your that you have 256 set for a parm value. Which is quite small.&lt;BR /&gt;&lt;BR /&gt;By chance...could it be possible that your semaphore un-do parm (semmnu)is set too low???  &lt;BR /&gt;&lt;BR /&gt;It's a wild shot in the dark?  &lt;BR /&gt;&lt;BR /&gt;/rcw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 12:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230385#M328543</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-09T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230386#M328544</link>
      <description>Thanks, every shot in the dark is welcome, because only a few hours are left until highly important cron jobs are going to run (they will surely fail as it actually seems).&lt;BR /&gt;&lt;BR /&gt;WeÂ´ve got nothing (for our knowldedge) to analyze regarding the faulting utilities. For example, youÂ´re in the shell, invoking the DB/C tool:&lt;BR /&gt;&lt;BR /&gt;$ dbcsql&lt;BR /&gt;Keyboard initialization error: unable to decrement semaphore (errno = 28)&lt;BR /&gt;&lt;BR /&gt;It is crashing immediately, youÂ´ll find no further information whatÂ´s going in syslog or in viewing "top" in example, it seems nothing is logged regarding this failure.&lt;BR /&gt;&lt;BR /&gt;As you wrote, the process is stalling, the semaphore could not be decreased and the err msg is displayed. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;semmnu is set to 30. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 12:22:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230386#M328544</guid>
      <dc:creator>Peter Renner (rie)</dc:creator>
      <dc:date>2008-07-09T12:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230387#M328545</link>
      <description>Can you try to run the same command under tusc and watch system calls?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 09 Jul 2008 12:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230387#M328545</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-07-09T12:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230388#M328546</link>
      <description>tusc output might be helpful as Ivan mentioned.&lt;BR /&gt;&lt;BR /&gt;Default for semmnu is 30...default for semmni is 64.  You said you increased the one; did you increase the other?&lt;BR /&gt;&lt;BR /&gt;Make sure your semmnu is about maybe half the size of your semmni value.  &lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 09 Jul 2008 13:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230388#M328546</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-09T13:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230389#M328547</link>
      <description>Thank you.&lt;BR /&gt;&lt;BR /&gt;Attached is the output from tusc, worked for the first time with it. Interesting.&lt;BR /&gt;&lt;BR /&gt;IÂ´ve never changed semmnu and semmni from default to the current values, must have been someone a decade ago - well, IÂ´ll do as suggested, semmnu half the size of semni (&amp;lt;-which IÂ´ll change to a much higher value, why not.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230389#M328547</guid>
      <dc:creator>Peter Renner (rie)</dc:creator>
      <dc:date>2008-07-09T13:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230390#M328548</link>
      <description>Well I'm no export at reading tusc output, so hopefully Ivan can see more.&lt;BR /&gt;&lt;BR /&gt;But I did notice that the error you report is actually not the first error.  I noticed:&lt;BR /&gt; open("/usr/informix/lib/esql/libsql.0", O_RDONLY, 0) ERR#2 ENOENT&lt;BR /&gt;[19261] open("/usr/informix/lib/esql/libsql.sl", O_RDONLY, 0) = 4&lt;BR /&gt;&lt;BR /&gt;Hard to read the output, but it seems to want to open some Informix lib file and can't find it (HPUX error=2 is file not found).  &lt;BR /&gt;&lt;BR /&gt;So your jobs kicks off, starts gathering a few things, allocates some semaphore, does query and goes starts looking for "stuff" (lseek) and then there's some write and mapping of shared memory.  Then it works to keep going....until it hits the 100% full.&lt;BR /&gt;&lt;BR /&gt;So...how's about tell us about your hardware [hpux rp5400, 11.11] how much memory?&lt;BR /&gt;What is value of following:&lt;BR /&gt;dbc_max_%&lt;BR /&gt;dbc_min_%&lt;BR /&gt;nproc&lt;BR /&gt;ninode&lt;BR /&gt;nfile&lt;BR /&gt;nflocks&lt;BR /&gt;vx_ninode&lt;BR /&gt;semm*  all semaphore parms&lt;BR /&gt;nbuf&lt;BR /&gt;swapmem_on&lt;BR /&gt;&lt;BR /&gt;Anything else running on this box?  &lt;BR /&gt;&lt;BR /&gt;I think that's a start...&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 09 Jul 2008 13:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230390#M328548</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-09T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230391#M328549</link>
      <description>You can see the error:&lt;BR /&gt;[19261] semget(0x31142c39, 0, 0666) ...................... = 25&lt;BR /&gt;[19261] semctl(25, 0, IPC_STAT, 2013202648) .............. = 0&lt;BR /&gt;[19261] semop(25, 0x40004480, 1) ......................... ERR#28 ENOSPC&lt;BR /&gt;                    sem[0].sem_num: 0&lt;BR /&gt;                     sem[0].sem_op: -1&lt;BR /&gt;                    sem[0].sem_flg: SEM_UNDO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Take a look at this kernel parameter - &lt;A href="http://docs.hp.com/en/939/KCParms/KCparam.SemUME.html" target="_blank"&gt;http://docs.hp.com/en/939/KCParms/KCparam.SemUME.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and adjust it.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230391#M328549</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-07-10T07:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230392#M328550</link>
      <description>&amp;gt;Rita: I noticed:&lt;BR /&gt;open("/usr/informix/lib/esql/libsql.0", O_RDONLY, 0) ERR#2 ENOENT&lt;BR /&gt;open("/usr/informix/lib/esql/libsql.sl", O_RDONLY, 0) = 4&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but it seems to want to open some Informix lib file and can't find it (error=2 is file not found).&lt;BR /&gt;&lt;BR /&gt;This is dld mapping in the shlibs and looking at several paths before it finds them.</description>
      <pubDate>Thu, 10 Jul 2008 09:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230392#M328550</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-10T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX B.11.11: unable to decrement semaphore (errno = 28)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230393#M328551</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;I noticed the error, but didn't look closely at the rest.  That's why it's so great to have everyones eyes looking.  &lt;BR /&gt;&lt;BR /&gt;From what Ivan is saying, he is leaning where I did.  Parm settings.  Kind of hard to say too much (other than some basic parms I mentioned for us to check), without knowing more about the database (SGA, etc) and number of users, box physmem.  So if Peter comes back with some info maybe we can see something else there.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Thu, 10 Jul 2008 17:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-b-11-11-unable-to-decrement-semaphore-errno-28/m-p/4230393#M328551</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-10T17:01:54Z</dc:date>
    </item>
  </channel>
</rss>

