Ask a Question related to Linux / Unix Administration, Design and Development.
-
Jim Bo #1
File Descriptors
Greetings, all.
Can anyone tell me if there are any risks associated with increasing
the number of file descriptors for an application/user process beyond
the default 1024?
I am running on Solaris 5.8.
Jim Bo Guest
-
Type Descriptors, Converters and designer serialization
(Type your message here) Hi ive built a custom menubar control that uses a strongly typedHashtable to store the colours needed to paint the... -
Displaying Open File Descriptors for a Process
Is there a system command a user can execute to display the current number of file descriptors a process is using? Thanks, Peter -
select() max number of file descriptors
It seems that my system's select call has a limitation of 1024 open file descriptors. I need to learn about this restriction as I am programming... -
Saving file descriptors
Hello, I have the following problem, I close fileno(stdout) and fileno(stderr), then dup() the closed descriptors to the descriptor pointing... -
increasing file descriptors (Solaris 8) on the fly
/bin/sh: % ulimit -a nofiles(descriptors) 256 % ulimit -n 1024 % ulimit -a nofiles(descriptors) 1024 See "man ulimit" -
Doug Freyburger #2
Re: File Descriptors
Jim Bo wrote:
Enjoy debugging some application that opens that many files at once!>
> Can anyone tell me if there are any risks associated with increasing
> the number of file descriptors for an application/user process beyond
> the default 1024?
I suspect the risks are organizational more than technical except
for programs using expect() system calls. More resources for a
rootkit to use if you get cracked, more interaction of two programs
opening the same file without checking optional locks, etc.
Many of the original limits come from a time when memory was much
more expensive.
Doug Freyburger Guest



Reply With Quote

