[ 
https://issues.apache.org/jira/browse/KAFKA-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

david updated KAFKA-3317:
-------------------------
    Description: 
there is much open files in my java app client which write msg to kafka broker, 
i used 
{quote}
       <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka-clients</artifactId>
            <version>0.9.0.1</version>
        </dependency>
{quote}
new api to write msg. when i use

{quote}
lsof -p 8780 | wc -l
19184
lsof -p 8780 | grep XmlIpcRegSvc | wc -l
4920
lsof -p 8780 | grep pipe | wc -l
9576
lsof -p 8780 | grep eventpoll | wc -l
4792
{quote}

where 8780 is my java app pid.

{quote}
java    37121  app *796u  IPv6          960673997        0t0       TCP 
mad183:50213->mad180:XmlIpcRegSvc (ESTABLISHED)
{quote}

there are many  ESTABLISHED XmlIpcRegSvc , and seems not closed.
and It likes use ipv6 .


  was:
there is much open files in my java app client which write msg to kafka broker, 
i used 
       <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka-clients</artifactId>
            <version>0.9.0.1</version>
        </dependency>
new api to write msg.
when i use

ps -ef | grep myapp | grep -v 'grep'  | awk '{print $2}' | xargs lsof -p | wc -l
19184
lsof -p 8780 | grep XmlIpcRegSvc | wc -l
4920
lsof -p 8780 | grep pipe | wc -l
9576
lsof -p 8780 | grep eventpoll | wc -l
4792

where 8780 is my java app pid.

java    37121  app *796u  IPv6          960673997        0t0       TCP 
mad183:50213->mad180:XmlIpcRegSvc (ESTABLISHED)


there are many  ESTABLISHED XmlIpcRegSvc , and seems not closed.
and It likes use ipv6 .



> too many open files between kafka borkers or may between borker and clients 
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-3317
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3317
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.9.0.0, 0.9.0.1
>         Environment: CentOS release 6.5 (Final)
> kafka_2.11-0.9.0.1
>            Reporter: david
>
> there is much open files in my java app client which write msg to kafka 
> broker, i used 
> {quote}
>        <dependency>
>           <groupId>org.apache.kafka</groupId>
>           <artifactId>kafka-clients</artifactId>
>           <version>0.9.0.1</version>
>       </dependency>
> {quote}
> new api to write msg. when i use
> {quote}
> lsof -p 8780 | wc -l
> 19184
> lsof -p 8780 | grep XmlIpcRegSvc | wc -l
> 4920
> lsof -p 8780 | grep pipe | wc -l
> 9576
> lsof -p 8780 | grep eventpoll | wc -l
> 4792
> {quote}
> where 8780 is my java app pid.
> {quote}
> java    37121  app *796u  IPv6          960673997        0t0       TCP 
> mad183:50213->mad180:XmlIpcRegSvc (ESTABLISHED)
> {quote}
> there are many  ESTABLISHED XmlIpcRegSvc , and seems not closed.
> and It likes use ipv6 .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to