<div dir="ltr"><span style="font-size:12.8px">>>Yes, and then it detects the failures and throws them out of the pool and establishes new ones.</span><div><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px"></span><span style="font-size:12.8px">Thanks for the comment!</span></div><div><span style="font-size:12.8px">Did a bit more testing, and it appears to behave as you described-  after shibd restart the pool seems to be gradually renewed.</span></div><div><span style="font-size:12.8px">As I try more times to connect, errors appear less frequently, then they are gone after about 10 or so attempts.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">On the bad side, those errors, when happening, they propagate to the user. I suppose it is not possible to tune connection policy - maybe some kind of </span></div><div><span style="font-size:12.8px">polling to detect dead connections before the user gets the error?</span></div><div><br></div><div><span style="font-size:12.8px">-Vedran</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><br></div><div><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 September 2016 at 16:35, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I have setup clustering so that shibd runs on separate machine, and httpd<br>
> with mod_shib on separate machine, using TCP listener plugin.<br>
> When shibd is restarted, httpd must also be restarted, otherwise error<br>
> appears - like below from :<br>
<br>
</span>Nobody has ever reported anything like that, and since the connection management is the same for TCP as for domain sockets and the Windows code uses TCP, and from the point of view of the client socket, localhost and a remote host are handled identically...no, I don't really buy that. Something else is wrong in your environment.<br>
<span class=""><br>
> It looks like httpd tries to reuse dead connections to connect to shibd<br>
> (guessing here)<br>
<br>
</span>Yes, and then it detects the failures and throws them out of the pool and establishes new ones.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div>