This is a discussion on Re: [stunnel-users] too many file descriptors within the Stunnel Users forums, part of the Networking and Network Related category; Sligar, Benjamin wrote: > #define MAX_FD 64 > > I didn't find a relation to any configurable options, > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sligar, Benjamin wrote:
> #define MAX_FD 64 > > I didn't find a relation to any configurable options, > so I made a change to this parameter in the code, > recompiled, and, I was able to start up all of my > listens without error. It's fine to change this parameter. The only reason it's not higher by default is memory usage: Each file descriptor takes 8 bytes of memory for each connection. For FD_MAX=1000 and 500 concurrent connections it makes 4,000,000 bytes. What is the reasonable value in your opinion? Best regards, Mike _______________________________________________ stunnel-users mailing list stunnel-users@mirt.net http://stunnel.mirt.net/mailman/listinfo/stunnel-users |