Marcin Kucharczyk wrote:
> Hello sipp-users,
> 
> 
>   I'm trying to use SIPp ti simulate about 50000 clinets. I'm using "UDP 
> with one socket per IP address" mode (-t ui) and I found some problems. 
> First I set file descriptors limit to 65536, but SIPp still was limited 
> to 1024 connections. So I found that FD_SETSIZE value limits number of 
> sockets. I made changes in sipp.hpp file:

Hmm, I wouldn't think that FD_SETSIZE would limit the number of sockets 
one can open.
 > ...
> So I just commented a section that defines FD_SETSIZE value and set it 
> to 65536. Next I recompiled the sipp and it works with more opened 
> sockets. The same procedure was used on Fedora 6, Fedora 7 on i386 and 
> Debian 4.0 on amd64.
>
> What is the FD_SETSIZE ??

It is used with select(), which takes in up to three sets of "fd_set" 
for read, write and error where each bit in an fd_set corresponds to a 
specific file (socket) descriptor.

On some platforms, it may not be advisable to mess-around with 
FD_SETSIZE - especially if linking with pre-compiled stuff which used a 
smaller value.

The select() manpage on your system(s) should have more information.

The poll() call does not have the same restriction as select() since it 
doesn't use fd_sets.

rick jones

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to