If your IBM® Sametime® server is hosted
on Linux™, increase the number
of concurrent open files on the server to prevent performance problems.
About this task
Java™ opens many
files and Sametime uses
a lot of file descriptors. When a high number of concurrent users
(for example, 1,000 or more) connect to the Sametime Community Server,
the server may run out of file descriptors.
Procedure
- Follow the procedure that matches the way you start the Sametime server, either
as a system service or as a regular process.
- If you start the server as a system service
- Use a text editor and open the /etc/initscript file
and add the following lines to the file:
ulimit -Hn 65535
ulimit -Sn 65535
Important: Exercise caution
while editing the /etc/initscript file. If you
do not do this properly, your system may fail to boot properly. Consult
your system documentation for more details.
- If no file of this name exists on your system, create a file with
that name and add the following lines to the file:
ulimit -Hn 65535
ulimit -Sn 65535
eval exec "$4"
- Save the file.
- If you start the server as a regular process
- Use a text editor and open the /etc/security/limits.conf file.
- Increase the upper limit on the number of file descriptors by
adding the following lines to the file:
* soft nofile 65535
* hard nofile 65535
- Save the file.
- Restart the Linux server
for the operating system change to take effect for all processes.