Package: kernel-package Version: 13.014+nmu2 Severity: important this pattern is simple to reproduce. Happens only in the install target. In the install target, for a standard modular kernel, the number of kernel modules are 4400+. From what I see, for each .ko, a process is getting spawned and not exiting clean, thus leading to a fork bomb.
/bin/sh: 1: Cannot fork INSTALL drivers/media/rc/lirc_dev.ko [78/7861] INSTALL drivers/media/rc/rc-loopback.ko INSTALL drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.ko INSTALL drivers/media/rc/mceusb.ko INSTALL drivers/media/tuners/fc0011.ko INSTALL drivers/media/rc/keymaps/rc-msi-tvanywhere.ko INSTALL drivers/media/rc/keymaps/rc-msi-digivox-iii.ko INSTALL drivers/media/tuners/fc2580.ko INSTALL drivers/media/tuners/fc0013.ko INSTALL drivers/media/tuners/e4000.ko INSTALL drivers/media/rc/keymaps/rc-medion-x10.ko INSTALL drivers/media/rc/keymaps/rc-medion-x10-or2x.ko INSTALL drivers/media/tuners/it913x.ko INSTALL drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.ko INSTALL drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.ko INSTALL drivers/media/rc/keymaps/rc-msi-digivox-ii.ko INSTALL drivers/media/rc/keymaps/rc-nebula.ko /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork INSTALL drivers/media/rc/ttusbir.ko INSTALL drivers/media/tuners/mt2060.ko INSTALL drivers/media/tuners/fc0012.ko /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork /bin/sh: 1: Cannot fork INSTALL drivers/media/tuners/max2165.ko INSTALL drivers/media/tuners/msi001.ko make[3]: fork: Resource temporarily unavailable scripts/Makefile.modinst:35: recipe for target 'drivers/media/rc/keymaps/rc-em-terratec.ko' failed make[3]: *** [drivers/media/rc/keymaps/rc-em-terratec.ko] Error 2 make[3]: *** Waiting for unfinished jobs.... scripts/Makefile.modinst:35: recipe for target 'drivers/media/rc/keymaps/rc-encore-enltv2.ko' failed make[3]: *** [drivers/media/rc/keymaps/rc-encore-enltv2.ko] Error 2 scripts/Makefile.modinst:35: recipe for target 'drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.ko' failed make[3]: *** [drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.ko] Error 2 scripts/Makefile.modinst:35: recipe for target 'drivers/media/rc/keymaps/rc-videomate-tv-pvr.ko' failed @ testing 0:-* 1:-- -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kernel-package depends on: ii bc 1.06.95-9+b1 ii binutils 2.25.1-7 ii build-essential 11.7 ii bzip2 1.0.6-8 ii dpkg-dev 1.18.3 ii file 1:5.25-2 ii gettext 0.19.6-1 ii kmod 21-1 ii po-debconf 1.0.18 ii xmlto 0.0.28-0.1 ii xz-utils [lzma] 5.1.1alpha+20120614-2.1 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-4.1 pn docbook-utils <none> ii kernel-common 13.014+nmu2 pn uboot-mkimage <none> Versions of packages kernel-package suggests: ii libncurses5-dev [libncurses-dev] 6.0+20151024-2 pn linux-source <none> -- no debconf information