Computing.Net > Forums > Unix > how many file descriptors used

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how many file descriptors used

Reply to Message Icon

Name: bamore
Date: December 24, 2003 at 11:43:35 Pacific
OS: UNIX
CPU/Ram: sparc
Comment:

In my application for a process system is running out of file descriptors( MAX is configured as 64 ).
Is there any way i can call some function(s) in a C program to find out number of file descriptors currently used in a process?
Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: thepubba
Date: December 30, 2003 at 10:46:14 Pacific
Reply:

Look at the lsof command. If your process is running out of file descriptions, you might want to tune your kernel to prevent this problem.


0

Response Number 2
Name: chandan
Date: January 13, 2004 at 23:07:50 Pacific
Reply:

64 descriptora you can open.0-63


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: how many file descriptors used

How many types of UNIX is there? www.computing.net/answers/unix/how-many-types-of-unix-is-there/1452.html

send random file (sendmail) www.computing.net/answers/unix/send-random-file-sendmail/8046.html

Unix Programming www.computing.net/answers/unix/unix-programming/4583.html