[stunnel-users] resending FD_SETSIZE and file ulimit
    Arunkumar Arumugam 
    aarumuga at gmail.com
       
    Fri Nov 10 21:28:03 CET 2006
    
    
  
Hi Guys -
   I have a stunnel setup in a linux box kernel 2.4 Advanced sever release
2.1AS (pensacola) . I am trying to increase the number of file descriptors
with which stunnel could handle.  So I did a ulimit -n 4096  for root and
restarted the  stunnel process.
 Now in the stunnel logs i see,
 ..... FD_SETSIZE=1024, file ulimit=4096- > 500 clients allowed.
I dont completely understand the  relation between  FD_SETSIZE and file
ulimit.   I also read that a single stunnel connection might use around 2 or
3 file descriptors.
So what is the cap on the number of file descriptors used by stunnel. To
make it use , around 4096 file descriptors should i recompile the stunnel
again with FD_SETSIZE set to 4096.?
-- 
ARUN ARUMUGAM
Galbraith's Law of Human Nature: Faced with the choice between changing
ones' mind and proving that there is no need to do so, almost everybody gets
busy on the proof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20061110/f38d00a3/attachment.html>
    
    
More information about the stunnel-users
mailing list