TCP / max-connections & flow-control
Greetings all, I have not been able to find confirmation on this but I wanted to find details on TCP connections in 3.2 open-source. When a client establishes a TCP connection to a host log server, does it reuse that connection for all subsequent log transmissions? Does it have a threshold for destroying the connection and creating a new one if it does? Thanks much, PM
Hi, yes, the connections are reused unless the client does not send new logs for a time (60 seconds by default). This can be set on the server side using the time_reopen option: https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.2-guid... Regards, Robert On Saturday, July 23, 2011 07:11 CEST, Paul Muther <dalamars@gmail.com> wrote:
Greetings all,
I have not been able to find confirmation on this but I wanted to find details on TCP connections in 3.2 open-source. When a client establishes a TCP connection to a host log server, does it reuse that connection for all subsequent log transmissions? Does it have a threshold for destroying the connection and creating a new one if it does?
Thanks much, PM
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
On Sun, 2011-07-24 at 21:48 +0200, Fekete Róbert wrote:
Hi,
yes, the connections are reused unless the client does not send new logs for a time (60 seconds by default). This can be set on the server side using the time_reopen option: https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.2-guid...
time_reopen() applies if the connection breaks. otherwise the connection is kept open indefinitely -- Bazsi
participants (3)
-
Balazs Scheidler
-
Fekete Róbert
-
Paul Muther