Good work

Bit confused - if we are waiting for a timer to trigger here to display
a welcome and show a prompt.

How does Tatsumi have a prompt in the first place, to type the initial
command?

My understanding is the initial memory allocation is happening in
response to Tatsumi (or anyone) typing in a command.

Ray K

On 09/07/2019 13:05, Dave Barach via Lists.Fd.Io wrote:
> 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/675355
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
> 

Attachment: signature.asc
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13486): https://lists.fd.io/g/vpp-dev/message/13486
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to