linux - lsof shows difference in open file descriptors in riak process -


when doing lsof -l shows open file descriptors (~180000), when checking lsof -lp pid shows ~1000. know process pid pid has ~170000 file descriptors open.

here logs:

root@riak:/proc/3238# lsof -l | grep 3238 | wc -l 172923 root@riak:/proc/3238# lsof -lp 3238 | wc -l 1075 root@riak:/proc/3238# ls -la | wc -l 44 root@riak:/proc/3238# ls -la fd | wc -l 924 

why there such difference?


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -