Hamish
May 06, 2010Cirrocumulus
HSL Buffering? How to flush?
I have a small challenge with HSL today (On 10.1.0)... We have an iRule that's performing some measurements and we're sending the results to a server via a TCP connection using HSL. All well and good, it mostly works. Except we're missing some entries that were sent.
If I send the same content to both HSL and 'log local0.' then when I am testing and a run of test data finishes, then it seems that the last 2 lines in the logging are not sent to the log processor... (The log processor is a simple perl script reading the sockets directly via IO::Select and IO::Socket).
Trying to track down what's going wrong now, but does HSL buffer content? if so how do you force a flush?
(And how do you force the HSL to close and re-open a tcp connection? Sometimes I have to do a bigstart restart tmm to force a tcp connection to be re-opened as the pool sits there telling me it has 4x open connections even though the log server process has been restarted, and theres' NO packets being sent from the BigIP).
H