SSL "bad write retry" errors in nginx error log

Igor Sysoev is at rambler-co.ru
Thu Sep 6 18:32:13 MSD 2007


On Wed, Sep 05, 2007 at 09:53:13AM -0700, Matthew Dempsky wrote:

> I'm seeing a lot of SSL "bad write retry" errors in my nginx logs (see
> below).  I've tried tracking this down through the nginx and OpenSSL
> code, but I'm at a loss for explaining why it's happening.
> 
> This is with nginx 0.5.31 and OpenSSL 0.9.7e on FreeBSD 6.2.
> 
> Any assistance (including temporary workarounds) appreciated.
> 
> [...] SSL_read() failed (SSL: error:1409F07F:SSL
> routines:SSL3_WRITE_PENDING:bad write retry error:1409F07F:SSL
> routines:SSL3_WRITE_PENDING:bad write retry) while keepalive, [...]
> [...] SSL_read() failed (SSL: error:1409F07F:SSL
> routines:SSL3_WRITE_PENDING:bad write retry) while keepalive, [...]
> [...] SSL_read() failed (SSL: error:1409F07F:SSL
> routines:SSL3_WRITE_PENDING:bad write retry) while reading client
> request line, [...]
> [...] SSL_write() failed (SSL: error:1409F07F:SSL
> routines:SSL3_WRITE_PENDING:bad write retry) while sending response to
> client, [...]

If this error is often and load is not too high could you set up debug log
to catch the bug ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list