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

SQL php on different pages to Insert (mysqli) -

php - How can an email be returned from Stripe Checkout? -

sql - Partition elimination in Greenplum -