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

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

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

java - Cannot secure connection using TLS -