/etc/security/limits.conf --> chkconfig startup script
Hi,
I have a server setup to host a web application using apache tomcat, with high throughput. Due to the high load I have increased the Maximum file descriptor limits, in /etc/security/limits.conf Code:
* soft nofile 3072 Code:
#! /bin/bash Is there any way I can get the limits.conf to load prior to this startup script. any information on how and when these limits are loaded would be a great help. thanks, Mitchell |
Hi,
You can add: Code:
ulimit -HSn 3072 Cheers |
ulimit -n works
Hi,
Adding ulimit -n xxxx to the startup script works, however I am would prefer to know why I cannot use the limits set in /etc/security/limits.conf? Anyone?? Thanks M |
Settings inside the user's profile over rights limits.conf. You might want to start by checking the user's profile.... .( bashrc , .profile depending on the shell used)
|
All times are GMT -5. The time now is 01:33 PM. |