[stunnel-users] stunnel-4.20 server loop on AIX 5.3

Peter Heimann heimannp at web.de
Sun Jun 3 21:42:13 CEST 2007


Michal Trojnara <Michal.Trojnara at mobi-com.net> wrote on 31.05.2007 20:48:08:
> On Monday 28 May 2007 20:51, Peter Heimann wrote:
> > Under heavy usage, stunnel-4.20 on AIX 5.3 enters into a loop with high
> > CPU load.
> > SSL_accept() returns with error, SSL_get_error() returns 5
> > (SSL_ERROR_SYSCALL). get_last_socket_error() returns EAGAIN, and the loop
> > continues without end. Nevertheless, new connection requests still get
> > processed.

> Could it be the problem described at the end of this page:
> https://www.systinet.com/doc/ssc-65/waspc/html/extlibs.install.openssl.html

Indeed.  Further experiments on AIX 5.3:

OpenSSL 0.9.8e configured as "./Configure no-idea threads", compiled with "cc" (IBM XL C Compiler 7.0), 
stunnel 4.20 --> loop in init_ssl()

OpenSSL 0.9.8e configured as "./Configure no-idea threads", compiled with "xlc_r" (IBM XL C Compiler 7.0, thread-safe variant), 
stunnel 4.20 --> no problem

OpenSSL 0.9.8e configured as "./Configure no-idea threads", compiled with "gcc" (GCC version 4.1.1), 
stunnel 4.20 --> no problem

Thanks for the hint.

-- 
Regards
Peter Heimann

_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192




More information about the stunnel-users mailing list