[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994430#comment-15994430
 ] 

ASF GitHub Bot commented on BOOKKEEPER-1008:
--------------------------------------------

Github user eolivelli commented on the issue:

    https://github.com/apache/bookkeeper/pull/116
  
    @merlimat  @kishorekasi 
    Even on @merlimat brach I get a lot of too many open files, like this
    ```
    2017-05-03 09:33:12,232 - ERROR - 
[ZKC-connect-executor-0:ZooKeeperClient$1$1@125] - Failed to create zookeeper 
instance to 127.0.0.1:15000
    java.io.IOException: Couldn't instantiate 
org.apache.zookeeper.ClientCnxnSocketNIO
            at 
org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2732)
            at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:728)
            at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:786)
            at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:653)
            at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient.createZooKeeper(ZooKeeperClient.java:324)
            at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$1$1.call(ZooKeeperClient.java:123)
            at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$1$1.call(ZooKeeperClient.java:114)
            at 
org.apache.bookkeeper.zookeeper.ZooWorker.syncCallWithRetries(ZooWorker.java:141)
            at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$1.call(ZooKeeperClient.java:114)
            at 
org.apache.bookkeeper.zookeeper.ZooKeeperClient$1.call(ZooKeeperClient.java:109)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: Too many open files
            at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
            at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:130)
            at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:69)
            at 
sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
            at java.nio.channels.Selector.open(Selector.java:227)
            at 
org.apache.zookeeper.ClientCnxnSocketNIO.<init>(ClientCnxnSocketNIO.java:44)
            at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown 
Source)
            at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at java.lang.Class.newInstance(Class.java:442)
            at 
org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2730)
            ... 13 more
    
    ```
    I'm running tests on two different laptops.
    Don't you get errors like those ?
    



> Move to netty4
> --------------
>
>                 Key: BOOKKEEPER-1008
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1008
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-client, bookkeeper-server
>    Affects Versions: 4.5.0
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>
> As part of the Yahoo push back and in general we would like to move to netty 
> 4, preferably netty 4.1.x for the client and server communication.
> This lays the ground work for zero copy, or very nearly zero copy handling on 
> the server side.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to