I think your lsof output is listing threads, not simply processes (if you look at the output instead of piping it to wc you'll see that the PID is the same and only the TID is different). If you use `lsof /opt/kafka/data/...` (i.e without the grep) instead it will just show the processes.
On 22 August 2017 at 10:22, Zongwen Li <z...@thoughtworks.com> wrote: > hi all, > > When i use kafka cluster in our project, we found a problem, each > file(log, index, timeidex) of the kafka will be open many times(about 70+), > was this normal? or was a bug? how to fix this. > > > > Thanks for your help! > -- > *Best Regards!* > *_______________________________________________* > *Zongwen Li(李宗文)**Senior Consultant* > Email z...@thoughtworks.com > Mobile +86 15810739481 <http://qianyun.hu/> > <https://thoughtworks.jiveon.com/http%3A%2F%2Fwww.thoughtworks.com%2F>[image: > ThoughtWorks] <https://thoughtworks.com> > >