Possible memory leak nginx 1.1.12 with pcre and jit enabled

Daniel Carrillo daniel.carrillo at gmail.com
Tue Jan 24 18:12:07 UTC 2012


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.

Thanks in advanced.
Kind Regards.



More information about the nginx mailing list