Re: epair and vnet jail loose connection.

From: Johan Hendriks <joh.hendriks_at_gmail.com>
Date: Thu, 10 Mar 2022 08:58:04 UTC
On 10/03/2022 08:54, Patrick M. Hausen wrote:
> Hi Johan,
>
> we experience the same on 13.1-PRERELEASE. Currently trying to collect some evidence
> (dtrace) to send to Kristof Provost who was so kind to assist. We are hit by the problem
> in production in 12-24 hour intervals. Have not done any artificial load tests, yet.
>
> May I ask you to run this dtrace script while at least one jail is disconnected and while
> traffic is present that is trying to reach the jail? If you can afford to do that in production (?)
> that would be great. Forward to Kristof (kp@), please.
>
> Thanks and kind regards
> Patrick
> ----------
> #!/usr/sbin/dtrace -s
>
> BEGIN
> {
>     self->in_menq = 0;
> }
>
> fbt:if_epair:epair_menq:entry
> {
>     self->in_menq = 1;
>     printf("In epair_menq");
> }
>
> fbt:if_epair:epair_menq:return
> / self->in_menq == 1 /
> {
>     self->in_menq = 0;
>     printf("Leave epair_menq");
> }
>
> fbt:kernel:taskqueue_enqueue:entry
> / self->in_menq == 1 /
> {
>     printf("Enqueue task");
>
> }
>
> fbt:if_epair:epair_tx_start_deferred:entry
> {
>     printf("epair_tx_start_deferred");
> }
> ----------
>
>
I will do, please be gentle as i have never used dtrace.

As this is a test machine i can do whatever i want with it.
I will send the output to kp@

This is 14-HEAD BTW, i can do on 13.1 if you want!

regards,
Johan