[stunnel-users] Q: error message during startup?
Michal Trojnara
Michal.Trojnara at mobi-com.net
Tue Feb 1 15:52:23 CET 2005
Heiko Nardmann wrote:
> I just got the following stunnel error message in my syslog:
>
> File descriptor out of range (1024>=1024)
What does stunnel log on startup?
For example:
2005.02.01 15:28:28 LOG5[14407:1]: stunnel 4.08 on i686-pc-linux-gnu
PTHREAD+POLL+IPv6+LIBWRAP with OpenSSL 0.9.7e 25 Oct 2004
[cut]
2005.02.01 15:28:29 LOG6[14407:1]: file ulimit = 1024 (can be changed with
'ulimit -n')
2005.02.01 15:28:29 LOG6[14407:1]: poll() used - no FD_SETSIZE limit for
file descriptors
2005.02.01 15:28:29 LOG5[14407:1]: 500 clients allowed
> The reason is that I have tried to let stunnel create 2000 services. But
> where
> do I change the maximum for this range? (Linux) Kernel? Or stunnel?
> PS: I already changed ulimit to 4000.
It depends on the machine (hardware, operating system). The critical limit
on 32-bit machines could be:
http://lwn.net/Articles/75174/
Best regards,
Mike
More information about the stunnel-users
mailing list