Print this page
3772 consider raising default descriptor soft limit
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/conf/param.c
          +++ new/usr/src/uts/common/conf/param.c
↓ open down ↓ 394 lines elided ↑ open up ↑
 395  395  #endif
 396  396          { nomagicstr, 0, 0, NULL, NULL, NULL },
 397  397          { nomagicstr, 0, 0, NULL, NULL, NULL },
 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      - * symbols added to make changing max-file-descriptors
      405 + * symbols added to make changing proc.max-file-descriptor
 406  406   * simple via /etc/system
 407  407   */
 408      -#define RLIM_FD_CUR 0x100
      408 +#define RLIM_FD_CUR 0x10000
 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 ↓ 327 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX