You need to up your OS open file limits, something like this should work:

# /etc/security/limits.conf
* - nofile 65536




On Fri, May 12, 2017 at 6:34 PM, Yang Cui <y...@freewheel.tv> wrote:

> Our Kafka cluster is broken down by  the problem “java.io.IOException: Too
> many open files”  three times in 3 weeks.
>
> We encounter these problem on both 0.9.0.1 and 0.10.2.1 version.
>
> The error is like:
>
> java.io.IOException: Too many open files
>         at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
>         at sun.nio.ch.ServerSocketChannelImpl.accept(
> ServerSocketChannelImpl.java:422)
>         at sun.nio.ch.ServerSocketChannelImpl.accept(
> ServerSocketChannelImpl.java:250)
>         at kafka.network.Acceptor.accept(SocketServer.scala:340)
>         at kafka.network.Acceptor.run(SocketServer.scala:283)
>         at java.lang.Thread.run(Thread.java:745)
>
> Is someone encounter the similar problem?
>
>
>

Reply via email to