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 ↓ 397 lines elided ↑ open up ↑
 398  398          { nomagicstr, 0, 0, NULL, NULL, NULL },
 399  399          { nomagicstr, 0, 0, NULL, NULL, NULL }
 400  400  };
 401  401  int nexectype = sizeof (execsw) / sizeof (execsw[0]);   /* # of exec types */
 402  402  kmutex_t execsw_lock;   /* Used for allocation of execsw entries */
 403  403  
 404  404  /*
 405  405   * symbols added to make changing max-file-descriptors
 406  406   * simple via /etc/system
 407  407   */
 408      -#define RLIM_FD_CUR 0x100
      408 +#define RLIM_FD_CUR 0x800
 409  409  #define RLIM_FD_MAX 0x10000
 410  410  
 411  411  uint_t rlim_fd_cur = RLIM_FD_CUR;
 412  412  uint_t rlim_fd_max = RLIM_FD_MAX;
 413  413  
 414  414  /*
 415  415   * (Default resource limits were formerly declared here, but are now provided by
 416  416   * the more general resource controls framework.)
 417  417   */
 418  418  
↓ open down ↓ 335 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX