Well, I have spent some more time trying to narrow down the problem with the client not reconnecting to the server more than once. When I tried it at home though, low and behold it worked. After much investigation, I have found that if I run the client off of Red Hat 6.2, it doesn't work, but if I run the client off Red Hat 7.1, it does work. So, the question obviously becomes, why? We have different kernels, libraries, and compilers. Anyone care to hazard a guess? I am using the latest and greatest versions of syslog-ng and libol now for all of my testing. Matthew M. Copeland On Mon, 20 Aug 2001 matthew.copeland@honeywell.com wrote:
I don't think that it is a problem with the server. I think that it is a problem with the client. If I HUP the client and it reconnects, I start seeing data go across to the server again. Other clients connected to the same server while we are having problems with the downed client are still able to send data through. This is what leads me to think that it is the client and not the server.
Matthew M. Copeland
On Fri, 17 Aug 2001, Brad Arlt wrote:
On Fri, Aug 17, 2001 at 10:40:59PM +0000, matthew.copeland@honeywell.com wrote:
This patch did not solve my problem at least. It might solve someone elses problem though. Does anyone have any other ideas on how to solve the client reconnect problem?
Thanks for all the help,
I can almost remember the problem you were having (hopefully I am right). You said that the server still thought that it was connected to the client yes?
Would not KEEPALIVE solve your problems? That way the socket could detect loss of connection. If that isn't good enough you will need a heart beat and a really short time out on the recv. ---------------------------------------------------------------------------- __o Bradley Arlt Email: arlt@cpsc.ucalgary.ca o__ _ \<_ WWW: www.acs.ucalgary.ca/~bdarlt _>/ _ (_)/(_) -Eat well, sleep peacefully, drink lots, and ride like hell. (_)\(_)
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
-- You may be sure that when a man begins to call himself a "realist," he is preparing to do something he is secretly ashamed of doing. -- Sydney Harris