For whatever reason, your application didn’t process 3x memclnt_keepalive
messages. Vpp sends one of these messages every 10 seconds.
vpp# sh api messsage table
ID Name
<snip>
21 memclnt_keepalive
<snip>
The code in question runs after the client sends a MEMCLNT_DELETE message.
Purpose: make sure that we don’t leak message buffers...
/* drain the queue */
if (ntohs (rp->_vl_msg_id) != VL_API_MEMCLNT_DELETE_REPLY)
{
clib_warning ("queue drain: %d", ntohs (rp->_vl_msg_id));
vl_msg_api_handler ((void *) rp);
continue;
}
HTH... Dave
From: [email protected] <[email protected]> On Behalf Of Chinmaya Aggarwal
Sent: Friday, July 31, 2020 12:42 AM
To: [email protected]
Subject: [vpp-dev] queue drain warning on calling vapi_disconnect()
Hi,
We are integrating VAPI in our application. We created connection to vapi using
vapi_connect() and everything works fine for us. But during termination, when
we call vapi_disconnect() we get the following warning in our logs multiple
times :-
vl_client_disconnect:323: queue drain: 21
vl_client_disconnect:323: queue drain: 21
vl_client_disconnect:323: queue drain: 21
Can anyone suggest why this is happening?
Thanks and Regards,
Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17120): https://lists.fd.io/g/vpp-dev/message/17120
Mute This Topic: https://lists.fd.io/mt/75901691/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-