<?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: Named Pipe Application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875722#M937409</link>
    <description>The options in those thread are workarounds for bad coding. Of course finding the bug and fixing the code sounds like a more elegant approach. :-)&lt;BR /&gt;&lt;BR /&gt;Dietmar.</description>
    <pubDate>Tue, 07 Jan 2003 09:40:37 GMT</pubDate>
    <dc:creator>Dietmar Konermann</dc:creator>
    <dc:date>2003-01-07T09:40:37Z</dc:date>
    <item>
      <title>Named Pipe Application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875719#M937406</link>
      <description>We have a Unix C application Which acts as a Message Handler.Multiple Processes talk to it through a Named Pipe.These processes write request strings to the Named Pipe.The Message Handler reads the Named Pipe and does actions based on the request strings.Processes can be application running in various machines(unix,nt,mainframe) ftp'ing the message string to the Named Pipe.The problem is sometimes the message handler doesnt read the pipe and the pipe size grows,the moment we "touch" the Named pipe , the Message Handler starts reading the requests.Sometimes it so happens that touching the Named pipe simply dont work, we need to re-create the Named pipe.Is there any specific reason as to why this is happening? What happens when multiple writers Write the Message requests at the same time to the Named Pipe ,does it lead it to this behavior? Ours is a production application and the Message Handler handles more than 10,000 requests per day.Sometimes( twice in a month) we encounter this situation and we couldnt really figure out as to why this happens.&lt;BR /&gt;Any idea why this strange behavior?&lt;BR /&gt;Appreciate all your inputs.&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 07 Jan 2003 04:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875719#M937406</guid>
      <dc:creator>Rajesh Sankarasubbu</dc:creator>
      <dc:date>2003-01-07T04:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Named Pipe Application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875720#M937407</link>
      <description>Hi, Rajesh!&lt;BR /&gt;&lt;BR /&gt;Without knowing precisely how the message handler ensures synchronization, it seems to be impossible to tell anything specific. I personally believe there is some (perhaps small) window for a potential race condition in your handler's design.&lt;BR /&gt;&lt;BR /&gt;You need to check in what state your handler gets stuck, while the pipe contains data. Maybe tracing system calls using "tusc" could be a good starting point.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Tue, 07 Jan 2003 09:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875720#M937407</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-01-07T09:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Named Pipe Application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875721#M937408</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc381abe92dabd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc381abe92dabd5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;explains your options well&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          Steve Steel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Quote of the moment&lt;BR /&gt;-------------------&lt;BR /&gt;"We are drowning in information but starved for knowledge."&lt;BR /&gt;-- John Naisbitt</description>
      <pubDate>Tue, 07 Jan 2003 09:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875721#M937408</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-01-07T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Named Pipe Application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875722#M937409</link>
      <description>The options in those thread are workarounds for bad coding. Of course finding the bug and fixing the code sounds like a more elegant approach. :-)&lt;BR /&gt;&lt;BR /&gt;Dietmar.</description>
      <pubDate>Tue, 07 Jan 2003 09:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875722#M937409</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-01-07T09:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Named Pipe Application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875723#M937410</link>
      <description>As Dietmar explains, debugging/fixing the code is you best option.&lt;BR /&gt;&lt;BR /&gt;In my experience, multi-platform applications which use named pipes are old-fashioned and often badly-designed, i.e. nowadays they should use a more modern IPC (Inter Process Communication) mechanism, especially if they are (as I understand is the case here), not only inter-process, but also inter-system.&lt;BR /&gt;&lt;BR /&gt;Also I think that "ftp'ing the message string to the Named Pipe" is a Really Bad Idea (tm).</description>
      <pubDate>Tue, 07 Jan 2003 13:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/named-pipe-application/m-p/2875723#M937410</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-01-07T13:43:34Z</dc:date>
    </item>
  </channel>
</rss>

