Re: [vpp-dev] VPP LDP ERROR

2022-08-30 Thread Florin Coras
Hi wanghe, 

Hard to say exactly what’s happening there but, at a high level, vls tries to 
clone a vcl session from one worker to another and the rpc does not return 
after 3s. 

Are you running this at scale or does this happen with few sessions?

Also, make sure that a session does not constantly bounce between app threads. 
If that’s the case, most probably multi-thread-workers is not the right 
approach as it was mainly meant for scenarios where a session is allocated on 
one thread and then it’s used on another. 

Regards,
Florin

> On Aug 30, 2022, at 2:22 AM, NUAA无痕  wrote:
> 
> Hi, vpp experts
> my vpp version is 22.06
> 
> vcl.conf
> {
> ...
> multi-thread-workers
> }
> 
> im use multi thread program with LDP hoststack, vcl.conf config 
> 'multi-thread-workers',
> my program will listen many ports, but now program run will error
> 
> error message:
> vls_mt_session_migrate:1065 failed to wait rpc response
> 
> can you give your suggestion?
> 
> best regards
> wanghe
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21838): https://lists.fd.io/g/vpp-dev/message/21838
Mute This Topic: https://lists.fd.io/mt/93345198/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] VPP LDP ERROR

2022-08-30 Thread NUAA无痕
Hi, vpp experts
my vpp version is 22.06

vcl.conf
{
...
multi-thread-workers
}

im use multi thread program with LDP hoststack, vcl.conf config
'multi-thread-workers',
my program will listen many ports, but now program run will error

error message:
vls_mt_session_migrate:1065 failed to wait rpc response

can you give your suggestion?

best regards
wanghe

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21834): https://lists.fd.io/g/vpp-dev/message/21834
Mute This Topic: https://lists.fd.io/mt/93345198/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-