[PATCH] lib/telemetry:fix telemetry conns leak in case of socket write fail

David Marchand david.marchand at redhat.com
Fri Jan 19 16:54:39 CET 2024


Hello,

On Fri, Jan 19, 2024 at 12:40 PM sunshaowei01 <1819846787 at qq.com> wrote:
>
> Telemetry can only create 10 conns by default, each of which is processed
> by a thread.
>
> When a thread fails to write using socket, the thread will end directly
> without reducing the total number of conns.
>
> This will result in the machine running for a long time, and if there are
> 10 failures, the telemetry will be unavailable
>

Thanks for the patch, do you know which commit first triggered the issue?
This is needed so we add a Fixes: tag in the commitlog for backporting
the fix in stable releases.
See https://doc.dpdk.org/guides/contributing/patches.html#patch-fix-related-issues

> Signed-off-by: sunshaowei01 <1819846787 at qq.com>

We need your full name in the SoB tag.
Like, for example in my case, it would be David Marchand
<david.marchand at redhat.com>.


-- 
David Marchand



More information about the dev mailing list