v1.5.9 compiled size is 8x larger than v1.5.8

Jim Popovitch jimpop at gmail.com
Wed Jan 22 19:56:38 UTC 2014


Hello,

I'm seeing a strange problem with v1.5.9, the compiled binary is 8
times larger than it was on v1.5.8.   My build environment (debian) is
the same that I've used for v1.5.8.

Production:
~$ nginx -V
nginx version: nginx/1.5.8
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--http-log-path=/var/log/nginx/access.log
--http-proxy-temp-path=/var/lib/nginx/proxy
--lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid
--with-pcre-jit --with-http_gzip_static_module --with-http_ssl_module
--with-http_spdy_module --with-ipv6 --without-http_browser_module
--without-http_geo_module --without-http_limit_req_module
--without-http_limit_zone_module --without-http_memcached_module
--without-http_referer_module --without-http_scgi_module
--without-http_split_clients_module --with-http_stub_status_module
--without-http_ssi_module --without-http_userid_module
--without-http_uwsgi_module
~$ ls -al /usr/sbin/nginx
-rwxr-xr-x 1 root root 613080 Dec 30 19:15 /usr/sbin/nginx


Testbed:
~$ nginx -V
nginx version: nginx/1.5.9
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--http-log-path=/var/log/nginx/access.log
--http-proxy-temp-path=/var/lib/nginx/proxy
--lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid
--with-pcre-jit --with-http_gzip_static_module --with-http_ssl_module
--with-http_spdy_module --with-ipv6 --without-http_browser_module
--without-http_geo_module --without-http_limit_req_module
--without-http_limit_zone_module --without-http_memcached_module
--without-http_referer_module --without-http_scgi_module
--without-http_split_clients_module --with-http_stub_status_module
--without-http_ssi_module --without-http_userid_module
--without-http_uwsgi_module
~$ ls -al /usr/sbin/nginx
-rwxr-xr-x 1 root root 5226396 Jan 22 16:11 /usr/sbin/nginx


What could be causing the increased binary size?

Thank you,

-Jim P.



More information about the nginx-devel mailing list