Print this page
3772 consider raising default descriptor soft limit

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/conf/param.c
          +++ new/usr/src/uts/common/conf/param.c
↓ open down ↓ 396 lines elided ↑ open up ↑
 397  397  #endif
 398  398          { nomagicstr, 0, 0, NULL, NULL, NULL },
 399  399          { nomagicstr, 0, 0, NULL, NULL, NULL },
 400  400          { nomagicstr, 0, 0, NULL, NULL, NULL },
 401  401          { nomagicstr, 0, 0, NULL, NULL, NULL }
 402  402  };
 403  403  int nexectype = sizeof (execsw) / sizeof (execsw[0]);   /* # of exec types */
 404  404  kmutex_t execsw_lock;   /* Used for allocation of execsw entries */
 405  405  
 406  406  /*
 407      - * symbols added to make changing max-file-descriptors
      407 + * symbols added to make changing proc.max-file-descriptor
 408  408   * simple via /etc/system
 409  409   */
 410      -#define RLIM_FD_CUR 0x100
      410 +#define RLIM_FD_CUR 0x10000
 411  411  #define RLIM_FD_MAX 0x10000
 412  412  
 413  413  uint_t rlim_fd_cur = RLIM_FD_CUR;
 414  414  uint_t rlim_fd_max = RLIM_FD_MAX;
 415  415  
 416  416  /*
 417  417   * (Default resource limits were formerly declared here, but are now provided by
 418  418   * the more general resource controls framework.)
 419  419   */
 420  420  
↓ open down ↓ 323 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX