Looks like we found the issue. Before we enabled TLS we had the RELP windowsize set to 1000. Removing the windowsize directive with TLS enabled solves our issue. This is a little troubling in that it appears to expose a bug in librelp. It would be nice to understand what that bug actually is. I will try to find time to dig into it but if anyone has any pointers that would be great.
On Tue, Jan 20, 2015 at 10:28 PM, Nathan Brown <[email protected]> wrote: > We've also tried with 8.7.0 and had the same result. Anyone have any > guidance? Would hate to have to use stunnel for this. > > > On Wednesday, January 14, 2015, Nathan Brown <[email protected]> wrote: > >> We are running into an issue trying to use RELP/TLS. Rsyslog 7.6.2 is >> installed on all machines. To make matters worse the problem goes away >> during when running under `rsyslog -nd` on both client and server. >> >> The issue presents shortly after the RELP client connects to the RELP >> server. We get a handful of log lines and then it all falls apart. I have >> managed to strace the thread that is handling the connections and observed >> that after a short period of time rsyslog enters a tight loop on a writev >> to the RELP client. I haven't tried to inspect much on the RELP client side >> beyond debug mode. >> >> Any suggestions? >> >> setsockopt(29, SOL_TCP, TCP_CORK, [1], 4) = 0 >> writev(29, >> [{"\27\3\3\1\0\377\357\303\346\317\361L&{K\347S\324M\257L\354/\254U\305\26\2251\332{U"..., >> 261}], 1) = 261 >> setsockopt(29, SOL_TCP, TCP_CORK, [0], 4) = 0 >> recvfrom(29, "\27\3\3\0\340", 5, 0, NULL, NULL) = 5 >> recvfrom(29, >> "\216fn\267y\10,\233\270\277\272#c\327\267\3548E\255\300\244;b\355A.\1\207+^\2236"..., >> 224, 0, NULL, NULL) = 224 >> setsockopt(29, SOL_TCP, TCP_CORK, [1], 4) = 0 >> writev(29, >> [{"\27\3\3\0\320\314\231U\0160\342\320G\347X\37\265\353\36\2134vcV->]\215\364\306 >> L"..., 213}], 1) = 2 >> writev(29, >> [{"\3\0\320\314\231U\0160\342\320G\347X\37\265\353\36\2134vcV->]\215\364\306 >> La\352"..., 211}], 1) = -1 EAGAIN (Resource temporarily unavailable) >> ... and on and on and on >> > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

