[ILUG] file handle debugging

From: John P. Looney (valen at domain tuatha.org)
Date: Thu 05 Sep 2002 - 09:55:22 IST


 I've a server running a lightly-loaded postgres install.

 Though lsof reckons only 1197 filehandles are in use, file-nr says
differently.

[root at domain jny06 /root]# lsof|wc -l
   1197
[root at domain jny06 /root]# cat /proc/sys/fs/file-nr
16384 15913 16384

 This upsets me.

 Is there any way I can work out how many file handles are in use & be
sure ? I don't like the idea of just increasing the number of filehandles
again. I want to know what's using them all.

John



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:40 GMT