<?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: IPC Semaphores in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577803#M31418</link>
    <description>Hi &lt;BR /&gt;&lt;BR /&gt;Semaphores are typically incremented by a process to block other&lt;BR /&gt;processes while it is performing a critical operation or using a shared&lt;BR /&gt;resource. When finished, it decrements the value, allowing blocked&lt;BR /&gt;processes to then access the resource. Semaphores can be configured as&lt;BR /&gt;binary semaphores which have only two values: 0 and 1, or they can&lt;BR /&gt;serve as general semaphores (or counters) where one process increments&lt;BR /&gt;the semaphore and one or more cooperating processes decrement it. To&lt;BR /&gt;prevent undetectable overflow conditions, the kernel imposes a maximum&lt;BR /&gt;value limit beyond which semaphores cannot be incremented. This limit,&lt;BR /&gt;defined by the semvmx kernel parameter, must not exceed the maximum&lt;BR /&gt;value of an unsigned integer (65 535). Semaphores are not allowed to&lt;BR /&gt;have negative (less than zero) values.&lt;BR /&gt;&lt;BR /&gt;you can also see info about the kernel params&lt;BR /&gt;in this site : &lt;BR /&gt;&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;</description>
    <pubDate>Tue, 11 Sep 2001 11:33:18 GMT</pubDate>
    <dc:creator>eran maor</dc:creator>
    <dc:date>2001-09-11T11:33:18Z</dc:date>
    <item>
      <title>IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577802#M31417</link>
      <description>Hi forum raiders!&lt;BR /&gt;What are the indications when the IPC Semaphores are way too high?&lt;BR /&gt;&lt;BR /&gt;-ragnar-</description>
      <pubDate>Tue, 11 Sep 2001 11:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577802#M31417</guid>
      <dc:creator>rbiorn</dc:creator>
      <dc:date>2001-09-11T11:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577803#M31418</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Semaphores are typically incremented by a process to block other&lt;BR /&gt;processes while it is performing a critical operation or using a shared&lt;BR /&gt;resource. When finished, it decrements the value, allowing blocked&lt;BR /&gt;processes to then access the resource. Semaphores can be configured as&lt;BR /&gt;binary semaphores which have only two values: 0 and 1, or they can&lt;BR /&gt;serve as general semaphores (or counters) where one process increments&lt;BR /&gt;the semaphore and one or more cooperating processes decrement it. To&lt;BR /&gt;prevent undetectable overflow conditions, the kernel imposes a maximum&lt;BR /&gt;value limit beyond which semaphores cannot be incremented. This limit,&lt;BR /&gt;defined by the semvmx kernel parameter, must not exceed the maximum&lt;BR /&gt;value of an unsigned integer (65 535). Semaphores are not allowed to&lt;BR /&gt;have negative (less than zero) values.&lt;BR /&gt;&lt;BR /&gt;you can also see info about the kernel params&lt;BR /&gt;in this site : &lt;BR /&gt;&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;</description>
      <pubDate>Tue, 11 Sep 2001 11:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577803#M31418</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-09-11T11:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577804#M31419</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe the attached description of IPC semaphores kernel parameters will be helpful.&lt;BR /&gt;&lt;BR /&gt;Later,</description>
      <pubDate>Tue, 11 Sep 2001 11:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577804#M31419</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-09-11T11:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577805#M31420</link>
      <description>Hi Ragnar,&lt;BR /&gt;&lt;BR /&gt;Semaphores are syncronizing mechanism by which we can ensure that a certain amount of process ( one or more, it depends ) are using a resource.&lt;BR /&gt;&lt;BR /&gt;Initial test of a semaphore Guarding a resource is, if the semaphore counter is positif ?&lt;BR /&gt;If yes, the process can get into that resource&lt;BR /&gt;If Not, it will wait till the value of the semaphore counter will be positif and then the system will awake up that process to evaluate the value and goes into that resource.&lt;BR /&gt;&lt;BR /&gt;Once that semaphore counter value is positif,&lt;BR /&gt;a process is able to go into that resource to execute the critical section guarded by the semaphore, the semaphore counter will be decremented to ensuree that all other request for that critical section will be scheduled in a waiting list till each individual process is finish with that resource ( Binary semaphore ).&lt;BR /&gt;&lt;BR /&gt;Other kind of semaphore is fixing the max concurrent process with one resource.&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Tue, 11 Sep 2001 11:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577805#M31420</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-09-11T11:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577806#M31421</link>
      <description>Ragnar,&lt;BR /&gt;&lt;BR /&gt;Straight answer to your question-&lt;BR /&gt;&lt;BR /&gt;I have never seen Operating System directly reporting problems about Semaphores or Message Queues. I treat them as being completely controlled by the application than the system itself. We can only set the values of how they can be used. It is all upto the application how it manages the communication within it's processes.&lt;BR /&gt;&lt;BR /&gt;If the values (mainly semmns and semmni) are too high, application will definitely report about them or we can check them using sar -m command.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Sep 2001 13:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577806#M31421</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-11T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577807#M31422</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;    ipcs  command can help you in tracking&lt;BR /&gt;the usage/current allocation of semaphore&lt;BR /&gt;values.   check man of ipcs for options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Tue, 11 Sep 2001 16:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577807#M31422</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-09-11T16:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577808#M31423</link>
      <description>Hello Ragnar,&lt;BR /&gt;&lt;BR /&gt;except for a non-booting kernel (for its size, possibly) I&lt;BR /&gt;do not know any reason for problems caused by having&lt;BR /&gt;too many semaphores (kernel parameter SEMMNS)!&lt;BR /&gt;You would just be wasting a little bit of RAM...&lt;BR /&gt;&lt;BR /&gt;Just my ?0.02,&lt;BR /&gt;Wodisch</description>
      <pubDate>Tue, 11 Sep 2001 16:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577808#M31423</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-09-11T16:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: IPC Semaphores</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577809#M31424</link>
      <description>Thank you all!&lt;BR /&gt;Background - I have a db-server with 4 instances. Weekly full backup with instances stopped is OK, but incrementel daily back with hot instances was cancelled by the CA ASO agent because it failed to get semaphore (no space left on device).&lt;BR /&gt;I have worked around this problem by reducing number of processess dedicated in the init.ora file. (I'am not sure my dbadm is too happy, but everything seems OK!)&lt;BR /&gt;&lt;BR /&gt;Since 2 of you have given me some reading material, I am now going to the studying-mode.&lt;BR /&gt;Thank you all!</description>
      <pubDate>Fri, 14 Sep 2001 06:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipc-semaphores/m-p/2577809#M31424</guid>
      <dc:creator>rbiorn</dc:creator>
      <dc:date>2001-09-14T06:17:20Z</dc:date>
    </item>
  </channel>
</rss>

