I'm getting a lot of dropped messages. The messages are getting to my syslog-ng server, but when I do an strace, I have: accept(3, 0x7fff5783dc10, [285598969948537856]) = -1 EAGAIN (Resource temporarily unavailable) Here is the config: @version: 3.0 options { flush_lines (3); time_reopen (10); log_fifo_size (1000000); long_hostnames (off); use_dns (no); use_fqdn (no); create_dirs (yes); dir_perm (0755); keep_hostname (yes); ts_format("iso"); }; are there some other params I should be adjusting?
On 1/25/10 4:45 PM, Rory Toma wrote:
I'm getting a lot of dropped messages. The messages are getting to my syslog-ng server, but when I do an strace, I have:
accept(3, 0x7fff5783dc10, [285598969948537856]) = -1 EAGAIN (Resource temporarily unavailable)
Here is the config:
@version: 3.0 options { flush_lines (3); time_reopen (10); log_fifo_size (1000000); long_hostnames (off); use_dns (no); use_fqdn (no); create_dirs (yes); dir_perm (0755); keep_hostname (yes); ts_format("iso"); };
are there some other params I should be adjusting? ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
This seems to be related to tcp having a default connection limit of 10. Setting (as per the faq...)(smacks self in head) max_connections in my tcp source statement seems to have fixed this.
On Mon, 2010-01-25 at 18:25 -0800, Rory Toma wrote:
On 1/25/10 4:45 PM, Rory Toma wrote:
I'm getting a lot of dropped messages. The messages are getting to my syslog-ng server, but when I do an strace, I have:
accept(3, 0x7fff5783dc10, [285598969948537856]) = -1 EAGAIN (Resource temporarily unavailable)
EAGAIN only means that there was no queued connection at this point. it is not a real error, it is just an indication in non-blocking I/O that the requested I/O operation couldn't be completed right now and instead of blocking, syslog-ng gets this error code. but this is properly handled there. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Rory Toma