On 08/15, 吴煊 via Tech-talk wrote:
> We are testing for using logstash to replace iocLogServer. We found that it will lose connection between the ioc and logstash if none of PV has been written more than an hour(not very accuracy). If writting a PV again, it will establish the connection again, but the caPutLog message of this time will not be sent to logstash. It prompted that in IOC terminal:
>
> log client: lost contact with log server at "10.1.236.30:7011" because "Connection timed out"
>
> log client: connected to log server at "10.1.236.30:7011"
>
> from then on, it will work fine if the interval time of writting PV was not very long.So how can keep the connection all the time without timeout. It seems that using iocLogServer will not lose connection.
How are you logging to Logstash? A custom Logstash client? How does it
work?
Can you determine what is closing the connection? Is it the Logstash
server? Is it a firewall? Is it a NAT proxy?
Can you look at the configuration of your Logstash server and see if it
has a timeout or keep-alive option and ensure it is set correctly?
For example, if you're using the TCP input plugin of Logstash
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html
it has a tcp_keep_alive option that defaults to false; you could try
setting that to true.
Regards,
Lewis
- Replies:
- RE: connection timeout between ioc and logstash Kivel Niko (PSI) via Tech-talk
- References:
- connection timeout between ioc and logstash 吴煊 via Tech-talk
- Navigate by Date:
- Prev:
RE: Pointer corruption on Windows Freddie Akeroyd - UKRI STFC via Tech-talk
- Next:
Undefined Timestamp on Motor Record Dominic Oram - UKRI STFC via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
connection timeout between ioc and logstash 吴煊 via Tech-talk
- Next:
RE: connection timeout between ioc and logstash Kivel Niko (PSI) via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|