Header RSS Feed
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Nginx compile fails with fatal error: ld terminated with signal 9
Friday - Apr 21st 2017 - by - (0 comments)

If you ever experience a failed nginx compile process, which ends with the following error:

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
objs/Makefile:355: recipe for target 'objs/nginx' failed
make[2]: *** [objs/nginx] Error 1
make[2]: Leaving directory '/home/builder/build/nginx-1.12.0'
Makefile:8: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/builder/build/nginx-1.12.0'

Check out your memory usage. Dmesg is your friend:

[237469.710196] Out of memory: Kill process 685 (ld) score 716 or sacrifice child
[237469.712587] Killed process 685 (ld) total-vm:374356kB, anon-rss:357624kB, file-rss:0kB

After increasing the memory capacity of this VM, the nginx compile worked just fine.


Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6939 Days
until Death of Computers