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

2024-01-19 Thread David Marchand
Hello, On Fri, Jan 19, 2024 at 12:40 PM sunshaowei01 <1819846...@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. > >

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

2024-01-19 Thread Power, Ciara
> -Original Message- > From: sunshaowei01 <1819846...@qq.com> > Sent: Friday, January 19, 2024 11:40 AM > To: dev@dpdk.org > Cc: Power, Ciara > Subject: [PATCH] lib/telemetry:fix telemetry conns leak in case of socket > write > fail > > Telemetry can only create 10 conns by default, e

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

2024-01-19 Thread Bruce Richardson
On Fri, Jan 19, 2024 at 07:40:00PM +0800, sunshaowei01 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 i