Lotus on linux 點樣解決 ulimit 警告 ?

如果新install lotus domino 係 linux , 隨時會出警告 Maximum number of file handles allowed for Domino is 1024


 

Screenshot-8

 


如何是好?

 

 

好簡單.... 改兩個檔案(以下設定只係CentOS 5.2 試過... )

1. 改 /etc/security/limits.conf

加入

notes soft nofile 20000
notes hard nofile 49152

(notes = 你個lotus domino server 的啟動user , 一定不是root ... ) , 磪保 pam_limits.so 生效 , 在redhat , 預設是在 /etc/pam.d/system-auth 啟動

2. 改你的domino startup script

在start session 加入 ulimit -n 20000

 


Screenshot-8

 

你可以係我的舊文章找到startup script

IBM 網站都有 ...

ref :

https://www-304.ibm.com/support/docview.wss?uid=swg21221870

https://www-304.ibm.com/support/docview.wss?rs=0&uid=swg21173499

 

 

Add comment


Security code
Refresh