The root cause is obvious from the backtrace in VPP-1711: memory allocator
takes a spin-lock, timer interrupt fires, back into the memory allocator,
deadlock.
The [sic] timer interrupt function in .../src/vppinfra/timers.c is a mistake.
You managed to find the only place in all of vpp which uses it.
As a quick 1-line workaround, comment out the “timer_call” shown below, around
line 2837 in .../src/vlib/unix/cli.c, e.g. by adding an “if(0)”...
/* In case the client doesn't negotiate terminal type, use
* a timer to kick off the initial prompt. */
if (0)
timer_call (unix_cli_file_welcome_timer, cf_index, 1);
HTH... Dave
From: [email protected] <[email protected]> On Behalf Of Yusuke Tatsumi
Sent: Tuesday, July 9, 2019 1:11 AM
To: [email protected]
Subject: [vpp-dev] vppctl makes VPP hang-up occasionally
Hi all,
We found that VPP itself freeze once a day under using "vppctl" command
repeatedly.
I think this is a kind of spin-lock problem but I can't understand the root
cause.
See here for details.
https://jira.fd.io/browse/VPP-1711
If this goes on, It's hard to operate VPP as production service. So I need help
to fix this issue.
Could anyone help/suggest to this issue?
Thanks,
Tatsumi.
-
立見 祐介
ヤフー株式会社
テクノロジーグループ システム統括本部 クラウドプラットフォーム本部 技術1部 コンピュート
TEL: 03-6898-3081
mail: [email protected]<mailto:[email protected]>
-
Yusuke Tatsumi
Compute team,
Cloud Platform Division,
System Management Group
Yahoo Japan Corporation
Direct: +81 (3) 6898 3081
mail: [email protected]<mailto:[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13463): https://lists.fd.io/g/vpp-dev/message/13463
Mute This Topic: https://lists.fd.io/mt/32402610/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-