<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">This problem reminds me of something related to  SSL connection cache.</div><div class="">I'm sure that on this mailing list this have been discussed many times before.</div><div class="">If you search this mailing list archives you may find more information.</div><div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">Le 7 sept. 2015 à 12:50, Sanath Prasanna <<a href="mailto:ahe.sanath@gmail.com" class="">ahe.sanath@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi All,<div class="">Any suggestion on below problem?</div><div class="">Br,</div><div class="">Robert</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Sep 7, 2015 at 9:22 AM, Sanath Prasanna <span dir="ltr" class=""><<a href="mailto:ahe.sanath@gmail.com" target="_blank" class="">ahe.sanath@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><p class="MsoNormal">Hi all,</p><p class="MsoNormal">I am running HTTP client using httpc Module to send both
http and https requests. normally sending arround 300 request per second
without any issue. however sometimes erlang node become very slow responsive.
at that time server load average is very high and using etop can identify
"tls_connection" process take more memory. when restart the erlang
node its become normal. as per my investigation normal time memory, processors,
loadAverage is not increasing. following is the HTTP request config</p><div class=""> <br class="webkit-block-placeholder"></div><p class="MsoNormal">httpc:request(Method, Request, [{timeout, TimeoutTime}],
[{sync, false}])</p><div class=""> <br class="webkit-block-placeholder"></div><p class="MsoNormal">below is the etop output at that time</p><div class=""> <br class="webkit-block-placeholder"></div><p class="MsoNormal">       
procs   
1134                       
processes 1504844    code        
9309</p><p class="MsoNormal">       
runq       
0                       
atom         
420    ets         29692</p><div class=""> <br class="webkit-block-placeholder"></div><p class="MsoNormal">Pid           
Name or Initial Func    Time    Reds 
Memory    MsgQ Current Function</p><p class="MsoNormal">----------------------------------------------------------------------------------------</p><p class="MsoNormal"><5490.26428.14>tls_connection:init/    
'-'    733224580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26429.14>tls_connection:init/    
'-'   1328524580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26430.14>tls_connection:init/    
'-'    528924580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26431.14>tls_connection:init/    
'-'   1432224580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26432.14>tls_connection:init/    
'-'      
024580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26433.14>tls_connection:init/    
'-'      
024580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26434.14>tls_connection:init/    
'-'       024580768
      0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26435.14>tls_connection:init/    
'-'      
024580768       0
gen_fsm:loop/7      </p><p class="MsoNormal"><5490.26436.14>tls_connection:init/    
'-'      
024580768       0
gen_fsm:loop/7  </p><p class="MsoNormal"><br class=""></p><p class="MsoNormal">can some one help me to solve this issue? </p><p class="MsoNormal">Br,</p><p class="MsoNormal">A.H.E. Robert    </p></div>
</blockquote></div><br class=""></div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></div></body></html>