<?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: mkfifo in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773851#M68226</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;i prefer to use something that exists on the disk , cause maybe my server will doa reboot so my transactions will be lost if in memory.&lt;BR /&gt;&lt;BR /&gt;do u have any other suggestion how to resolve my issue , someone told me about circular file ?&lt;BR /&gt;&lt;BR /&gt;Tx for ur replies</description>
    <pubDate>Thu, 20 Apr 2006 00:58:22 GMT</pubDate>
    <dc:creator>ji_1</dc:creator>
    <dc:date>2006-04-20T00:58:22Z</dc:date>
    <item>
      <title>mkfifo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773849#M68224</link>
      <description>hi all , &lt;BR /&gt;i have an oracle database 10g and i want user not to block the table while doing update or insert and even with select using wildcards which takes a lot of time and others will wait till they finish.&lt;BR /&gt;&lt;BR /&gt;i thought of a FIFO file , that i can create under Linux , where i can put all the transactions there and i will not lock the users from work ..&lt;BR /&gt;this fifo file , will have IN and OUT pointers , one is used to read and the other to write .&lt;BR /&gt;&lt;BR /&gt;the transactions will be executed one by one and i will not have lock or freeze system .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;can i achieve that with mkfifo in Linux ? how to write in a fifo file and later read from it and put in the database?&lt;BR /&gt;am i using the right commands and is it true what i thought doing ?&lt;BR /&gt;FIFO queues are stored in memory or on disk ?&lt;BR /&gt;if my server will reboot , the infos will be lost from the fifo file ?&lt;BR /&gt;&lt;BR /&gt;tx for ur replies.&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2006 07:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773849#M68224</guid>
      <dc:creator>ji_1</dc:creator>
      <dc:date>2006-04-19T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: mkfifo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773850#M68225</link>
      <description>A FIFO file, or "named pipe" can accomplish what you are attempting.  However, it is a special file, a socket, and resides in memory.  There is no stable storage, per-se.  The file structure is used for IPC.  If your system reboots, any data in the queue will be lost.&lt;BR /&gt;&lt;BR /&gt;There must be a reading process and a writing process.  FIFO's are sort-of half duplex.  The first process writes to a FIFO and a second process reads from that FIFO.  You normally do not write to and read from the same pipe.  Instead, if you want 2-way communication between processes, you write to a first FIFO and read from a second FIFO.&lt;BR /&gt;&lt;BR /&gt;Take a look at the fifo(4) man page. &lt;BR /&gt;&lt;BR /&gt;It is possible to use non-blocking with a FIFO, but both the server and the client applications will need to keep watch on the communication path.  Usually, only the reading server uses non-blocking.&lt;BR /&gt;&lt;BR /&gt;The warning from the fifo(4) man page says it best:&lt;BR /&gt;&lt;BR /&gt;Under Linux, opening a FIFO for read and write will succeed both in blocking and non-blocking mode. POSIX leaves this behaviour undefined. This can be used to open a FIFO for writing while there are no readers available. A process that uses both ends of the connection in order to communicate with itself should be very careful to avoid deadlocks.&lt;BR /&gt;&lt;BR /&gt;Good Luck!&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2006 21:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773850#M68225</guid>
      <dc:creator>Craig Gilmore</dc:creator>
      <dc:date>2006-04-19T21:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: mkfifo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773851#M68226</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i prefer to use something that exists on the disk , cause maybe my server will doa reboot so my transactions will be lost if in memory.&lt;BR /&gt;&lt;BR /&gt;do u have any other suggestion how to resolve my issue , someone told me about circular file ?&lt;BR /&gt;&lt;BR /&gt;Tx for ur replies</description>
      <pubDate>Thu, 20 Apr 2006 00:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mkfifo/m-p/3773851#M68226</guid>
      <dc:creator>ji_1</dc:creator>
      <dc:date>2006-04-20T00:58:22Z</dc:date>
    </item>
  </channel>
</rss>

