<div dir="ltr"><div>No, the inode of the named pipe is not changed after creation. The data itself going through the pipe does not hit the disk, it's completely an in-memory transport.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <br>Bazsi<br></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 27, 2017 at 7:55 PM, Amin, Jitesh CTR (US) <span dir="ltr"><<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.ctr@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Laszlo,
<div>Though wouldn't the date/timestamp on the file be updated as the data is flowing through the pipe.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Jitesh<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7750789451030784543divRpF122433" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> syslog-ng [<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.<wbr>balabit.hu</a>] on behalf of László Várady [<a href="mailto:laszlo.varady@balabit.com" target="_blank">laszlo.varady@balabit.com</a>]<br>
<b>Sent:</b> Friday, October 27, 2017 11:27 AM<span class=""><br>
<b>To:</b> Syslog-ng users' and developers' mailing list<br>
</span><b>Subject:</b> Re: [syslog-ng] [Non-DoD Source] Re: Syslog 3.5 (pipe file issue)<br>
</font><br>
</div>
<div></div>
<div><span class="">All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
<br>
<br>
<hr>
<br>
<br>
</span><div dir="ltr"><span class="">Hi,
<div><br>
</div>
<div>As Laci pointed out, this is an expected behavior.</div>
<div>Named pipes are not regular files, the "file size" is always 0 byte.</div>
<div><br>
</div>
</span><div>From Caution-<a href="https://linux.die.net/man/4/fifo" target="_blank">https://linux.<wbr>die.net/man/4/fifo</a> < Caution-<a href="https://linux.die.net/man/4/fifo" target="_blank">h<wbr>ttps://linux.die.net/man/4/<wbr>fifo</a> > :</div><span class="">
<div><i>When processes are exchanging data via the FIFO, the kernel passes all data internally without writing it to the file system.</i></div>
<div><br>
</div>
<div>If you are interested in the capacity of named pipes, you can read about this here:</div>
</span><div>Caution-<a href="https://linux.die.net/man/7/pipe" target="_blank">https://linux.die.net/<wbr>man/7/pipe</a> < Caution-<a href="https://linux.die.net/man/7/pipe" target="_blank">https://<wbr>linux.die.net/man/7/pipe</a> >  (<wbr>Chapter name: Pipe capacity)<br>
</div>
<div><br>
</div>
<div>--</div>
<div>László Várady</div>
<div dir="ltr"><br>
<div class="gmail_quote"><span class="">
<div dir="ltr">On Fri, Oct 27, 2017 at 4:56 PM Amin, Jitesh CTR (US) <<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.ctr@mail.mil</a> < <wbr>Caution-mailto:<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.<wbr>ctr@mail.mil</a> > > wrote:<br>
</div>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><span class="">Hi Laci,
<div>So we can create named pipe object with filename successfully.</div>
<div><br>
</div>
<div>But the then the file always shows 0 bytes in size even after data is being written to this file. Additionally the timestamp on this file never changes (as new data get's written and so I would assume that modify date on file would also be updated).</div>
<div><br>
</div>
<div>Thanks</div>
</span><div>Jitesh<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7750789451030784543m_2442931521500850090m_-9111524537336605818divRpF399686" style="direction:ltr">
<font size="2" face="Tahoma" color="#000000"><b>From:</b> syslog-ng [<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.<wbr>balabit.hu</a> < Caution-mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">sy<wbr>slog-ng-bounces@lists.balabit.<wbr>hu</a> > ] on behalf of Szemere, László [<a href="mailto:laszlo.szemere@balabit.com" target="_blank">laszlo.szemere@balabit.com</a> < <wbr>Caution-mailto:<a href="mailto:laszlo.szemere@balabit.com" target="_blank">laszlo.szemere@<wbr>balabit.com</a> > ]<span class=""><br>
<b>Sent:</b> Friday, October 27, 2017 9:46 AM<br>
<b>To:</b> Syslog-ng users' and developers' mailing list<br>
<b>Subject:</b> [Non-DoD Source] Re: [syslog-ng] Syslog 3.5 (pipe file issue)<br>
</span></font><br>
</div>
<div></div>
<div><span class="">All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.<br>
<br>
<hr>
<br>
<br>
</span><div dir="ltr">Hello Jitesh,
<div><br>
</div>
<div> I am afraid I can not clearly understand your problem. Since OSE 3.0.2, a named pipe destination creates a new pipe object automatically with the predefined filename. (Caution-Caution-<a href="https://www.balabit.com/documents/syslog-ng-ose-3.11-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-pipe" target="_blank">https://www.<wbr>balabit.com/documents/syslog-<wbr>ng-ose-3.11-guides/en/syslog-<wbr>ng-ose-guide-admin/html-<wbr>single/index.html#configuring-<wbr>destinations-pipe</a> < Caution-<a href="https://www.balabit.com/documents/syslog-ng-ose-3.11-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-pipe" target="_blank">ht<wbr>tps://www.balabit.com/<wbr>documents/syslog-ng-ose-3.11-<wbr>guides/en/syslog-ng-ose-guide-<wbr>admin/html-single/index.html#<wbr>configuring-destinations-pipe</a> <wbr>>  < Caution-Caution-<a href="https://www.balabit.com/documents/syslog-ng-ose-3.11-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-pipe" target="_blank">https://<wbr>www.balabit.com/documents/<wbr>syslog-ng-ose-3.11-guides/en/<wbr>syslog-ng-ose-guide-admin/<wbr>html-single/index.html#<wbr>configuring-destinations-pipe</a> <wbr>< Caution-<a href="https://www.balabit.com/documents/syslog-ng-ose-3.11-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-pipe" target="_blank">https://www.balabit.<wbr>com/documents/syslog-ng-ose-3.<wbr>11-guides/en/syslog-ng-ose-<wbr>guide-admin/html-single/index.<wbr>html#configuring-destinations-<wbr>pipe</a> >  > )</div>
<div><br>
</div>
<div> For me, this is the expected behavior of named pipes (man page: Caution-Caution-<a href="http://man7.org/linux/man-pages/man1/mkfifo.1.html" target="_blank">http://<wbr>man7.org/linux/man-pages/man1/<wbr>mkfifo.1.html</a> < Caution-<a href="http://man7.org/linux/man-pages/man1/mkfifo.1.html" target="_blank">http:/<wbr>/man7.org/linux/man-pages/<wbr>man1/mkfifo.1.html</a> >  < <wbr>Caution-Caution-<a href="http://man7.org/linux/man-pages/man1/mkfifo.1.html" target="_blank">http://man7.<wbr>org/linux/man-pages/man1/<wbr>mkfifo.1.html</a> < Caution-<a href="http://man7.org/linux/man-pages/man1/mkfifo.1.html" target="_blank">http:/<wbr>/man7.org/linux/man-pages/<wbr>man1/mkfifo.1.html</a> >  > 
 further information on level 3: Caution-Caution-<a href="http://man7.org/linux/man-pages/man3/mkfifo.3.html" target="_blank">http://man7.<wbr>org/linux/man-pages/man3/<wbr>mkfifo.3.html</a> < Caution-<a href="http://man7.org/linux/man-pages/man3/mkfifo.3.html" target="_blank">http:/<wbr>/man7.org/linux/man-pages/<wbr>man3/mkfifo.3.html</a> >  < <wbr>Caution-Caution-<a href="http://man7.org/linux/man-pages/man3/mkfifo.3.html" target="_blank">http://man7.<wbr>org/linux/man-pages/man3/<wbr>mkfifo.3.html</a> < Caution-<a href="http://man7.org/linux/man-pages/man3/mkfifo.3.html" target="_blank">http:/<wbr>/man7.org/linux/man-pages/<wbr>man3/mkfifo.3.html</a> >  > ).
 Please try to rephrase your question, to give us more understanding about your use case.<br>
</div>
<div><br>
</div>
<div>Br,</div>
<div>Laci</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote"></div>
</div>
</div>
</div>
</div>
</div>
</div><span class="">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Oct 27, 2017 at 2:42 PM, Amin, Jitesh CTR (US) <span dir="ltr">
<<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.ctr@mail.mil</a> < <wbr>Caution-mailto:<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.<wbr>ctr@mail.mil</a> >  < Caution-<wbr>Caution-mailto:<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank">jitesh.amin.<wbr>ctr@mail.mil</a> < Caution-mailto:<a href="mailto:jitesh.amin.ctr@mail.mil" target="_blank"><wbr>jitesh.amin.ctr@mail.mil</a> >  > <wbr>></span> wrote:<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<div id="m_-7750789451030784543m_2442931521500850090m_-9111524537336605818m_-5402342489171244302divRpF162219" style="direction:ltr">
<span style="font-family:Tahoma;font-size:10pt">Hi,</span></div>
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>We have the syslog-ng 3.5 installed on Linux OS. We are trying to use the pipe function (to pipe data to the log file). This pipe file is FIFO.</div>
<div><br>
</div>
<div>One of the issues we are seeing is that, the file size of this pipe file is always ZERO and never grows and second the timestampe on the file never updates or changes.</div>
<div><br>
</div>
<div>Though when we do a "cat pipefilename" command we do see contents of the file.</div>
<div><br>
</div>
<div>Can you please let us know what we could be doing wrong or any feedback on how to resolve the issue?</div>
<div><br>
</div>
<div>Thanks</div>
<span class="m_-7750789451030784543m_2442931521500850090m_-9111524537336605818HOEnZb"><font color="#888888">
<div>Jitesh</div>
</font></span></div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>______________________________<wbr>__________________<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span><div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Member info: Caution-Caution-<a href="https://lists.balabit.hu/" target="_blank">https://lists.<wbr>balabit.hu/</a> < Caution-<a href="https://lists.balabit.hu/" target="_blank">https://<wbr>lists.balabit.hu/</a> > mailman/<wbr>listinfo/syslog-ng < Caution-<wbr>Caution-<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.<wbr>hu/mailman/listinfo/syslog-ng</a> <wbr>< Caution-<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.<wbr>balabit.hu/mailman/listinfo/<wbr>syslog-ng</a> >  > <br>
Documentation: Caution-Caution-<a href="http://www.balabit.com/" target="_blank">http://www.<wbr>balabit.com/</a> < Caution-<a href="http://www.balabit.com/" target="_blank">http://<wbr>www.balabit.com/</a> > support/<wbr>documentation/?product=syslog-<wbr>ng < Caution-Caution-<a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://<wbr>www.balabit.com/support/<wbr>documentation/?product=syslog-<wbr>ng</a> < Caution-<a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.<wbr>balabit.com/support/<wbr>documentation/?product=syslog-<wbr>ng</a> >  > <br>
FAQ: Caution-Caution-<a href="http://www.balabit.com/wiki/" target="_blank">http://www.<wbr>balabit.com/wiki/</a> < Caution-<a href="http://www.balabit.com/wiki/" target="_blank">ht<wbr>tp://www.balabit.com/wiki/</a> > <wbr>syslog-ng-faq < Caution-<wbr>Caution-<a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.<wbr>com/wiki/syslog-ng-faq</a> < <wbr>Caution-<a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.<wbr>com/wiki/syslog-ng-faq</a> >  > <br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div><span class="">
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: Caution-<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.<wbr>hu/mailman/listinfo/syslog-ng</a> <wbr>< Caution-<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.<wbr>balabit.hu/mailman/listinfo/<wbr>syslog-ng</a> > <br>
Documentation: Caution-<a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.<wbr>com/support/documentation/?<wbr>product=syslog-ng</a> < Caution-<a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">ht<wbr>tp://www.balabit.com/support/<wbr>documentation/?product=syslog-<wbr>ng</a> > <br>
FAQ: Caution-<a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.<wbr>com/wiki/syslog-ng-faq</a> < <wbr>Caution-<a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.<wbr>com/wiki/syslog-ng-faq</a> > <br>
<br>
</span></blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>