Moin,
i have been running into memleaks with nginx 1.24.0 for some time;
Nginx is self-build (as i need the http_sub module); It is configures
with: ./configure --with-http_sub_module --with-http_ssl_module --with-
http_stub_status_module --prefix=/usr/local --conf-
path=/etc/nginx/nginx.conf --user=www --group=www

This did not occur with nginx before 1.24.0; I went through all nginx
commits between 1.24.0 and the last non-leaking version, and the change
is indeed when Nginx made TLS1.3 default on.

The workload is a transparent proxy/web-fronting, i.e., lots of
outbound TLS connections as well. When you look at the graphs (url
below), it seems like leakage 'growth' tracks ~ to the number of
connections nginx receives.

As i currently assume that this is related to libressl, i did some
traces of nginx (MALLOC_OPTIONS 2,3,D and -i -tu) for 2 hours each
(usually enough for memory consumption to ~ double with avg. load.

I do not really know enough to debug this any further at the moment; Is
there anything else i could do to further circle in on the cause of
this (and ideally figure out whether it is a libressl or nginx issue)?

Some data (graphs, ktraces) here:
https://rincewind.home.aperture-labs.org/~tfiebig/malloc/

Wit best regards,
Tobias

Reply via email to