<div dir="ltr">Hi Tobias,<div><br></div><div>ulimit for core is set to zero, so I didn't see any core files. I don't see any backtrace in the log also.</div><div>But I see these logs before charon restart.<br></div><div><br></div><div><div>Apr 24 13:51:13 localhost charon: 00[DMN] signal of type SIGINT received. Shutting down</div><div>Apr 24 13:51:13 localhost charon: 00[MGR] going to destroy IKE_SA manager and all managed IKE_SA's</div><div>Apr 24 13:51:13 localhost charon: 00[MGR] set driveout flags for all stored IKE_SA's</div><div>Apr 24 13:51:13 localhost charon: 00[MGR] wait for all threads to leave IKE_SA's</div><div>Apr 24 13:51:13 localhost charon: 00[MGR] delete all IKE_SA's</div><div>Apr 24 13:51:13 localhost charon: 00[IKE] queueing IKE_DELETE task</div><div>Apr 24 13:51:13 localhost charon: 00[IKE] delaying task initiation, CREATE_CHILD_SA exchange in progress</div><div>Apr 24 13:51:13 localhost charon: 00[MGR] destroy all entries</div><div>Apr 24 13:51:13 localhost charon: 00[IKE] IKE_SA home[3] state change: REKEYING => DESTROYING</div><div>Apr 24 13:51:13 localhost charon: 00[IKE] IKE_SA home[4] state change: CONNECTING => DESTROYING</div><div>Apr 24 13:51:13 localhost charon: 00[CFG] lease 2001:0:0:15::1 by '<a href="http://0005B9519290.airvana.com">0005B9519290.airvana.com</a>' went offline</div></div><div><br></div><div>I have not modified the code. </div><div>loglevel in the secgw is set as below,</div><div><span style="color:rgb(34,34,34);font-family:Calibri,sans-serif;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">charondebug="ike 4, chd 1, </span><span style="color:rgb(34,34,34);font-family:Calibri,sans-serif;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b>cfg 4</b></span><span style="color:rgb(34,34,34);font-family:Calibri,sans-serif;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">, net 1, enc 1, lib 1, </span><span style="color:rgb(34,34,34);font-family:Calibri,sans-serif;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b>mgr 4</b></span><span style="color:rgb(34,34,34);font-family:Calibri,sans-serif;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">, knl 1, dmn 1"</span> , </div><div>because of which I see lot of prints, is this logging keeping daemon very busy and eventually leads to restart ?</div><div><br></div><div><br></div><div>In the security gateway, strongswan-5.6.1 compilation is not going through because of some python dependency. So I have installed strongswan-5.6.0. If you suggest it is better to install 5.6.1 or the latest, I can try that as well.<br></div><div><br></div><div>Regards,</div><div>Sriram.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 25, 2018 at 7:25 PM, Tobias Brunner <span dir="ltr"><<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sriram,<br>
<span class=""><br>
> What is the reason for SecGw’s charon daemon restart ?<br>
<br>
</span>The daemon does not automatically restart itself, so probably a crash.<br>
Do you see any backtrace in the log?  Any core dumps?<br>
<br>
Did you modify the code in any way?  Is there a reason you use different<br>
versions on the two hosts (and not the latest at that)?<br>
<br>
Regards,<br>
Tobias<br>
</blockquote></div><br></div>