RE: Too many open files in kafka 0.9

2017-12-07 Thread REYMOND Jean-max (BPCE-IT - SYNCHRONE TECHNOLOGIES)
many open files in kafka 0.9 There is KAFKA-3317 which is still open. Have you seen this ? http://search-hadoop.com/m/Kafka/uyzND1KvOlt1p5UcE?subj=Re+Brokers+is+down+by+java+io+IOException+Too+many+open+files+ On Wed, Nov 29, 2017 at 8:55 AM, REYMOND Jean-max (BPCE-IT - SYNCHRONE TECHNOLOGIES

RE: Too many open files in kafka 0.9

2017-11-30 Thread REYMOND Jean-max (BPCE-IT - SYNCHRONE TECHNOLOGIES)
difference with the others brokers., so is it safe to remove these directories __consumer_offsets-XX if not acceded since one day ? -Message d'origine- De : Ted Yu [mailto:yuzhih...@gmail.com] Envoyé : mercredi 29 novembre 2017 19:41 À : users@kafka.apache.org Objet : Re: Too many open files

Re: Too many open files in kafka 0.9

2017-11-29 Thread Ted Yu
There is KAFKA-3317 which is still open. Have you seen this ? http://search-hadoop.com/m/Kafka/uyzND1KvOlt1p5UcE?subj=Re+Brokers+is+down+by+java+io+IOException+Too+many+open+files+ On Wed, Nov 29, 2017 at 8:55 AM, REYMOND Jean-max (BPCE-IT - SYNCHRONE TECHNOLOGIES) <jean-max.reymond.prest

Too many open files in kafka 0.9

2017-11-29 Thread REYMOND Jean-max (BPCE-IT - SYNCHRONE TECHNOLOGIES)
We have a cluster with 3 brokers and kafka 0.9.0.1. One week ago, we decide to adjust log.retention.hours from 10 days to 2 days. Stop and go the cluster and it is ok. But for one broker, we have every day more and more datas and two days later crash with message too many open files. lsof

Re: Brokers is down by “java.io.IOException: Too many open files”

2017-05-17 Thread Jeffrey Groves
I’ve seen where setting network configurations within the OS can help mitigate some of the “Too many open files” issue as well. Try changing the following items on the OS to try to have used network connections close as quickly as possible in order to keep file handle use down: sysctl -w

Re: Brokers is down by “java.io.IOException: Too many open files”

2017-05-16 Thread Yang Cui
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 time

Re: Brokers is down by “java.io.IOException: Too many open files”

2017-05-15 Thread Sam Pegler
/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. > >

Re: Brokers is down by “java.io.IOException: Too many open files”

2017-05-12 Thread Caleb Welton
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 f

Brokers is down by “java.io.IOException: Too many open files”

2017-05-12 Thread Yang Cui
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

Re: Too many open files

2016-09-14 Thread Jaikiran Pai
: [2016-09-12 09:34:49,522] ERROR Error while accepting connection (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422

Re: Too many open files

2016-09-14 Thread Jaikiran Pai
] ERROR Error while accepting connection (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422

Too many open files

2016-09-12 Thread Michael Sparr
5-node Kafka cluster, bare metal, Ubuntu 14.04.x LTS with 64GB RAM, 8-core, 960GB SSD boxes and a single node in cluster is filling logs with the following: [2016-09-12 09:34:49,522] ERROR Error while accepting connection (kafka.network.Acceptor) java.io.IOException: Too many open files

Re: Too Many Open Files

2016-08-01 Thread Thakrar, Jayesh
ul 31, 2016 at 4:14 PM, Kessiler Rodrigues <kessi...@callinize.com> wrote: > I’m still experiencing this issue… > > Here are the kafka logs. > > [2016-07-31 20:10:35,658] ERROR Error while accepting connection > (kafka.network.Acceptor) &g

Re: Too Many Open Files

2016-08-01 Thread Scott Thibault
0:35,658] ERROR Error while accepting connection > (kafka.network.Acceptor) > java.io.IOException: Too many open files > at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) > at > sun.nio.ch.ServerSocketChannelImpl.acc

Re: Too Many Open Files

2016-08-01 Thread Kessiler Rodrigues
t give you a >> place to start figuring out what's open and why. >> >>-Steve >> >>> On Jul 31, 2016, at 4:14 PM, Kessiler Rodrigues <kessi...@callinize.com> >> wrote: >>> >>> I’m still experiencing this issue… >

Re: Too Many Open Files

2016-08-01 Thread Anirudh P
; > > I’m still experiencing this issue… > > > > Here are the kafka logs. > > > > [2016-07-31 20:10:35,658] ERROR Error while accepting connection > (kafka.network.Acceptor) > > java.io.IOException: Too many open files > >at sun.nio.ch.ServerSocketChan

Re: Too Many Open Files

2016-08-01 Thread Steve Miller
ror while accepting connection > (kafka.network.Acceptor) > java.io.IOException: Too many open files >at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) >at > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) >

Re: Too Many Open Files

2016-07-31 Thread Chris Richardson
maybe 4000 per broker and most > clusters have a lot fewer, so consider adding brokers and spreading > partitions around a bit. > > Gwen > > On Fri, Jul 29, 2016 at 12:00 PM, Kessiler Rodrigues > <kessi...@callinize.com> wrote: > > Hi guys, > > > > I have

RE: Too Many Open Files

2016-07-31 Thread Krzysztof Nawara
Maybe you are exhausting your sockets, not file handles for some reason? From: Kessiler Rodrigues [kessi...@callinize.com] Sent: 31 July 2016 22:14 To: users@kafka.apache.org Subject: Re: Too Many Open Files I’m still experiencing this issue… Here

Re: Too Many Open Files

2016-07-31 Thread Kessiler Rodrigues
I’m still experiencing this issue… Here are the kafka logs. [2016-07-31 20:10:35,658] ERROR Error while accepting connection (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

Re: Too Many Open Files

2016-07-30 Thread Kessiler Rodrigues
e.com> wrote: >> Hi guys, >> >> I have been experiencing some issues on kafka, where its throwing too many >> open files. >> >> I have around of 6k topics and 5 partitions each. >> >> My cluster was made with 6 brokers. All of them are run

Re: Too Many Open Files

2016-07-29 Thread Gwen Shapira
and spreading partitions around a bit. Gwen On Fri, Jul 29, 2016 at 12:00 PM, Kessiler Rodrigues <kessi...@callinize.com> wrote: > Hi guys, > > I have been experiencing some issues on kafka, where its throwing too many > open files. > > I have around of 6k topics and 5 partiti

Too Many Open Files

2016-07-29 Thread Kessiler Rodrigues
Hi guys, I have been experiencing some issues on kafka, where its throwing too many open files. I have around of 6k topics and 5 partitions each. My cluster was made with 6 brokers. All of them are running Ubuntu 16 and the file limits settings are: `cat /proc/sys/fs/file-max` 200

java.io.IOException: Too many open files error

2015-01-15 Thread Sa Li
Hi, all We test our production kafka, and getting such error [2015-01-15 19:03:45,057] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

Re: java.io.IOException: Too many open files error

2015-01-15 Thread Gwen Shapira
/sysctl.conf Gwen On Thu, Jan 15, 2015 at 12:30 PM, Sa Li sal...@gmail.com wrote: Hi, all We test our production kafka, and getting such error [2015-01-15 19:03:45,057] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files

Re: java.io.IOException: Too many open files error

2015-01-15 Thread István
test our production kafka, and getting such error [2015-01-15 19:03:45,057] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept

Re: java.io.IOException: Too many open files error

2015-01-15 Thread Sa Li
(kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept( ServerSocketChannelImpl.java:241) at kafka.network.Acceptor.accept(SocketServer.scala:200

Re: Too Many Open Files Broker Error

2014-07-10 Thread Lung, Paul
does seem like a magic number, since that¹s seems to be the number that the Kafka broker machine can handle before it gives me the ³Too Many Open Files² error and eventually crashes. Paul Lung On 7/8/14, 9:29 PM, Jun Rao jun...@gmail.com wrote: Does your test program run as the same user

Re: Too Many Open Files Broker Error

2014-07-09 Thread hsy...@gmail.com
can handle before it gives me the ³Too Many Open Files² error and eventually crashes. Paul Lung On 7/8/14, 9:29 PM, Jun Rao jun...@gmail.com wrote: Does your test program run as the same user as Kafka broker? Thanks, Jun On Tue, Jul 8, 2014 at 1:42 PM, Lung, Paul pl...@ebay.com

Re: Too Many Open Files Broker Error

2014-07-09 Thread François Langelier
me the ³Too Many Open Files² error and eventually crashes. Paul Lung On 7/8/14, 9:29 PM, Jun Rao jun...@gmail.com wrote: Does your test program run as the same user as Kafka broker? Thanks, Jun On Tue, Jul 8, 2014 at 1:42 PM, Lung, Paul pl...@ebay.com wrote: Hi

Re: Too Many Open Files Broker Error

2014-07-09 Thread Jun Rao
(FdTest.java:108) But all I have to do is sleep for a bit on the client, and then retry again. However, 4K does seem like a magic number, since that¹s seems to be the number that the Kafka broker machine can handle before it gives me the ³Too Many Open Files² error and eventually crashes. Paul Lung

Re: Too Many Open Files Broker Error

2014-07-08 Thread Jun Rao
java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163) at kafka.network.Acceptor.accept(SocketServer.scala:200) at kafka.network.Acceptor.run

Re: Getting java.io.IOException: Too many open files

2014-06-25 Thread Lung, Paul
) at java.lang.Thread.run(Thread.java:679) [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept

Re: Getting java.io.IOException: Too many open files

2014-06-25 Thread Lung, Paul
cluster from 0.8.1 to 0.8.1.1. I¹m seeing the following error messages on the same 3 brokers once in a while: [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

Re: Getting java.io.IOException: Too many open files

2014-06-25 Thread Prakash Gowri Shankor
: Hi All, I just upgraded my cluster from 0.8.1 to 0.8.1.1. I¹m seeing the following error messages on the same 3 brokers once in a while: [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files

Getting java.io.IOException: Too many open files

2014-06-24 Thread Lung, Paul
Hi All, I just upgraded my cluster from 0.8.1 to 0.8.1.1. I’m seeing the following error messages on the same 3 brokers once in a while: [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files

Re: Getting java.io.IOException: Too many open files

2014-06-24 Thread Prakash Gowri Shankor
once in a while: [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163

Re: Getting java.io.IOException: Too many open files

2014-06-24 Thread Lung, Paul
:154) at java.lang.Thread.run(Thread.java:679) [2014-06-24 21:43:44,711] ERROR Error in acceptor (kafka.network.Acceptor) java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

Re: too many open files - broker died

2013-11-02 Thread Kane Kane
) at kafka.server.AbstractFetcherThread.doWork(Unknown Source) at kafka.utils.ShutdownableThread.run(Unknown Source) Caused by: java.io.FileNotFoundException: /disk1/kafka-logs/perf1-4/00010558.index (Too many open files) at java.io.RandomAccessFile.open(Native Method

too many open files - broker died

2013-11-01 Thread Kane Kane
) at kafka.server.AbstractFetcherThread.doWork(Unknown Source) at kafka.utils.ShutdownableThread.run(Unknown Source) Caused by: java.io.FileNotFoundException: /disk1/kafka-logs/perf1-4/00010558.index (Too many open files) at java.io.RandomAccessFile.open(Native Method

Re: Too many open files

2013-09-26 Thread Jun Rao
Subject: Re: Too many open files If a client is gone, the broker should automatically close those broken sockets. Are you using a hardware load balancer? Thanks, Jun On Wed, Sep 25, 2013 at 4:48 PM, Mark static.void@gmail.com wrote: FYI if I kill all producers I don't see the number

Re: Too many open files

2013-09-26 Thread Mark
Berthet -Original Message- From: Jun Rao [mailto:jun...@gmail.com] Sent: Thursday, September 26, 2013 12:39 PM To: users@kafka.apache.org Subject: Re: Too many open files If a client is gone, the broker should automatically close those broken sockets. Are you using a hardware load

Re: Too many open files

2013-09-26 Thread Mark
in the same datacenter, we didn't see this issue, the socket count matches on both ends. Nicolas Berthet -Original Message- From: Jun Rao [mailto:jun...@gmail.com] Sent: Thursday, September 26, 2013 12:39 PM To: users@kafka.apache.org Subject: Re: Too many open files

RE: Too many open files

2013-09-26 Thread Nicolas Berthet
. Are you also experiencing the issue in a cross data center context ? Best regards, Nicolas Berthet -Original Message- From: Mark [mailto:static.void@gmail.com] Sent: Friday, September 27, 2013 6:08 AM To: users@kafka.apache.org Subject: Re: Too many open files What OS settings

Re: Too many open files

2013-09-25 Thread Mark
No. We are using the kafka-rb ruby gem producer. https://github.com/acrosa/kafka-rb Now that you asked that question I need to ask. Is there a problem with the java producer? Sent from my iPhone On Sep 24, 2013, at 9:01 PM, Jun Rao jun...@gmail.com wrote: Are you using the java producer

Re: Too many open files

2013-09-25 Thread Jun Rao
We haven't seen any socket leaks with the java producer. If you have lots of unexplained socket connections in established mode, one possible cause is that the client created new producer instances, but didn't close the old ones. Thanks, Jun On Wed, Sep 25, 2013 at 6:08 AM, Mark

Re: Too many open files

2013-09-25 Thread Mark
Any other ideas? On Sep 25, 2013, at 9:06 AM, Jun Rao jun...@gmail.com wrote: We haven't seen any socket leaks with the java producer. If you have lots of unexplained socket connections in established mode, one possible cause is that the client created new producer instances, but didn't close

Re: Too many open files

2013-09-25 Thread Mark
FYI if I kill all producers I don't see the number of open files drop. I still see all the ESTABLISHED connections. Is there a broker setting to automatically kill any inactive TCP connections? On Sep 25, 2013, at 4:30 PM, Mark static.void@gmail.com wrote: Any other ideas? On Sep 25,

Re: Too many open files

2013-09-25 Thread Jun Rao
If a client is gone, the broker should automatically close those broken sockets. Are you using a hardware load balancer? Thanks, Jun On Wed, Sep 25, 2013 at 4:48 PM, Mark static.void@gmail.com wrote: FYI if I kill all producers I don't see the number of open files drop. I still see all

Too many open files

2013-09-24 Thread Mark
Our 0.7.2 Kafka cluster keeps crashing with: 2013-09-24 17:21:47,513 - [kafka-acceptor:Acceptor@153] - Error in acceptor java.io.IOException: Too many open The obvious fix is to bump up the number of open files but I'm wondering if there is a leak on the Kafka side and/or our

Re: Too many open files

2013-09-24 Thread Jun Rao
Are you using the java producer client? Thanks, Jun On Tue, Sep 24, 2013 at 5:33 PM, Mark static.void@gmail.com wrote: Our 0.7.2 Kafka cluster keeps crashing with: 2013-09-24 17:21:47,513 - [kafka-acceptor:Acceptor@153] - Error in acceptor java.io.IOException: Too many open

Re: java.net.SocketException: Too many open files

2013-08-02 Thread Felix GV
connections for and what state are those connections in? Thanks, Jun On Thu, Aug 1, 2013 at 9:04 AM, Nandigam, Sujitha snandi...@verisign.com wrote: Hi, In producer I was continuously getting this exception java.net.SocketException: Too many open files even though I added

java.net.SocketException: Too many open files

2013-08-01 Thread Nandigam, Sujitha
Hi, In producer I was continuously getting this exception java.net.SocketException: Too many open files even though I added the below line to /etc/security/limits.conf kafka-0.8.0-beta1-src-nofile983040 ERROR Producer connection to localhost:9093 unsuccessful

Re: java.net.SocketException: Too many open files

2013-08-01 Thread Jun Rao
files even though I added the below line to /etc/security/limits.conf kafka-0.8.0-beta1-src-nofile983040 ERROR Producer connection to localhost:9093 unsuccessful (kafka.producer.SyncProducer) java.net.SocketException: Too many open files Please help me how to resolve