zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangyongqiang0617@163.com" <wangyongqiang0...@163.com>
Subject Re: Re: can not know the process name from zk log
Date Wed, 12 Sep 2018 08:33:32 GMT
from zk log, i can get the ip and port,  i think if zk can print the process info with the
ip and port , will help us in some cases

From: Norbert Kalmar
Date: 2018-09-11 19:39
To: user
Subject: Re: can not know the process name from zk log
What do you mean by process name?
ZK doesn't know the client process, only the IP address.
If you mean what process has led to connection close (like error in
establishing session), previous logs should be useful.
Which version of ZK is this? On mster I see this as debug level log.
On Tue, Sep 11, 2018 at 1:29 PM wangyongqiang0617@163.com <
wangyongqiang0617@163.com> wrote:
> in ZK log, there are some close socket logs as follows:
>  [Thread-77061] INFO
> org.apache.zookeeper.server.NIOServerCnxn.closeSock(1007) -Closed socket
> connection for client /x.x.x.x:54312 (no session established for client)
> from this log info, i can not know the process name, because the port
> 54312 should be release by the process
> is there any useful methods?
> wangyongqiang0617@163.com
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message