UIimit issue running domino from an init.d script.
[email protected] Fri, 30 Jun 2006 10:01:37 +1000
| Newsgroups | gmane.linux.suse.domino |
|---|---|
| Message-ID | <OFEEC81304.657261C4-ONCA25719C.00802952-CA25719D.0000A7AC@treasury.tas.gov.au> |
G'day, I am quite new to the linux environment and running Domino on linux and we are migrating all our Domino servers off Win32 to Linux. So apologies if my issues seem to be a basic linux admin' issue. I have come across an issue since I have loaded up our hub server with a couple of hundred of users whereby I get an insufficient TCP sockets available error. Further research on the forum and technical knowledge base led me to technote 1193005 regarding file limits and this is exactly my issue. I proceeded to set ulimits as detailed below but appear to be possibly having an permissions issue to setting ulimit as the notes user the server runs as. I have set a soft value of 20000 and a hard value of 49152 for the notes user in /etc/security/limits.conf. I use an init.d script (rc_domino by Daniel Nashed) that calls the rc_domino_script (also by Daniel Nashed) therefore I am suspecting that the above limits.conf settings may not be applied. I added ulimit -n 20000 to the rc_domino_script on a line by itself under the section Linux platform tuning parameters. After restarting the server and issuing an $ulimit -n form the java controller console it returns 1024. When I manually ran the script I received the error ulimit: open files: cannot modify limit: Operation not permitted. This is the same error if i su as the notes user the script runs as and try to issue ulimit -n 20000. I am suspecting that this is a permissions issue for the notes user trying to set the ulimit and if this is the case I would like some assistance in resolving the problem. Many thanks in advance for any assistance given. cheers Jason. ---------------------------------------------------------------- CONFIDENTIALITY NOTICE AND DISCLAIMER - The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please advise this Office and delete all copies of the transmission from your records. No liability is accepted for any unauthorised use of the information contained in this transmission. ----------------------------------------------------------------