Large module size
Closed this issue · 2 comments
dburianov commented
Describe the bug
I builded module follow by documentation and module have size about 145M
144531296 Nov 8 00:31 ngx_otel_module.so
In Nginx+ repo this module have size about 5.5M.
I know 2 people, that builded it module and thye have similar module size too.
To reproduce
Steps to reproduce the behavior:
build module e.g. https://gitlab.com/burianov/nginx-aio/-/blob/main/Dockerfile.nginx.nginx_otel?ref_type=heads
loook module size
ls -la /usr/local/nginx/modules/
144531296 Nov 8 00:31 ngx_otel_module.so
Expected behavior
Self compiled module size may be similar to Nginx+
Your environment
Ubuntu 22.04.3 LTS (Jammy Jellyfish) in docker 24.0.7
module version fc7e69a
Nginx release-1.25.3
thresheek commented
Hello,
what is the size after stripping the module?
dburianov commented
it fixed, thank you
Now it module 5.5M