-
Notifications
You must be signed in to change notification settings - Fork 246
Kafka Web Console release v2.0.0 is creating a high number of open file handles (against Kafka 0.8.1.1, ZooKeeper 3.3.4) #47
Comments
Its like the files are not being closed I too experience this issue. core file size (blocks, -c) 0 |
I wrote up a stackoverflow issue http://stackoverflow.com/questions/28549868/kafka-web-console-using-twitter-finagle-not-responding before I found this thread. The only thing I could do was to restart the server. What have you been doing? |
Hey What we have been doing is setting the number of open files on our system Sean On Mon, Feb 16, 2015 at 10:58 PM, Foo Lim notifications@github.com wrote:
|
Hi, |
Yeah we have moved away and developed our own solution thats very similar On Tue, Feb 17, 2015 at 9:01 AM, Foo Lim notifications@github.com wrote:
|
This is really a major issue. Not only does Kafka become unstable but it can reek havoic on any other process that needs to use ports when the "open files" limit has been reached. I've also observed instability even when that max has not been reached. To fix the issue we used to kill web-console. I can't remember if we also then occassionally had to rebuild some of the topic files or not. You'll also notice a ton of messages being generated in your zookeeper log file. The log file can quickly grow to be quite large. Due to this issue we've stopped using kafka-web console and are also implementing our own solution. I love that @claudemamo created this and has offerred it to be used by others (it's a nice little GUI). Unfortunately I don't think the Kafka Wiki should suggest people consider using |
Duplicate of #30 |
This isint a duplicate. On Wed, Feb 18, 2015 at 7:43 AM, Claude Mamo notifications@github.com
|
I tried the fork in development, & open files are kept under control. Will roll to production in the next few days to see if this helps.. |
With https://github.com/ibanner56/kafka-web-console the system still hangs but it takes longer & not due to too many connections to kafka. I get a bunch of these when I do a java 16240 root 1535w FIFO 0,8 0t0 42163244 pipe Eventually, the system runs out of open files.. Don't have time to debug this at the moment. |
I'm running Kafka Web Console release v2.0.0 against Kafka 0.8.1.1 and ZooKeeper 3.3.4
I'm consistently seeing the number of open file handles increasing when I launch Kafka Web Console after navigating to a topic on Zookeeper.
Once the file handles start to increase, they increase without any more navigation being done in the browser - meaning I only need to launch the web console and do nothing else beside monitor the number of open files and I'll see it increase every few seconds.
I've confirmed there are no other producers or consumers connecting to Kafka or Zookeeper.
After this runs for a while you'll get either of these errors:
You'll get an error like this:
The ulimit for the id that my Kafka process runs under has a very large value for the "open files".
Note, I've also tried this Pull Request from @ibanner56 ( #40) which is related to these issues (#36 and #37 from @mungeol) but it did not fix the issue.
To reproduce on Linux do the following.
$INSTALLDIR/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --create --replication-factor 1 --partitions 4 --topic test2
Sample output from the script in Topic Feed hangs browser #4 after running for a couple of hours (with 8 topics defined on the Zookeeper instance, 1 replication each, 4 partitions each).
The text was updated successfully, but these errors were encountered: