Re: [ceph-users] TCP failed connection attempts

2014-03-27 Thread Dan Van Der Ster
On 27 Mar 2014 at 10:44:35, Sergey Malinin (h...@newmail.com) wrote: sysctl has nothing to do with that since those are just counters. You can debug failed connections by logging connection resets: iptables -I INPUT -p tcp -m tcp --tcp-flags RST RST -j LOG Thanks for tha

Re: [ceph-users] TCP failed connection attempts

2014-03-27 Thread Sergey Malinin
On 27.03.14, 10:52, Dan Van Der Ster wrote: On 26 Mar 2014 at 21:33:06, Sergey Malinin (h...@newmail.com ) wrote: This is typical (output from netstat -s): 50329019 active connections openings 15218590 passive connection openings

Re: [ceph-users] TCP failed connection attempts

2014-03-27 Thread Dan Van Der Ster
On 26 Mar 2014 at 21:33:06, Sergey Malinin (h...@newmail.com) wrote: This is typical (output from netstat -s): 50329019 active connections openings 15218590 passive connection openings 44167087 failed connection attempts Taking into account that presumably yo

Re: [ceph-users] TCP failed connection attempts

2014-03-26 Thread Sergey Malinin
On 26.03.14, 17:48, Ирек Фасихов wrote: Hi, Daniel. I use the following settings: net.ipv4.tcp_syncookies = 0 net.ipv4.tcp_moderate_rcvbuf=0 net.ipv4.tcp_low_latency = 1 Message "failed connection attempts", can be ignored, it is not just a server error, but the client. For example: A client

Re: [ceph-users] TCP failed connection attempts

2014-03-26 Thread Dan Van Der Ster
Thanks, I’ll try that. (Our current settings are the exact opposite of your suggestion). I found an old thread discussing a new option, ms tcp rcvbuf, but I found that it is still not enabled by default in dumpling: "ms_tcp_rcvbuf": "0", Not sure if that’s related. Cheers, Dan -- Dan van d

Re: [ceph-users] TCP failed connection attempts

2014-03-26 Thread Ирек Фасихов
Hi, Daniel. I use the following settings: net.ipv4.tcp_syncookies = 0 net.ipv4.tcp_moderate_rcvbuf=0 net.ipv4.tcp_low_latency = 1 Message "failed connection attempts", can be ignored, it is not just a server error, but the client. For example: A client lost its connection to the server. 2014-

[ceph-users] TCP failed connection attempts

2014-03-26 Thread Dan Van Der Ster
Hi all, I recently noticed our OSD servers have a very large number of TCP failed connection attempts. This is typical (output from netstat -s): 50329019 active connections openings 15218590 passive connection openings 44167087 failed connection attempts I’m not a TCP expert at all —