<br><font size=2 face="sans-serif">I'm finding that my Syslog-NG 2.0.9
OSE is not able to send more than 19 msgs/sec. I've tried setups
with/without flow control, but keep coming up with similar performance
results. I'm using the 'file' driver to read the data from application
log files. I supposed I could use a named pipe, but I rather not
create a new tool to write data to the pipe and create other bottlnecks
and buffering issues.</font>
<br>
<br><font size=2 face="sans-serif">The application logs I want to follow
writes at a pace of ~130msgs/sec during peak usage with average message
size of ~410bytes. My destination log location is on NFS. I've
verified that it's not the network or NFS that's causing the issues. I
whipped up a simple perl script that made a socket connection from the
source host to the destination host where syslog-ng was listening. I
was able to pump 48320 messages to that remote syslog port that was configured
to write the data to a NFS partition. That's ~3200 msgs/sec. So
I also know that the destination syslog-ng is working fine. My guess
is that the problem lies with the file driver.</font>
<br>
<br><font size=2 face="sans-serif">I'd like to get syslog-ng to be the
tool I use to consolidate logs across N number of hosts instead of writing
some bootleg code of my own to which I will forever be a slave to maintain.
Any assistance you can provide would be appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Source syslog-ng.conf</font>
<br>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif"># G L O B A L O P T I O N S </font>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif">options {</font>
<br><font size=2 face="sans-serif"> use_dns
(no);</font>
<br><font size=2 face="sans-serif"> use_fqdn
(no);</font>
<br><font size=2 face="sans-serif"> create_dirs
(yes);</font>
<br><font size=2 face="sans-serif"> log_fifo_size(2100);</font>
<br><font size=2 face="sans-serif"> time_sleep
(10);</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif"># Template</font>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif">template t_clog {</font>
<br><font size=2 face="sans-serif"> template("$MSG\n");</font>
<br><font size=2 face="sans-serif"> template_escape(no);</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif"># Sources</font>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">## default source for logging syslog
messages</font>
<br><font size=2 face="sans-serif">source s_internal {</font>
<br><font size=2 face="sans-serif"> internal();</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">## </font>
<br><font size=2 face="sans-serif">source s_ldsol01_file {</font>
<br><font size=2 face="sans-serif"> file("/tmp/ldsol01-clog.log"</font>
<br><font size=2 face="sans-serif">
follow_freq(10)</font>
<br><font size=2 face="sans-serif">
flags(no-parse)</font>
<br><font size=2 face="sans-serif">
log_fetch_limit(1000)</font>
<br><font size=2 face="sans-serif">
log_iw_size(2000)</font>
<br><font size=2 face="sans-serif"> );</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif"># Destinations</font>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">## default destination for logging syslog
messages</font>
<br><font size=2 face="sans-serif">destination d_syslog_file {</font>
<br><font size=2 face="sans-serif"> file("/home/csh_apps/twataprd/Logs/SYSLOG-NG/syslog-ng.log");</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">## eqny-cshweb2</font>
<br><font size=2 face="sans-serif">destination d_ldsol01_tcp {</font>
<br><font size=2 face="sans-serif"> tcp( "10.3.22.43"
port(20534) );</font>
<br><font size=2 face="sans-serif">};</font>
<br><font size=2 face="sans-serif">destination d_ldsol01rej_tcp {</font>
<br><font size=2 face="sans-serif"> tcp("10.3.22.43"
port(20535));</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif"># logs</font>
<br><font size=2 face="sans-serif">##########################################################</font>
<br><font size=2 face="sans-serif">log { source( s_internal ); destination
( d_syslog_file ); };</font>
<br><font size=2 face="sans-serif">log { source( s_ldsol01_file ); destination(
d_ldsol01_tcp ); flags(flow-control); };</font>
<br>
<br>
<br>
<br>
<br>
<P><hr size=1></P>
<P>
Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiving the offering materials attached below related to your interest in hedge funds or private equity, this communication may be intended as an offer or solicitation for the purchase or sale of such fund(s). All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.
</P>