SIPP: open file restriction> FD_SETSIZE

Actually I am trying to run SIPP 3.3 on opensuse 11 using the bash console with java. When I start SIPP with

proc = Runtime.getRuntime().exec("/bin/bash", null, wd);

... 

printWriter.println("./sipp -i "+Config.IP+" -sf uac.xml "+Config.IP+":5060");

error stream gives the following output

Warning: open file restriction> FD_SETSIZE; limit max. # open files for FD_SETSIZE = 1024 Resolution of the remote host 137.58.120.17 '... Done.

What does a warning mean? Is it possible that the bash terminal is freezing due to this warning? How can I remove this warning?

+4
source share
3 answers

, , SIPp, . -t un -t tn ( , , ).

SIPp , :

   -skip_rlimit     : Do not perform rlimit tuning of file descriptor limits.  Default: false.

, , . , , , SIPp , FD_SETSIZE, , max_socket:

   -max_socket      : Set the max number of sockets to open simultaneously. This option is
                      significant if you use one socket per call. Once this limit is reached,
                      traffic is distributed over the sockets already opened. Default value is
                      50000
+3

SIPp, FD_SETSIZE.

FD_SETSIZE , FD_SETSIZE - , select(), , . SIPp (.. ulimit -n), , FD_SETSIZE, FD_SETSIZE select().

- SIPp poll(), select() ( FD_SETSIZE POSIX 2001 ), , 2012 . SIPp epoll, , v3.4.

FD_SETSIZE https://github.com/SIPp/sipp - , ( , -) .

+5

This means almost what he says ... The open file limit for each process ( ulimit -n) is greater than the predefined constant FD_SETSIZE, which is 1024. Thus, the program adjusts the open file access restriction down to match FD_SETSIZE.

0
source

All Articles