andreiz / php-zookeeper

A PHP extension for interfacing with Apache ZooKeeper
Other
449 stars 215 forks source link

Zookeeper connection timeout #24

Open doubaokun opened 11 years ago

doubaokun commented 11 years ago

2013-08-29 14:52:28,915:28847(0x1029c1000):ZOO_WARN@zookeeper_interest@1557: Exceeded deadline by 88155ms 2013-08-29 14:52:28,915:28847(0x1029c1000):ZOO_ERROR@handle_socket_error_msg@1643: Socket [192.168.1.149:2181] zk retcode=-7, errno=60(Operation timed out): connection to 192.168.1.149:2181 timed out (exceeded timeout by 84822ms) 2013-08-29 14:52:28,915:28847(0x1029c1000):ZOO_WARN@zookeeper_interest@1557: Exceeded deadline by 88155ms

ryanuber commented 11 years ago

Can you verify that you are running Oracle JRE and not OpenJDK? I had this same problem some time ago and it turned out to be an issue with the OpenJDK + Zookeeper combo.

doubaokun commented 11 years ago

I use OpenJDK currently, I will test Oracle JRE later.