[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

maoling updated ZOOKEEPER-3884:
-------------------------------
    Description: 
{code:java}
2020-07-12 09:52:22,663 [myid:localhost:2181] - INFO  
[main-SendThread(localhost:2181):ClientCnxn$SendThread@1420] - Session 
establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, session id = 
0x10001a6779c0b5a, negotiated timeout = 30000WATCHER::WatchedEvent 
state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] create /test5
Created /test5
[zk: localhost:2181(CONNECTED) 1] create /test6
Created /test6
[zk: localhost:2181(CONNECTED) 2]
{code}
{code:java}
[root@zk-test001 bin]# top|grep 15206
15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.64 java        
                                                                           
15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.65 java        
                                                                           
15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.66 java        
                                                                           
15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.67 java        
                                                                           
{code}
{code:java}
[root@zk-test001 bin]# ./zkServer.sh status
/usr/bin/java
ZooKeeper JMX enabled by default
Using config: /data/software/apache-zookeeper-3.6.1-bin/bin/../conf/zoo.cfg
Client port found: 2181. Client address: localhost.
Error contacting service. It is probably not running.{code}
{code:java}
[root@zk-test001 conf]# jstat -gcutil 15206 200
  S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT  
 
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
 18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
28.098
{code}

  was:
{code:java}
[root@zk-test001 bin]# ./zkServer.sh status
/usr/bin/java
ZooKeeper JMX enabled by default
Using config: /data/software/apache-zookeeper-3.6.1-bin/bin/../conf/zoo.cfg
Client port found: 2181. Client address: localhost.
Error contacting service. It is probably not running.{code}


> zkServer.sh status doesn't work when we do a large scale benchmark test
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3884
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3884
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: maoling
>            Assignee: maoling
>            Priority: Major
>
> {code:java}
> 2020-07-12 09:52:22,663 [myid:localhost:2181] - INFO  
> [main-SendThread(localhost:2181):ClientCnxn$SendThread@1420] - Session 
> establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, session id = 
> 0x10001a6779c0b5a, negotiated timeout = 30000WATCHER::WatchedEvent 
> state:SyncConnected type:None path:null
> [zk: localhost:2181(CONNECTED) 0] create /test5
> Created /test5
> [zk: localhost:2181(CONNECTED) 1] create /test6
> Created /test6
> [zk: localhost:2181(CONNECTED) 2]
> {code}
> {code:java}
> [root@zk-test001 bin]# top|grep 15206
> 15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.64 java      
>                                                                              
> 15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.65 java      
>                                                                              
> 15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.66 java      
>                                                                              
> 15206 root      20   0   17.9g  12.4g  17308 S   0.3 83.2 213:37.67 java      
>                                                                              
> {code}
> {code:java}
> [root@zk-test001 bin]# ./zkServer.sh status
> /usr/bin/java
> ZooKeeper JMX enabled by default
> Using config: /data/software/apache-zookeeper-3.6.1-bin/bin/../conf/zoo.cfg
> Client port found: 2181. Client address: localhost.
> Error contacting service. It is probably not running.{code}
> {code:java}
> [root@zk-test001 conf]# jstat -gcutil 15206 200
>   S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     
> GCT   
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
>  18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   
> 28.098
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to