Re: monitor port closed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23-1-2017 20:08, Ming Lin wrote:
> On Mon, Jan 23, 2017 at 6:28 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
> 
>>
>> Other nice tools to help you here to see where the socket has gone:
>>         sockstat
>>         lsof
>>
>> They can tell you if the socket is somewhere else opened.
>> And what the state is.
>>
>> Or they can tell you what other port(s) the monitor has opened.
> 
> # netstat -putnl |grep 7000
> <no output>

> # netstat -putna |grep 7000
> tcp        0      0 192.168.0.1:7000        192.168.122.131:53240
> ESTABLISHED 21980/ceph-mon

Is process 21980 listening on any other ports? the normal range would be
6800-7300 (as defined in config_opts.h)
And it would start on 6789, so quite a few rebinds have occurred.
unless have configured it differently.

> 
> Seems port 7000 is not listening, but still established with rbd client.
> 
> root@rbd-client:~# netstat -putna |grep 53240
> tcp        0      0 192.168.122.131:53240   192.168.0.1:7000
> ESTABLISHED -

Seems the OS thinks there is still a fully open connection, since both
ends are in ESTABLISHED.

--WjW


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux