Q: error message during startup?

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I just got the following stunnel error message in my syslog: File descriptor out of range (1024>=1024) 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? Thanks in advance! PS: I already changed ulimit to 4000. - -- Heiko Nardmann (Dipl.-Ing. Technische Informatik) secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen Tel. : +49 271 48950-13, Fax : +49 271 48950-50 Besuchen Sie uns vom 10. - 16. März auf der CeBIT 2005 in Halle 7, Stand D38. Informationen zu unseren CeBIT-Themen finden Sie unter www.secunet.com <outbind://44/www.secunet.com> - wir freuen uns auf das Gespräch mit Ihnen. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFB/4TWpm53PRScYygRAv2JAKCHTe6zNvhmWAkypK5xymm+LWstEACgt1vJ vSNr7eeFXUpRFCu2SiY/4ls= =huyB -----END PGP SIGNATURE-----

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
participants (2)
-
Heiko Nardmann
-
Michal Trojnara