<p dir="ltr">Not by syslog-ng. If you apply the patch which adds the error tag to this log message you&#39;d have slightly more information.</p>
<div class="gmail_quote">On Dec 15, 2015 7:07 PM, &quot;Al Itchon&quot; &lt;<a href="mailto:AItchon@boardreader.com">AItchon@boardreader.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I do see a similar error when trying to send a long message (318525 characters):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Dec 15 12:50:35 rabbit-to-kafka01 syslog-ng[14073]: Network error while inserting into AMQP server; driver=&#39;#anon-destination17#0&#39;, time_reopen=&#39;10&#39;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Is there a limit on the length of a message going to rabbitmq from syslog-ng?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>]
<b>On Behalf Of </b>Balazs Scheidler<br>
<b>Sent:</b> Wednesday, December 02, 2015 2:12 PM<br>
<b>To:</b> Syslog-ng users&#39; and developers&#39; mailing list &lt;<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>&gt;<br>
<b>Subject:</b> Re: [syslog-ng] rabbitmq errors<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p>Well, the kind of socket error should also be reported, this still doesnt say much. :(<u></u><u></u></p>
<div>
<p class="MsoNormal">On Dec 2, 2015 3:30 PM, &quot;Mitzki, András&quot; &lt;<a href="mailto:andras.mitzki@balabit.com" target="_blank">andras.mitzki@balabit.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">With a quick test I can verify that there is a new &quot;error&quot; tag in the error message:<br>
[2015-12-02T14:28:<a href="tel:42.828127" value="+3642828127" target="_blank">42.828127</a>] Initializing AMQP destination; vhost=&#39;/almafa&#39;, host=&#39;172.17.0.3&#39;, port=&#39;5672&#39;, exchange=&#39;applogs&#39;, exchange_type=&#39;header&#39;<br>
[New Thread 0x7ffff7fdd700 (LWP 40)]<br>
[2015-12-02T14:28:<a href="tel:42.831050" value="+3642831050" target="_blank">42.831050</a>] Worker thread started; driver=&#39;d_signupws_amqp#0&#39;<br>
[2015-12-02T14:28:<a href="tel:42.831158" value="+3642831158" target="_blank">42.831158</a>] Running application hooks; hook=&#39;1&#39;<br>
[2015-12-02T14:28:<a href="tel:42.831174" value="+3642831174" target="_blank">42.831174</a>] Running application hooks; hook=&#39;3&#39;<br>
[2015-12-02T14:28:<a href="tel:42.831213" value="+3642831213" target="_blank">42.831213</a>] syslog-ng starting up; version=&#39;3.8.0alpha0&#39;<br>
[New Thread 0x7ffff315f700 (LWP 41)]<br>
[2015-12-02T14:28:43.833637] Incoming log entry; line=&#39;ads asda sda sdas dsa dsa&#39;<br>
[2015-12-02T14:28:<a href="tel:45.833349" value="+3645833349" target="_blank">45.833349</a>] Error during AMQP login; driver=&#39;d_signupws_amqp#0&#39;, error=&#39;a socket error occurred&#39;, time_reopen=&#39;60&#39;<br>
[2015-12-02T14:28:<a href="tel:48.837345" value="+3648837345" target="_blank">48.837345</a>] Error during AMQP login; driver=&#39;d_signupws_amqp#0&#39;, error=&#39;a socket error occurred&#39;, time_reopen=&#39;60&#39;<u></u><u></u></p>
</div>
<p class="MsoNormal">Br, <u></u><u></u></p>
</div>
<p class="MsoNormal">Micek<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Nov 30, 2015 at 5:19 PM, Scheidler, Balázs &lt;<a href="mailto:balazs.scheidler@balabit.com" target="_blank">balazs.scheidler@balabit.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p>They should be resent.<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Nov 30, 2015 4:50 PM, &quot;Al Itchon&quot; &lt;<a href="mailto:AItchon@boardreader.com" target="_blank">AItchon@boardreader.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">So are messages lost when this happens, or are they resent when after reconnection?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>]
<b>On Behalf Of </b>Scheidler, Balázs<br>
<b>Sent:</b> Thursday, November 26, 2015 2:47 AM<br>
<b>To:</b> Syslog-ng users&#39; and developers&#39; mailing list &lt;<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>&gt;<br>
<b>Subject:</b> Re: [syslog-ng] rabbitmq errors</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p>Nothing intended limits syslog-ng here. That error message happens when rabbitmq returns an error condition. It definitely should include a more detailed error cause.<u></u><u></u></p>
<p>Syslog-ng suspends this destination for a few seconds (controlled by time-reopen ()) And then reconnects to the amqp server.<u></u><u></u></p>
<div style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt">
<div>
<div>
<p class="MsoNormal">I’m seeing an error in my log indicating that messages aren’t being sent to a queue in RabbitMQ.  This happens a few times a week.  Here’s the error:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Nov 24 13:29:28 syslog09 syslog-ng[7883]: Network error while inserting into AMQP server; time_reopen=&#39;10&#39;<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have about 1000 servers sending tcp messages through a call to /dev/tcp to port on the syslog-ng server.  It seems messages aren’t sent to the queue for about 1 or 2 minutes,
 and then it resumes sending again without error.  Could this be a network issue or something within syslog-ng that’s limiting the messages?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/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/support/documentation/?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/syslog-ng-faq</a><br>
<br>
<br></blockquote></div>