Spotfire Server opens many connections, and each requires a file descriptor. For performance and security reasons, Linux has limited the number of connections that can be opened by a process. You may want to increase this limit.
Procedure
-
Open a terminal as root and go to the directory that contains the following file:
/etc/security/limits.conf.
-
Edit the file, adding the following text lines in the given order:
spotuser soft nofile 8192
spotuser hard nofile 65000
where
- spotuser is the account that is running the
Spotfire Server.
- nofile refers to the number of files that can be opened by a process.
The soft limit may be changed later, up to the hard limit value. The hard limit can only be lowered (except by a root user).
In this example, 8,192 files (including sockets) can be opened. The setting should be high enough for the system, but not too high.
Note: To test the limit without editing the file, you can add a line similar to the following:
ulimit -n 32000
where
32000 represents the file limit that you want to test.
Note: The hard limit can be raised, by a root user, up to the limit indicated in this setting:
/proc/sys/fs/file-max
.