With the last release (1.1.16), I remarked the build process is taking
a lot of RAM, ranging from 1800MB to 3500-4000MB.
Thanks my main build machine has 16GB of RAM, but my mips and mipsel
build machines (QEMU VMs) only have 256MB of RAM. So the systems went on
to crash with an oomkiller. So to be able to build it, I added up to 4GB
of swap space.
I remarked this issue in the following architectures : x86 (32 and 64
bits), powerpc, armel, armhf, mips and mipsel (all the architectures I
It occurs for every flavor of the Debian package (light, full and
extras) and the memory usage starts to grow when building
objs/ngx_modules.c like here with nginx-full : gcc -c -Wall -g -O2 -I
src/core -I src/event -I src/event/modules -I src/os/unix -I
/usr/include/libxml2 -I objs -o objs/ngx_modules.o objs/ngx_modules.c
A table summing up the modules present in every nginx flavour is
available here : http://wiki.debian.org/Nginx
So for the moment, this issue is blocking a build in the debian
buildds, and may block many others.
I’m available to do more tests and provide more information if needed.
Cyril “Davromaniak” Lavier