Results 1 to 4 of 4

Thread: ULimit problem

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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

  2. #2
    Member
    Join Date
    Feb 2009
    Location
    Pyrmont
    Posts
    4
    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

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    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.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 07:37 PM.