-
January 3rd, 2008, 08:45 AM
#1
The limit on the number of open files in Unix and Linux also applies to the number of open sockets. Hence, in a production installation of Lightstreamer Server, you must take this limit under control.
We choose to put the "ulimit" command in the Server launch script as a memo for this issue, even though it might not work in some environments. For testing purpose, you can ignore the issue.
Dario
-
July 3rd, 2009, 02:58 AM
#2
We have purchased Allegro licenses and are attempting to set up Lightstreamer in a production environment.
We are receiving the same "ulimit: open files: cannot modify limit: Operation not permitted" error while trying to run the LS.sh file.
We seem to be unable to set the values to unlimited.
How should we determine adequate values for the -Hn and -Sn limits?
Thanks
-
July 3rd, 2009, 11:27 AM
#3
As explained previously, these ulimit settings are just a memo for the system administrator of the box running Lightstreamer. She should know what is the default limit on the number of TCP sockets (file descriptors) imposed by that particular Unix/Linux installation. Then, if such number is not enough to handle the desired number of concurrent connections [as a rule of thumb, double the number of maximum number of expected concurrent users to estimate the needed file descriptors], she should change some operating system setting to increase such number. The ulimit commands are just a typical way of doing this, which is very system dependent.
I hope that helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:37 PM.
Bookmarks