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 - Ebean enhancement ignores a model -

javascript - Reference error while trying to encapsulate an animation function -

SQL php on different pages to Insert (mysqli) -