Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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
    3. 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...
    4. 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...
    5. 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"
  3. #2

    Default Re: File Descriptors

    Jim Bo wrote:
    >
    > 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?
    Enjoy debugging some application that opens that many files at once!

    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139