Bluehost.com Web Hosting $6.95

Re: [stunnel-users] too many file descriptors

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, > ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-22-2006
Michal Trojnara
 
Posts: n/a
Default Re: [stunnel-users] too many file descriptors

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0