<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">I have an SSL server, which has, suddenly stopped processing client requests.</span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">I see the following error.</span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">>> SSL_GET_NEW_SESSION:ssl session id callback failed.</span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><span style="color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;line-height:19.5px">Exactly after 15 seconds of calling SSL_accept, the error is seen. The socket is non-blocking. The application was running fine for about 10 days. The problem started suddenly and thereafter, each and every call fails with the above error. And each time it is 15 seconds.</span><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">The application has 20 worker threads and one epoll thread which handles data and hands it over to worker threads for processing.</span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both"><font color="#222426" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:15px;line-height:19.5px">The epoll thread gets client-hello, notifies the worker thread which calls SSL_accept.</span></font></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><span style="background-color:rgb(255,248,220)">Any thoughts on why SSL_accept would not return even if socket is non-blocking.</span></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><span style="background-color:rgb(255,248,220)"><br></span></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><span style="background-color:rgb(255,248,220)">-Prabhu.S</span></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;line-height:19.5px"><span style="background-color:rgb(255,248,220)"><br></span></p></div>