[stunnel-users] Stunnel V4.05 error with rsync
Michal Trojnara
Michal.Trojnara at mirt.net
Tue Oct 12 10:12:16 CEST 2004
On Oct 11, 2004, at 8:51 PM, craig hobbs wrote:
> I am getting a frequent error where my rsync client process just
> appears to hang. On the client side I will receive several 'SSL_read
> returned WANT_: retrying/SSL_write returned WANT_: retrying' messages
> back-to-back
That's a normal part of the SSL protocol. Nothing to worry about.
> and then finally the message is always
> 'Socket closed on read'.
That means your rsync client or server has closed the connection.
> Currently in no-blocking mode with the following limits:
> FD_SETSIZE=1024, file ulimit=2147483647 -> 500 clients allowed
>
> Is there any stunnel bug or system resource limit that could be the
> problem ??
FD_SETSIZE is a limitation of select(2) function. See the manual for
details.
New stunnel 4.06 will be able to use poll(2) function instead.
> 2004.10.11 14:46:32 LOG7[26651:7]: SSL_write returned WANT_: retrying
> 2004.10.11 14:46:32 LOG7[26651:7]: SSL socket closed on SSL_read
This is strange. Stunnel should not close the SSL connection without
sending close_notify message first.
Best regards,
Mike
More information about the stunnel-users
mailing list