Sun/OS: 裝機後的必設 config
查看 dmesg 出現下列訊息
Jun 8 11:18:48 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25319.
Jun 8 11:19:05 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25370.
Jun 8 11:19:34 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25377.
Jun 8 11:19:35 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25392.
Jun 8 11:19:49 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25485.
經過 Google 大神 的說明, 要在 /etc/system 加入
set rlim_fd_max=8192
set rlim_fd_cur=1024
因為這項設定必需經過重開機才能生效, 所以列為裝機後的必設參數
Jun 8 11:18:48 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25319.
Jun 8 11:19:05 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25370.
Jun 8 11:19:34 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25377.
Jun 8 11:19:35 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25392.
Jun 8 11:19:49 m4000b genunix: [ID 120576 kern.notice] basic rctl process.max-file-descriptor (value 256) exceeded by process 25485.
經過 Google 大神 的說明, 要在 /etc/system 加入
set rlim_fd_max=8192
set rlim_fd_cur=1024
因為這項設定必需經過重開機才能生效, 所以列為裝機後的必設參數
留言
張貼留言