Re: Error While deviceatlas 3.2.2 and haproxy 2.9.6 make from source

2024-05-06 Thread David CARLIER
hi and sorry for the long reply. I will let you know once it is officially release, it needs to pass our QA test still. Kind regards. On Mon, 6 May 2024 at 22:52, Mahendra Patil wrote: > any update when we can get 3.2.3 release > > On Wed, Apr 3, 2024 at 10:51 AM David CARLI

Fwd: [PATCH] MEDIUM: shctx naming shared memory context

2024-04-24 Thread David CARLIER
-- Forwarded message - From: David CARLIER Date: Wed, 24 Apr 2024 at 07:51 Subject: Re: [PATCH] MEDIUM: shctx naming shared memory context To: Willy Tarreau Hi On Wed, 24 Apr 2024 at 07:45, Willy Tarreau wrote: > Hi David, > > On Sat, Apr 20, 2024 at 07:33:16AM +01

Fwd: [PATCH] MEDIUM: shctx naming shared memory context

2024-04-24 Thread David CARLIER
-- Forwarded message - From: David CARLIER Date: Wed, 24 Apr 2024 at 07:56 Subject: Re: [PATCH] MEDIUM: shctx naming shared memory context To: Willy Tarreau Here a new version. Cheers. On Wed, 24 Apr 2024 at 07:45, Willy Tarreau wrote: > Hi David, > > On Sat, Apr

[PATCH] MEDIUM: shctx naming shared memory context

2024-04-20 Thread David CARLIER
Here a patch proposal for the caches feature for Linux only. Cheers. From d49d9d5966caead320f33f789578cb69f2aa3787 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 20 Apr 2024 07:18:48 +0100 Subject: [PATCH] MEDIUM: shctx: Naming shared memory context From Linux 5.17, anonymous regions

Re: Error While deviceatlas 3.2.2 and haproxy 2.9.6 make from source

2024-04-02 Thread David CARLIER
Hi all, Thanks for your report. This is a known issue the 3.2.3 release is scheduled within this month. Regards. On Wed, 3 Apr 2024 at 04:38, Willy Tarreau wrote: > Hello, > > On Wed, Apr 03, 2024 at 05:21:03AM +0530, Mahendra Patil wrote: > > /opt/deviceatlas/Src//dac.c: In function

Re: PATCH 3/3: BUILD/MEDIUM: deviceatlas: addon code update

2024-01-26 Thread David Carlier
> > It broke the CI on the "all features" build: > > > https://github.com/haproxy/haproxy/actions/runs/7671640626/job/20910459829 > > /usr/bin/ld: cannot find -lcurl: No such file or directory > /usr/bin/ld: cannot find -lzip: No such file or directory > > I'm surprised because CURL_LDFLAGS and

Re: PATCH 3/3: BUILD/MEDIUM: deviceatlas: addon code update

2024-01-26 Thread David Carlier
I m good with your version. Thanks ! On Fri, Jan 26, 2024 at 5:35 PM Willy Tarreau wrote: > On Fri, Jan 26, 2024 at 04:41:36PM +0000, David Carlier wrote: > > Hi, > > > > Please find the revised patch. > > OK thanks, it looks good and addresses the build issue. >

Re: PATCH 3/3: BUILD/MEDIUM: deviceatlas: addon code update

2024-01-26 Thread David Carlier
Hi, Please find the revised patch. Regards. On Fri, Jan 26, 2024 at 4:28 PM Willy Tarreau wrote: > Hi David, > > On Thu, Jan 25, 2024 at 09:26:24AM +0000, David Carlier wrote: > > Finally the last piece related to the da's dummy update and da.c changes. > > Thanks. I'm

PATCH 1/3: BUILD/MEDIUM: deviceatlas: build update

2024-01-25 Thread David Carlier
Hi here the first patch of the series related to the da's addon build change. From 6ee26e72c1d38a9e83c6c64e40c3ca50aa3f9ff9 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 25 Jan 2024 09:00:14 + Subject: [PATCH 1/3] BUILD/MEDIUM: deviceatlas: addon build rework. - Removing the legacy

PATCH 2/3: DOC: deviceatlas: doc update

2024-01-25 Thread David Carlier
Here the second patch dedicated solely to the doc. From 9381e5e844aebd161299467bdfbf501c86409b6a Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 25 Jan 2024 09:09:07 + Subject: [PATCH 2/3] DOC: deviceatlas: update to be in line with the v3 api. Reflecting here all the changes

PATCH 3/3: BUILD/MEDIUM: deviceatlas: addon code update

2024-01-25 Thread David Carlier
Finally the last piece related to the da's dummy update and da.c changes. From df705a30e7d6ce41b61ac7a3e670158b2b2cac25 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 25 Jan 2024 09:11:18 + Subject: [PATCH 3/3] BUILD/MEDIUM: deviceatlas: updating the addon part. - Reflecing

Re: Error While deviceatlas compile/make from source

2023-10-04 Thread David CARLIER
mpiled.* > > > > > > On Fri, Sep 29, 2023 at 4:44 PM David CARLIER wrote: > >> Hi Mahendra, sorry for late reply but you cam download a JSON from this >> page https://deviceatlas.com/deviceatlas-haproxy-module >> now they are compatible with the V3 api. >&

Re: Error While deviceatlas compile/make from source

2023-09-29 Thread David CARLIER
: > '/opt/deviceatlas/20230802_compact.json' json file is invalid. > > On Tue, Sep 19, 2023 at 5:36 PM David CARLIER wrote: > >> We are almost there, now remains the linkage part to pass. >> In your /opt/deviceatlas-enterprise-c-3.2 folder, there should be a >&

Re: Error While deviceatlas compile/make from source

2023-09-21 Thread David CARLIER
Sorry I forgot the link https://deviceatlas.com/deviceatlas-haproxy-module. On Thu, 21 Sept 2023 at 17:10, David CARLIER wrote: > So the 20230802_compact.json only works with v2 versions, even from the > page here it is still the case. > Your inquiry had been acknowledged by the dev t

Re: Error While deviceatlas compile/make from source

2023-09-21 Thread David CARLIER
le is /opt/haproxy-ssl/sbin/haproxy > [ALERT](42915) : config : deviceatlas : > '/opt/deviceatlas/20230802_compact.json' json file is invalid. > > On Tue, Sep 19, 2023 at 5:36 PM David CARLIER wrote: > >> We are almost there, now remains the linkage part to pass. >&

Re: Error While deviceatlas compile/make from source

2023-09-19 Thread David CARLIER
> LD haproxy > /usr/bin/ld: cannot find -lda > collect2: error: ld returned 1 exit status > make: *** [haproxy] Error 1 > > > > > > On Tue, Sep 19, 2023 at 10:19 AM David CARLIER wrote: > >> Hi, >> >> Since you build the DeviceAtlas l

Re: Error While deviceatlas compile/make from source

2023-09-18 Thread David CARLIER
lt; result->fl[lvl]->yszcount; gt ++) { > ^ > compilation terminated due to -Wfatal-errors. > make: *** [/opt/deviceatlas/Src//dac.o] Error 1 > > > Additionally haproxy-2.8.3 version we check > with deviceatlas-enterprise-c-2.4.1 version no issue observe , So let us >

Re: Error While deviceatlas compile/make from source

2023-09-18 Thread David CARLIER
Hi and thanks for your report. Would the following works for you (recommended to work a fresh extracted directory) ? `cmake . -DCMAKE_INSTALL_PREFIX=/opt/deviceatlas-enterprise-c-3.2 -DCMAKE_C_FLAGS="-std=gnu99"` On Mon, 18 Sept 2023 at 18:45, Amol Arote wrote: > Dear Team, > > We are trying

Re: [PATCH] BUILD/MINOR da

2023-03-28 Thread David Carlier
Here another revised version of the patch. Kindest regards. On Tue, Mar 28, 2023 at 6:41 AM David Carlier wrote: > Sorry here a corrected version. > > Cheers. > > On Tue, Mar 28, 2023 at 6:30 AM David Carlier > wrote: > >> Hi, >> >> Here a mino

Re: [PATCH] BUILD/MINOR da

2023-03-27 Thread David Carlier
Sorry here a corrected version. Cheers. On Tue, Mar 28, 2023 at 6:30 AM David Carlier wrote: > Hi, > > Here a minor build update for the da vendor module. > > To be backported to previous versions too. > > Thanks ! > 0001-BUILD-MINOR-da.patch Description: Binary data

[PATCH] BUILD/MINOR da

2023-03-27 Thread David Carlier
Hi, Here a minor build update for the da vendor module. To be backported to previous versions too. Thanks ! 0001-BUILD-MINOR-da.patch Description: Binary data

[PATCH]: thread disable thread affinity for macOs arm64

2023-01-15 Thread David CARLIER
Hi, here a patch to disable the cpu affinity feature on macOs arm64, see the comments for more explanation. Cheers ! 0001-BUILD-thread-disable-cpu-affinity-on-macOs-arm64.patch Description: Binary data

Re: [PATCH]: BUILD: insecure-setuid-wanted support on FreeBSD

2022-12-08 Thread David CARLIER
ping :) is the mailing list still the way for patches or is github more appropriate for better traceability ? On Mon, 7 Nov 2022 at 13:37, David CARLIER wrote: > I sent a new one after, resending in case it got lost. > > On Mon, 7 Nov 2022 at 12:36, Tim Düsterhus wrote: &

Re: [PATCH]: BUILD: insecure-setuid-wanted support on FreeBSD

2022-11-07 Thread David CARLIER
I sent a new one after, resending in case it got lost. On Mon, 7 Nov 2022 at 12:36, Tim Düsterhus wrote: > David, > > On 11/7/22 09:00, David CARLIER wrote: > > Thanks here a corrected version. > > > > It looks like you accidentally attached the same patch as bef

Re: [PATCH]: BUILD: insecure-setuid-wanted support on FreeBSD

2022-11-07 Thread David CARLIER
Thanks here a corrected version. Regards. On Mon, 7 Nov 2022 at 07:01, Willy Tarreau wrote: > Hi David, > > On Fri, Nov 04, 2022 at 07:34:46PM +0000, David CARLIER wrote: > > Hi, > > > > here a little patch to port the insecure-setuid-wanted directive on > FreeBSD

[PATCH]: BUILD: insecure-setuid-wanted support on FreeBSD

2022-11-04 Thread David CARLIER
Hi, here a little patch to port the insecure-setuid-wanted directive on FreeBSD. Cheers. 0001-BUILD-insecure-setuid-wanted-support-on-FreeBSD.patch Description: Binary data

Re: [PATCH 1/1]: MINOR __builtin_memcpy_inline usage introduction

2022-06-20 Thread David CARLIER
On Mon, 20 Jun 2022 at 07:27, Willy Tarreau wrote: > > Hi David, > > On Sat, Jun 18, 2022 at 12:52:23PM +0100, David CARLIER wrote: > > From 9d7b6448a2407451c3115b701c51f97ab2bf6a59 Mon Sep 17 00:00:00 2001 > > From: David Carlier > > Date: Sat, 18 Jun 2022 12:4

[PATCH 1/1]: MINOR __builtin_memcpy_inline usage introduction

2022-06-18 Thread David CARLIER
Hi here a little proposal to use this specific clang builtin, only placed in few places but over time can be expanded cautiously. Kindest regards. Thanks. From 9d7b6448a2407451c3115b701c51f97ab2bf6a59 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 18 Jun 2022 12:41:11 +0100 Subject

Re: deviceatlas compiler error

2022-06-03 Thread David CARLIER
-- version > -- Configuring done > -- Generating done > -- Build files have been written to: /opt/deviceatlas/Src > > > > Regards, > > > > Amol Arote > > Senior IT Manager > > > > *Mobile*: 9773868585 | 8097988585 > > *Phone:* (022) 61934700 Ext 444

Re: deviceatlas compiler error

2022-06-03 Thread David CARLIER
Hi Amole and thanks for your report. The C api 2.4.0 version is a major upgrade which comes with additional dependencies. Indeed as mentioned by your report ... > > -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) ... > > -- Could NOT find ZIP ... Here a sample of the

[PATCH 1/1] : BUILD/MINOR cpuset build fix for FreeBSD 13.1

2022-05-18 Thread David CARLIER
Hi, FreeBSD 13.1 had been released this week and here a little fix for the cpuset part. Kind regards. 0001-BUILD-MINOR-cpuset-fix-build-for-FreeBSD-13.1.patch Description: Binary data

Re: [PATCH 1/1]: BUILD/MINOR: solaris based oses build fix/get_exe_path implementation.

2022-05-14 Thread David CARLIER
sure. Regards. On Sat, 14 May 2022 at 16:32, Willy Tarreau wrote: > > Hi David, > > > From 5b175adfa5ef9ab52ce69f7eb6775efe8a828974 Mon Sep 17 00:00:00 2001 > > From: David Carlier > > Date: Fri, 13 May 2022 20:16:15 +0100 > > Subject: [PATCH]

[PATCH 1/1]: BUILD/MINOR: solaris based oses build fix/get_exe_path implementation.

2022-05-13 Thread David CARLIER
Hi, here a little path for illumos/solaris. cheers. regards. From 5b175adfa5ef9ab52ce69f7eb6775efe8a828974 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 13 May 2022 20:16:15 +0100 Subject: [PATCH] BUILD/MINOR: few solaris updates. - get_exec_path using getexecname, fetching

Re: [PATCH 1/1: BUILD/MINOR: TCP_KEEPIDLE macos equivalence

2022-05-08 Thread David CARLIER
On Sun, 8 May 2022 at 09:57, Willy Tarreau wrote: > > On Sun, May 01, 2022 at 03:33:17PM +0100, David CARLIER wrote: > > Hi here a little patch to set idle time for SO_KEEPALIVE socket option. > > Now merged, thanks. > > David, one comment though, your commit mes

[PATCH 1/1: BUILD/MINOR: TCP_KEEPIDLE macos equivalence

2022-05-01 Thread David CARLIER
Hi here a little patch to set idle time for SO_KEEPALIVE socket option. Kind regards. 0001-BUILD-MINOR-socket-translate-TCP_KEEPIDLE-for-macOs-.patch Description: Binary data

Re: [PATCH 1/1]: BUILD/MEDIUM: tcp_sample porting get_tcp_info to macOs

2022-04-11 Thread David CARLIER
Ok fair points. On Mon, 11 Apr 2022 at 06:38, Willy Tarreau wrote: > > Hi David, > > On Sat, Apr 09, 2022 at 02:44:54PM +0100, David CARLIER wrote: > > Hi, > > > > here a patch proposal to port a subset of the get_tcp_info samples to macOs. > > Thanks, th

Re: [PATCH 1/1]: BUILD/MEDIUM: tcp_sample porting get_tcp_info to macOs

2022-04-11 Thread David CARLIER
On Mon, 11 Apr 2022 at 06:38, Willy Tarreau wrote: > > Hi David, > > On Sat, Apr 09, 2022 at 02:44:54PM +0100, David CARLIER wrote: > > Hi, > > > > here a patch proposal to port a subset of the get_tcp_info samples to macOs. > > Thanks, that's quite

[PATCH 1/1]: pool UAF pools ID setting on Linux 5.17 and onwards.

2022-04-10 Thread David CARLIER
Hi, Here a little patch for the use-after-free memory pool, allowing to identify them. Kind regards. From 7f599d96c248ea6b7a67168ea68b31470c08b61d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 10 Apr 2022 10:47:16 +0100 Subject: [PATCH] BUILD/MEDIUM: pool UAF's pool set an id on Linux

[PATCH 1/1]: BUILD/MEDIUM: tcp_sample porting get_tcp_info to macOs

2022-04-09 Thread David CARLIER
Hi, here a patch proposal to port a subset of the get_tcp_info samples to macOs. Kind regards. 0001-BUILD-MEDIUM-tcp_sample-porting-get_tcp_info-and-sam.patch Description: Binary data

Re: [PATCH]: BUILD/MINOR: ssl openssl 3 warning fix

2022-04-06 Thread David CARLIER
Alright fair enough will do. On Wed, 6 Apr 2022 at 10:06, William Lallemand wrote: > > On Wed, Apr 06, 2022 at 09:45:02AM +0100, David CARLIER wrote: > > > I recall there is a openssl3 port ongoing perhaps ? > > > > I was trying to see if the said 3.x portage

Re: [PATCH]: BUILD/MINOR: ssl openssl 3 warning fix

2022-04-06 Thread David CARLIER
On Wed, 6 Apr 2022 at 09:37, William Lallemand wrote: > > Hello David, > > On Tue, Apr 05, 2022 at 07:07:47PM +0100, David CARLIER wrote: > > Hi, I recall there is a openssl3 port ongoing perhaps ? > > > > but here a little "band-aid" proposal fo

[PATCH]: BUILD/MINOR: ssl openssl 3 warning fix

2022-04-05 Thread David CARLIER
Hi, I recall there is a openssl3 port ongoing perhaps ? but here a little "band-aid" proposal for the actual master branch. From 2d76cb9f249b9519d2b102133b224716965f3f02 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 5 Apr 2022 19:03:05 +0100 Subject: [PATCH] BUID/MINOR: ssl f

[PATCH] BUILD/MEDIUM: FreeBSD < 14 build fix

2022-03-08 Thread David CARLIER
Hi to (re)close #1555. :-) cheers. From afc36e0ee99504f4da82815256a374179872b148 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 8 Mar 2022 14:49:29 + Subject: [PATCH] BUILD/MEDIUM: freebsd build fix. Supporting kFreebsd previously led to FreeBSD (< 14) build breakage. --- incl

[PATCH] BUILD/MEDIUM kFreeBSD build fix

2022-03-04 Thread David CARLIER
Hi, here the patch related to the GH issue #1555. Kind regards. From 02bd5ee5089c20a99ad3dfba433dd0e3eda2ceee Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 4 Mar 2022 15:50:48 + Subject: [PATCH] BUILD/MEDIUM: fix kFreeBSD build. kFreeBSD needs to be treated as a distinct target

Re: [EXTERNAL] Re: [PATCH]: thread basic solaris support

2022-02-14 Thread David CARLIER
understandable. cheers :) On Mon, 14 Feb 2022 at 08:20, Willy TARREAU wrote: > > On Mon, Feb 14, 2022 at 08:11:14AM +, David CARLIER wrote: > > ping :) > > Sorry David, my tree is currently full of debugging code and functions > with guts hanging out, which is why I ten

Re: [PATCH]: thread basic solaris support

2022-02-14 Thread David CARLIER
ping :) On Mon, 31 Jan 2022 at 19:37, David CARLIER wrote: > > Hi, > > here a patch proposal for a solaris cpu affinity basic support (no NUMA > (yet)). > > Kind regards.

[PATCH]: thread basic solaris support

2022-01-31 Thread David CARLIER
Hi, here a patch proposal for a solaris cpu affinity basic support (no NUMA (yet)). Kind regards. From e3afd3de4f8c4e1d4d0d1d98a8de814aed19ffa6 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 31 Jan 2022 19:31:53 + Subject: [PATCH] MEDIUM: thread basic cpu affinity support

Re: [PATCH 3/3]: deviceatlas update doc and build changes.

2022-01-27 Thread David Carlier
Here find attached corrected versions. Thanks. Regards. On Thu, Jan 27, 2022 at 5:37 PM Willy Tarreau wrote: > On Fri, Jan 21, 2022 at 09:05:18PM +0000, David Carlier wrote: > > From e3f520ebd4f23fe42a1068ee2d9b42fd529241e8 Mon Sep 17 00:00:00 2001 > > From: David Carlier &g

Re: [PATCH 2/3]: deviceatlas addon update

2022-01-27 Thread David Carlier
On Thu, Jan 27, 2022 at 5:29 PM Willy Tarreau wrote: > On Fri, Jan 21, 2022 at 09:04:25PM +0000, David Carlier wrote: > > Second patch of the patchset concerning the update of the addon itself. > > > From d541d8dfd8aa0290625b3824bd6b44d2861e997f Mon Sep 17 00:00:00 2001 >

Re: [PATCH 1/3] deviceatlas update new service addition

2022-01-27 Thread David Carlier
your consent since they're signed-off. > > > From eae56a44d3bf51f8e92f66baef25f2a417f837ce Mon Sep 17 00:00:00 2001 > > From: David Carlier > > Date: Fri, 21 Jan 2022 20:46:40 + > > Subject: [PATCH 1/3] MEDIUM: deviceatlas new optional

Re: [PATCH] BUILD/MEDIUM: debug haiku build fix

2022-01-25 Thread David CARLIER
Hi, sure whatever solution you deem better. On Tue, 25 Jan 2022 at 11:09, Willy Tarreau wrote: > > Hi David, > > On Tue, Jan 25, 2022 at 10:40:57AM +, David CARLIER wrote: > > From 575cdb49b8fa923bdd44fe08a7068681e38ffe71 Mon Sep 17 00:00:00 2001 > > From: David Ca

[PATCH] BUILD/MEDIUM: debug haiku build fix

2022-01-25 Thread David CARLIER
Hi, here a little patch for haiku system. cheers. From 575cdb49b8fa923bdd44fe08a7068681e38ffe71 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 25 Jan 2022 10:37:59 + Subject: [PATCH] BUILD/MINOR: debug haiku build fix. O_ASYNC fcntl flag equivalent on this platform is O_RSYNC

[PATCH 3/3]: deviceatlas update doc and build changes.

2022-01-21 Thread David Carlier
Last patch of the patchset concerning the doc and the build. Thanks in advance. From e3f520ebd4f23fe42a1068ee2d9b42fd529241e8 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 21 Jan 2022 20:57:27 + Subject: [PATCH 3/3] MEDIUM: deviceatlas doc and build update. Mentions of the new

[PATCH 2/3]: deviceatlas addon update

2022-01-21 Thread David Carlier
Second patch of the patchset concerning the update of the addon itself. From d541d8dfd8aa0290625b3824bd6b44d2861e997f Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 21 Jan 2022 20:51:20 + Subject: [PATCH 2/3] MEDIUM: deviceatlas update of the main module. The DeviceAtlas addon can

[PATCH 1/3] deviceatlas update new service addition

2022-01-21 Thread David Carlier
Hi here the first patch of the patchset for the DeviceAtlas addon concerning the new download/scheduler service. Thanks in advance. From eae56a44d3bf51f8e92f66baef25f2a417f837ce Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 21 Jan 2022 20:46:40 + Subject: [PATCH 1/3] MEDIUM

Re: [EXTERNAL] [PATCH] BUILD/MINOR fix solaris build with clang

2022-01-17 Thread David CARLIER
Ah right then I use illumos based systems (which comes from opensolaris). solaris 11 is a bit unstable on a VM without fixes. On Mon, 17 Jan 2022 at 18:38, Willy TARREAU wrote: > > On Mon, Jan 17, 2022 at 05:38:46PM +, David CARLIER wrote: > > Mostly gcc 7.5 and clang 9 nowadays.

Re: [EXTERNAL] [PATCH] MEDIUM: pool monitor memory pressure on macOs

2022-01-17 Thread David CARLIER
> > On Sat, Jan 08, 2022 at 07:30:24PM +, David CARLIER wrote: > > Hi > > > > Here a proposal to monitor memory pressure level on macOs to then > > trigger pools trimming when it is critical. > > > > Cheers. > > > > thanks. > > &g

Re: [EXTERNAL] [PATCH] BUILD/MINOR fix solaris build with clang

2022-01-17 Thread David CARLIER
Mostly gcc 7.5 and clang 9 nowadays. Cheers. On Mon, 17 Jan 2022 at 16:43, Willy TARREAU wrote: > > On Thu, Jan 13, 2022 at 07:20:57PM +, David CARLIER wrote: > > Hi, > > > > here a little patch for solaris based systems. > > Thanks David, now applied. > &g

[PATCH] BUILD/MINOR fix solaris build with clang

2022-01-13 Thread David CARLIER
Hi, here a little patch for solaris based systems. Cheers. From 9a9acb9b1c4f82b19bd9d9323b1334ea122c4dea Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 13 Jan 2022 19:16:48 + Subject: [PATCH] BUILD/MINOR: fix solaris build with clang. clang 9 sets the level to POSIX 2004

[PATCH] MEDIUM: pool monitor memory pressure on macOs

2022-01-08 Thread David CARLIER
Hi Here a proposal to monitor memory pressure level on macOs to then trigger pools trimming when it is critical. Cheers. thanks. 0001-MEDIUM-pool-catching-memory-pressure-level-from-the-.patch Description: Binary data

Re: [EXTERNAL] Re: [PATCH] BUILD/MINOR: cpuset Fix FreeBSD 14 build

2022-01-08 Thread David CARLIER
Ah right make sense indeed. On Sat, 8 Jan 2022 at 09:42, Илья Шипицин wrote: > > David, there are minor failures after this patch > BUG/MEDIUM: mworker: don't use _getsocks in wait mode · > haproxy/haproxy@f82afbb (github.com) > > пт, 31 дек. 2021 г. в 09:33, David CARLIER : &

[PATCH] MINOR haproxy switching to sched_setaffinity on FreeBSD 14

2022-01-06 Thread David CARLIER
Hi here a little patch proposal. Kind regards. Thanks. 0001-MINOR-haproxy-switching-to-sched_setaffinity-for-Fre.patch Description: Binary data

[PATHC] BUILD/MINOR: solaris build fix

2021-12-31 Thread David CARLIER
Hi here a minor patch for solaris based system. not urgent tough happy new year in advance :) From bc3e1174ca9a01e4a80972d28d452fff1907fc00 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 31 Dec 2021 08:15:29 + Subject: [PATCH] BUILD/MINOR: tools solaris build fix. dladdr takes

Re: [EXTERNAL] Re: [PATCH] BUILD/MINOR: cpuset Fix FreeBSD 14 build

2021-12-30 Thread David CARLIER
will become the LTS version the HAProxy cpuset code could be greatly simplified. I would suggest to backport up to the 2.4, that should be fine. Thanks. On Fri, 31 Dec 2021 at 06:18, Willy TARREAU wrote: > > Hi David, > > On Fri, Dec 31, 2021 at 05:02:37AM +, David CARLIER wro

Re: [PATCH] BUILD/MINOR: cpuset Fix FreeBSD 14 build

2021-12-30 Thread David CARLIER
Here a simpler version if that s fine with you. Cheers. On Thu, 30 Dec 2021 at 16:10, David CARLIER wrote: > > Hi > > Here a little build fix for FreeBSD 14. > > Cheers. > > Kind regards. 0001-BUILD-MINOR-cpuset-FreeBSD-14-build-fix.patch Description: Binary data

Re: [PATCH] BUILD/MINOR: cpuset Fix FreeBSD 14 build

2021-12-30 Thread David CARLIER
> > чт, 30 дек. 2021 г. в 19:13, David CARLIER : >> >> Hi >> >> Here a little build fix for FreeBSD 14. >> >> Cheers. >> >> Kind regards.

[PATCH] BUILD/MINOR: cpuset Fix FreeBSD 14 build

2021-12-30 Thread David CARLIER
Hi Here a little build fix for FreeBSD 14. Cheers. Kind regards. 0001-BUILD-MINOR-cpuset-Fix-FreeBSD-14-build.patch Description: Binary data

[PATCH 3/3] socket add support for socket BPF filter related to SO_REUSEPORT

2021-12-17 Thread David CARLIER
From 44f69184b7c10373b9de53acba09b24ee83b2af8 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 17 Dec 2021 17:24:26 + Subject: [PATCH 3/3] MEDIUM: socket Adding support for the new reuseportbpf directive. documentation part. --- doc/configuration.txt | 5 + 1 file changed, 5

[PATCH 1/3] socket add support for socket BPF filter related to SO_REUSEPORT

2021-12-17 Thread David CARLIER
Hi, here a little patchset proposal to support cpu locality over a socket. I would understand if it is rejected tough no problems. Thanks. From f207b3e1f4cfaf9a1682778be747378e7146ce82 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 17 Dec 2021 17:19:48 + Subject: [PATCH 1/3] MINOR

[PATCH 2/3] socket add support for socket BPF filter related to SO_REUSEPORT

2021-12-17 Thread David CARLIER
From a7a48f5146d9a1784c8e1febc229f309814efa11 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 17 Dec 2021 17:21:10 + Subject: [PATCH 2/3] MEDIUM: socket Add support for the new reuseportbpf directive. It's an option supported from Linux 4.6, we purposely deactivate by default even

Re: [PATCH] MEDIUM numa supports for FreeBSD

2021-12-15 Thread David CARLIER
Cheers ! On Wed, 15 Dec 2021 at 10:15, Amaury Denoyelle wrote: > > On Tue, Dec 14, 2021 at 02:12:28AM +, David CARLIER wrote: > > ping :) > > On Mon, 6 Dec 2021 at 11:07, David CARLIER wrote: > > > > > > Hi > > > > > > Here a litt

Re: [PATCH] MEDIUM numa supports for FreeBSD

2021-12-13 Thread David CARLIER
ping :) On Mon, 6 Dec 2021 at 11:07, David CARLIER wrote: > > Hi > > Here a little patch for proper NUMA topology detection on FreeBSD. > > Thanks. > > Regards.

[PATCH] MEDIUM numa supports for FreeBSD

2021-12-06 Thread David CARLIER
Hi Here a little patch for proper NUMA topology detection on FreeBSD. Thanks. Regards. From 1fc467bf273e66b82497f28816ee3b03c88067e2 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Mon, 6 Dec 2021 11:00:10 + Subject: [PATCH] MEDIUM: numa detect topology on FreeBSD. allowing for all

Re: [PATCH] MEDIUM: pool second update but for the apple case

2021-11-26 Thread David CARLIER
Sorry the same patch removing useless line :) On Fri, 26 Nov 2021 at 20:51, David CARLIER wrote: > > Hi > > Here the following up for the apple system allocator (aka libmalloc). > > Cheers. > > Kind regards. 0001-MEDIUM-pool-Following-up-on-previous-pool-trimming-u.p

[PATCH] MEDIUM: pool second update but for the apple case

2021-11-26 Thread David CARLIER
Hi Here the following up for the apple system allocator (aka libmalloc). Cheers. Kind regards. 0001-MEDIUM-pool-Following-up-on-previous-pool-trimming-u.patch Description: Binary data

Re: [PATCH]: MEDIUM: pool little FreeBSD support improvement.

2021-11-25 Thread David CARLIER
Ok I applied your suggestions and move back the malloc_trim/mallinfo part as it was before. On Thu, 25 Nov 2021 at 14:37, Willy Tarreau wrote: > > On Thu, Nov 25, 2021 at 01:19:39PM +, David CARLIER wrote: > > Here a patchset instead :) > > Thanks! > > I've revi

Re: [PATCH]: MEDIUM: pool little FreeBSD support improvement.

2021-11-25 Thread David CARLIER
On Thu, 25 Nov 2021 at 12:25, Willy Tarreau wrote: > > On Thu, Nov 25, 2021 at 04:38:27PM +0500, ??? wrote: > > > Thus I think that instead of focusing on the OS we ought to continue > > > to focus on the allocator and improve runtime detection: > > > > > > - glibc (currently detected

Re: [PATCH]: MEDIUM: pool little FreeBSD support improvement.

2021-11-25 Thread David CARLIER
degrades depending on > the access patterns. For example some allocators are fast when you free() > in the exact reverse allocation order, but can start to fragment or have > more work to do finding holes if you don't free() in the exact same order. > > But that's something to keep

Re: [PATCH]: MEDIUM: pool little FreeBSD support improvement.

2021-11-25 Thread David CARLIER
On Thu, 25 Nov 2021 at 11:38, Илья Шипицин wrote: > > > > чт, 25 нояб. 2021 г. в 14:54, Willy Tarreau : >> >> Hi David, >> >> On Wed, Nov 24, 2021 at 08:08:39PM +, David CARLIER wrote: >> > Hi >> > >> > here a little patch for F

[PATCH]: MEDIUM: pool little FreeBSD support improvement.

2021-11-24 Thread David CARLIER
Hi here a little patch for FreeBSD to support memory arenas trimming. Thanks. regards. From 1d6386a626f56ca64c25e2dfbf2f9d90a81bd7ae Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 24 Nov 2021 20:02:41 + Subject: [PATCH] MEDIUM: pool: trimming arenas on FreeBSD. FreeBSD uses

[PATCH] BUILD/MINOR: cpuset Freebsd build fix

2021-10-30 Thread David CARLIER
Hi here a patch to address freebsd build failure. Kind regards. From 97df7fccc4f6a1b5d2b2ae8050ce58f7666f6c27 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 30 Oct 2021 12:22:21 +0100 Subject: [PATCH] BUILD/MINOR: cpuset freebsd build fix. adding missing strings.h header. --- include

Re: [PATCH] BUILD/MINOR: atomics: mac arm64 build fix

2021-10-26 Thread David CARLIER
the cast to avoid the spurious build warnings. Thanks. On Tue, 26 Oct 2021 at 09:41, Willy Tarreau wrote: > > Hi David, > > On Sat, Oct 23, 2021 at 05:12:18PM +0100, David CARLIER wrote: > > > > diff --git a/include/haproxy/atomic.h b/include/haproxy/atomic.h > >

Re: [PATCH] BUILD/MINOR: atomics: mac arm64 build fix

2021-10-23 Thread David CARLIER
On Sat, 23 Oct 2021 at 16:50, Willy Tarreau wrote: > > Hi David, > > On Sat, Oct 23, 2021 at 02:51:59PM +0100, David CARLIER wrote: > > Hi, > > Hopefully not too late for the 2.5 release :-) > > No worries, and fixes can be merged later anyway. I have some

[PATCH] BUILD/MINOR: atomics: mac arm64 build fix

2021-10-23 Thread David CARLIER
Hi, Hopefully not too late for the 2.5 release :-) Kind regards. 0001-BUILD-MINOR-atomics-mac-arm64-build-fix.patch Description: Binary data

[PATCH] BUILD/MINOR: healthcheck netbsd build fix

2021-10-20 Thread David CARLIER
Hi here a little patch for netbsd system. Kind regards. From 9a6a01ed06bbacffe76c8e504cb5c6c243912b2d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 20 Oct 2021 19:00:02 +0100 Subject: [PATCH] BUILD/MINOR: healthcheck: netbsd build fix. adding missing header for time based structs

[PATCH]: dragonflybsd build fix

2021-09-04 Thread David CARLIER
Hi here a little fix proposal for this platform. Cheers. From 6cfa1fce839504e04584d1bfedee188bc21c32b1 Mon Sep 17 00:00:00 2001 From: DC Date: Sat, 4 Sep 2021 09:58:57 +0100 Subject: [PATCH] BUILD/MINOR: dragonfly build fix. build failure since __read_mostly is undefined. ---

Re: [PATCH]: MINOR: proc: making the process able to produce ore dump on FreeBSD

2021-08-21 Thread David CARLIER
On Sat, 21 Aug 2021 at 21:08, David CARLIER wrote: > > ah yes true.. > > On Sat, 21 Aug 2021 at 21:06, Tim Düsterhus wrote: > > > > David, > > > > On 8/21/21 10:35 AM, David CARLIER wrote: > > > Here a little patch for FreeBSD systems. > &g

Re: [PATCH]: MINOR: proc: making the process able to produce ore dump on FreeBSD

2021-08-21 Thread David CARLIER
ah yes true.. On Sat, 21 Aug 2021 at 21:06, Tim Düsterhus wrote: > > David, > > On 8/21/21 10:35 AM, David CARLIER wrote: > > Here a little patch for FreeBSD systems. > > > > > > diff --git a/Makefile b/Makefile > > index 84b1bc0ea..f6d813c27 10

[PATCH]: MINOR: proc: making the process able to produce ore dump on FreeBSD

2021-08-21 Thread David CARLIER
Hi Here a little patch for FreeBSD systems. Thanks. Regards. From 82d3338206dd25cb046032d1b8f005228b8d0a76 Mon Sep 17 00:00:00 2001 From: DC Date: Sat, 21 Aug 2021 09:13:10 +0100 Subject: [PATCH] MINOR: proc: setting the process to produce a core dump on FreeBSD. using the procctl api to set

BUILD: tools: get the absolute path on FreeBSD

2021-08-17 Thread David CARLIER
Hi, same as earlier but for FreeBSD this time. Thanks. From 07be546638949864ef678b0e39871b7febceeaed Mon Sep 17 00:00:00 2001 From: DC Date: Tue, 17 Aug 2021 12:55:49 +0100 Subject: [PATCH] BUILD: tools: get the absolute path of the current binary on FreeBSD. FreeBSD stores the absolute path

BUILD: tools: gets the absolute path on NetBSD

2021-08-17 Thread David CARLIER
Hi, here a little patch proposal. Thanks in advance. From 30a530f3b352e907a3dd9daebfda2bb94dccbdbc Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 17 Aug 2021 08:44:25 +0100 Subject: [PATCH] BUILD: tools: get the absolute path of the current binary on NetBSD. NetBSD stores

Re: [PATCH] memprof fix OpenBSD build.

2021-07-26 Thread David CARLIER
Ok fair point(s). On Mon, 26 Jul 2021 at 12:04, Willy Tarreau wrote: > > Hi David, > > On Sun, Jul 25, 2021 at 11:07:00AM +0100, David CARLIER wrote: > > +/* OpenBSD does not have anything close to malloc_usable_size, thus > > profiling will be wrong regard

[PATCH] memprof fix OpenBSD build.

2021-07-25 Thread David CARLIER
Hi here a patch to fix OpenBSD build. Kind regards. From e5cddefe558d6f9bbe70128a3ade86a55d92d1b2 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 25 Jul 2021 12:04:06 +0100 Subject: [PATCH] BUILD/MINOR: memprof disable for OpenBSD when set. Fixing build in case memory profiling

Re: [PATCH] BUILD/MINOR memprof macOs build fix

2021-07-23 Thread David CARLIER
Thanks I realize it might needs backport in 2.4 at least. Cheers ! On Wed, 21 Jul 2021 at 09:28, Willy Tarreau wrote: > > On Tue, Jul 20, 2021 at 08:40:34PM +0100, David CARLIER wrote: > > Hi, > > > > here a build fix proposal for macOS when USE_MEMORY_PROFILING option is

[PATCH] BUILD/MINOR memprof macOs build fix

2021-07-20 Thread David CARLIER
Hi, here a build fix proposal for macOS when USE_MEMORY_PROFILING option is set. Cheers. 0001-BUILD-MINOR-memprof-fix-macOs-build.patch Description: Binary data

[PATCH]: BUILD/MEDIUM: set-mark openbsd support

2021-07-03 Thread David CARLIER
Hi here a follow-up of the previous patch but this time for OpenBSD. Cheers. From 369f7bce98c9c862a19b80b61505ebd5bb6766d9 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 3 Jul 2021 10:15:15 +0100 Subject: [PATCH] BUILD/MEDIUM> set-mark: support for OpenBSD set-mark supp

Re: [PATCH] BUILD/MEDIUM: tcp-act: set-mark support fir FreeBSD

2021-06-26 Thread David CARLIER
Looks correct thanks ! On Sat, 26 Jun 2021 at 16:49, Tim Düsterhus wrote: > > David, > > On 6/26/21 5:37 PM, David CARLIER wrote: > > Alright then :-) > > Not sure what happened, but it looks even more off now. To save you the > work I just applied it locally and

Re: [PATCH] BUILD/MEDIUM: tcp-act: set-mark support fir FreeBSD

2021-06-26 Thread David CARLIER
Alright then :-) On Sat, 26 Jun 2021 at 16:17, Tim Düsterhus wrote: > > David, > > On 6/26/21 4:57 PM, David CARLIER wrote: > > Sure. hope the doc changes is alright. > > > > Can you please rewrap the documentation to ensure an uniform look? > &g

Re: [PATCH] BUILD/MEDIUM: tcp-act: set-mark support fir FreeBSD

2021-06-26 Thread David CARLIER
Sure. hope the doc changes is alright. On Sat, 26 Jun 2021 at 15:37, Willy Tarreau wrote: > > Hi David, > > On Sat, Jun 26, 2021 at 12:09:30PM +0100, David CARLIER wrote: > > Hi here a little patch to enable set-mark for the FreeBSD platform. > > That's interesting,

[PATCH] BUILD/MEDIUM: tcp-act: set-mark support fir FreeBSD

2021-06-26 Thread David CARLIER
Hi here a little patch to enable set-mark for the FreeBSD platform. Kind regards. From 4acee3742a9385f4b1c9b611e59e7f2713d47a04 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 26 Jun 2021 12:04:36 +0100 Subject: [PATCH] BUILD/MEDIUM: tcp: set-mark setting support for FreeBSD

  1   2   3   >