I'm getting a "Too many open files" on a fileserver. Is it possible to list how many open files each process has? If so how do you do that?
Greets, Chris
In article 4d4321660708210459n34a90e06u630ea0381f8d18ac@mail.gmail.com, Christian Nygaard christiannygaard@gmail.com wrote:
I'm getting a "Too many open files" on a fileserver. Is it possible to list how many open files each process has? If so how do you do that?
Have a look at the "lsof" command.
Cheers Tony
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Christian Nygaard Sent: Tuesday, August 21, 2007 7:59 AM To: CentOS mailing list Subject: [CentOS] Tracking how many open files a process has?
I'm getting a "Too many open files" on a fileserver. Is it possible to list how many open files each process has? If so how do you do that?
What you are looking for is 'lsof'
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.