<div dir="ltr"><div>Hi Juli,</div><div><br></div>In one case there are some other errors just before this is started to happen (see below). I'm running the original 0.8.0 without modifications on CentOS 6.5. File descriptors exhausted direction makes a perfect sense, I will try to troubleshoot the machine.<div>
<br></div><div>Thanks,</div><div>Igor<br><div><br><div><div>1404394847.316949 [/wanproxy/proxy/proxy-socks0/connector] INFO: Connect failed: <Error>/0 [Success]</div><div>1404394853.339667 [/wanproxy/proxy/proxy-socks0/connector] INFO: Connect failed: <Error>/0 [Success]</div>
<div>1404394858.494985 [/wanproxy/proxy/proxy-socks0/connector] INFO: Connect failed: <Error>/0 [Success]</div><div>1404394860.860666 [/socket/address] ERR: bool socket_address::operator()(int, int, int, const std::string&): Could not look up [localhost]:3302: System error</div>
<div>1404394860.860733 [/socket] ERR: Action* Socket::connect(const std::string&, EventCallback*): Invalid name for connect: [localhost]:3302</div><div>1404394860.860794 [/wanproxy/proxy/proxy0/connector] INFO: Connect failed: <Error>/22 [Invalid argument]</div>
</div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 8:56 PM, Juli Mallett <span dir="ltr"><<a href="mailto:juli@clockworksquid.com" target="_blank">juli@clockworksquid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Igor,<div><br></div><div>Are those the only errors you're seeing?  When that starts to happen for me, it's on systems where I've run out of file descriptors and the getprotobyname code wants to read /etc/services and can't.  Or you could be hitting some kind of bug in your libc's getprotobyname under pressure.  Or I could've screwed something up :)  I don't *think* you're actually going through libuinet to do getprotobyname, though, unless you've made local changes.  Are you at all comfortable with truss or something like?  (Which OS are you on?)  It'd be good to see exactly what is failing and why.</div>



<div><br></div><div>Thanks,</div><div>Juli.</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Jul 10, 2014 at 9:14 AM, Igor Ivanov <span dir="ltr"><<a href="mailto:iivanovforever@gmail.com" target="_blank">iivanovforever@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear all,<div><br></div><div>After running WANProxy (0.8.0) for some time I started to notice following errors on the server side:</div>



<div><br></div><div><font color="#000000"><span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">1403673349.946080 /socket ERR: static Socket* Socket::create(Socket Address Family, Socket Type, const std::string&, const std::string&): Invalid protocol: tcp </span><br style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">




<span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">1403673349.946171 /wanproxy/proxy/proxy0/connector INFO: Connect failed: <Error>/0 Success </span><br></font></div><div><span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px"><font color="#000000"><br>




</font></span></div><div>Once they appear, it seems I can't use the solution anymore and need to restart it.</div><div><br></div><div>Looking at libuinet code (where the error comes from) it seems the "getprotobyname" API fails, however, my /etc/protocols file looks good and does have a valid entry for "tcp" protocol.</div>




<div><br></div><div>Any thoughts?</div><div><br></div><div>Thanks,</div><div>Igor</div></div>
<br></div></div>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org" target="_blank">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>