Setting File Descriptor kernel parameter solaris


For file descriptor, add this lines to /etc/system
# vi /etc/system
----------------
set rlim_fd_max=8192
#(def: 1024, Process open file descriptors limit; should account for the expected load, for the associated sockets, files, pipes if any)
set rlim_fd_cur=8192
#(def: 256, Process open file descriptors limit; should account for the expected load, for the associated sockets, files, pipes if any)
set sq_max_size=0
#(Controls streams driver queue size; setting to 0 makes it infinity so the performance runs wont be hit by lack of buffer space)
set tcp:tcp_conn_hash_size=8192
#(The connection hash table keeps all the information for active TCP connections)
set autoup=60
set pcisch:pci_stream_buf_enable=0
-----------------

You should reboot your server to make changes.

Popular posts from this blog

Howto configure boot device order on ILOM

Installing Depot files on HP-UX 11.23 ia64

SAN Switch Config Command