On Mon, 2006-06-26 at 14:24 +0200, Marek Marcola wrote: > For me seems that if you properly initialize PRNG > (before creating threads) this may resolve problem. > I think something like: > RAND_load_file("/dev/urandom", 1024); > should be enough.
OK weirdness going on here. I've added the RAND_load_file() command to the beginning of my program and it does not make a difference. With a 1000 threads I get a call to RAND_poll() only with the first connection and not with subsequent SSL_accept() calls. With 1500 threads it segfaults inside that one RAND_poll call. I now know that I am overwriting some memory due to the FD_SETSIZE limit. The best solution for me will be to increase the value and recompile the kernel. I will keep you guys posted if it does not work. This limit is per process? I must say: this was a pleasant experience mailing on this list! Thanks. Leon > > Best regards, ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]