Welcome! Log In Create A New Profile

Advanced

Re: Possible memory leak nginx 1.1.12 with pcre and jit enabled

Valentin V. Bartenev
January 24, 2012 02:18PM
On Tuesday 24 January 2012 22:12:07 Daniel Carrillo wrote:
> Hi all.
>
> I compiled nginx against pcre 8.21 and jit enabled. With this scenario
> in a few days the nginx processes are using more than 100MiB of RAM
> each. The same scenario with nginx 1.1.12 compiled against the system
> pcre library and jit disable (not available) the nginx processes are
> not consuming more than 13MiB each (as expected).
>
> CentOS 6.x
> nginx 1.1.12
> ./configure --with-pcre=../pcre-8.21/ --with-pcre-jit
> --with-http_stub_status_module --with-http_ssl_module
> --without-select_module --without-http_ssi_module
> --without-http_userid_module --without-poll_module
> --without-http_ssi_module --without-http_autoindex_module
> --without-http_geo_module --without-http_map_module
> --without-http_split_clients_module --without-http_referer_module
> --without-http_uwsgi_module --without-http_scgi_module
> --without-http_memcached_module --without-http_limit_conn_module
> --without-http_limit_req_module --without-http_browser_module
> --without-http_upstream_ip_hash_module --without-http-cache
> --without-mail_pop3_module --without-mail_imap_module
> --without-mail_smtp_module
>
> I'm not sure if the memory leak is related to nginx, pcre,
> configuration or a mix. Please let me know if more information is
> needed, configuration files, etc.
>

Yes, please, provide your nginx config.

Which version is your system PCRE library? Does it leak when the "pcre_jit"
directive is switched off?

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Possible memory leak nginx 1.1.12 with pcre and jit enabled

Daniel Carrillo January 24, 2012 01:14PM

Re: Possible memory leak nginx 1.1.12 with pcre and jit enabled

Valentin V. Bartenev January 24, 2012 02:18PM

Re: Possible memory leak nginx 1.1.12 with pcre and jit enabled

Daniel Carrillo January 27, 2012 06:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready