Limit of Client connections to single SILC server

Shih-Chieh Hsu <[email protected]>
Newsgroups gmane.network.silc.user
Message-ID <[email protected]>
Hello!Everyone,

Recently, I am testing the limit of Client connections to single SILC 
server.

After getting several suggestions of tests from SILCNet, I've confirmed 
the default maximum client connections to my local single SILC server is 
actually limited by "number of open files = 1040".

Is there anyway to extend this limit? Say, allow 10,000 clients connect 
to single SILC servers?

Is there any limits of open TCP sockets per process in SILC protocal? Or 
  the number of open connections is an asjustable parameters? Or it's 
actually my system limitations?

Many thanks,

Shih-Chieh

My test details is written below:

OS: Linux RH7.3
CPU: Duo 2.8GHz MEM: 2GB
SILC version:  silc-toolkit-0.9.12

After changing limit of open file per process to a large number 16384
 >ulimit -n 16384

I started my local silc server
/usr/local/silc/sbin/silcd

silc client "mybot" is launched from the same localhost and connect to 
the silc server as many as possible until the connection is refusred. 
The open file of the process of "silcd" stays at 1040
 >/usr/sbin/lsof -p <pid> |wc -l
 >1040

The silc server log file shows error message "too many open files"


ps. 1. the mybot program is modified a little bit for the test
        THe "JOIN channel" is commented out.
     2. Once the "JOIN Channel" turn on, the notify message will deliver 
to channel members which connects previously. After ~900 clients connect 
to SILC server, the PONG message will appear. The clients start "lost" 
connections to SILC server. There's another performance factor to limit 
the maximum client connections from single host.
     3. If I start two silc servers and link them together, the maximum 
client connections could be doubled. Although it is a way to allow more 
client connections to the same SILC network, however, it would be 
interesting to know how to allow more client connections to single SILC 
server.




_______________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-users
Archive: https://lists.silcnet.org/pipermail/silc-users
FAQ:     http://silcnet.org/support/faq/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.