2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [Merge] ~dirk.zimoch/epics-base:iocLogClientFixesTry2 into epics-base:7.0 |
From: | Dirk Zimoch via Core-talk <[email protected]> |
To: | [email protected] |
Date: | Wed, 18 Sep 2019 14:35:54 -0000 |
I did that briefly. The client (ioc) happily sends to the server and on the server the TCP input queue fills up. If the server then dies the messages are lost. I have not tried it until the queues filled up. The the logClient may block while holding the mutex which may make errlog (or whatever client) block. I will test that. I suggest to remove the code that attempts to send from sendMessageChunk() and accept (and report) that messages are lost. Can you please also review the usage of the mutex in the original code. I have the impression it does not really make sense. -- https://code.launchpad.net/~dirk.zimoch/epics-base/+git/epics-base/+merge/372925 Your team EPICS Core Developers is subscribed to branch epics-base:7.0.