[strongSwan-dev] ike sa manager taking ~10 seconds to queue IKE delete

Ravi Kanth Vanapalli vvnrk.vanapalli at gmail.com
Tue Apr 21 15:55:15 CEST 2015


We are having an issue with IKE manager taking approximately 10 seconds to
work on an IKE delete task.

Called at time stamp 17:33:01.618

charon->controller->terminate_ike(charon->controller,
                                ike_sa->get_unique_id(ike_sa),
                                controller_cb_empty, NULL, 10000);

Our undertstanding is this calls IKE SA manager to call checkout by ID.
This call is getting completed at 17:33:11.628

Here is a snapshot of the log trace.

Line 114995: 04-20 17:33:01.618  6248 12469 W charon  : 14[CFG] Tearing
down EPDG tunnel : [EPDG-IN-2]
Line 114997: 04-20 17:33:01.618  6248 12469 W charon  : 14[CFG] comparing
with IKE_SA [EPDG-IN-2]
Line 114999: 04-20 17:33:01.618  6248 12469 W charon  : 14[CFG]
Line 115001: 04-20 17:33:01.618  6248 12461 I charon  : 07[MGR] checkout
IKE_SA by ID
Line 115053: 04-20 17:33:01.648  6248 12466 I charon  : 11[JOB] got event,
queuing job for execution
Line 115055: 04-20 17:33:01.648  6248 12466 I charon  : 11[JOB] next event
in 5s 585ms, waiting
Line 115057: 04-20 17:33:01.648  6248 12467 I charon  : 12[KNL] creating
roam job due to route change
Line 116883: 04-20 17:33:07.238  6248 12466 I charon  : 11[JOB] got event,
queuing job for execution
Line 116885: 04-20 17:33:07.238  6248 12466 I charon  : 11[JOB] next event
in 9s 853ms, waiting
Line 116887: 04-20 17:33:07.238  6248 12471 I charon  : 16[MGR] checkout
IKE_SA
Line 116965: 04-20 17:33:08.288  6248 12456 I charon  : 02[JOB] watched FD
38 ready to read
Line 116967: 04-20 17:33:08.288  6248 12456 I charon  : 02[JOB] watcher
going to poll() 1 fds
Line 116969: 04-20 17:33:08.288  6248 12456 I charon  : 02[JOB] watcher got
notification, rebuilding
Line 116971: 04-20 17:33:08.288  6248 12456 D charon  : 02[JOB]   watching
38 for reading
Line 116973: 04-20 17:33:08.288  6248 12456 I charon  : 02[JOB] watcher
going to poll() 2 fds
Line 117265: 04-20 17:33:11.628  6248 12461 I charon  : 07[MGR] IKE_SA
EPDG-IN-2[1] successfully checked out
Line 117267: 04-20 17:33:11.628  6248 12461 I charon  : 07[IKE] queueing
IKE_DELETE task
Line 117269: 04-20 17:33:11.628  6248 12461 I charon  : 07[IKE] activating
new tasks
Line 117271: 04-20 17:33:11.628  6248 12461 I charon  : 07[IKE]
activating IKE_DELETE task

Kindly help us understand why IKE SA manager is taking ~10 seconds to queue
IKE delete.

-- 
Regards,
RaviKanth VN Vanapalli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20150421/061a0b6b/attachment.html>


More information about the Dev mailing list