It was complaining too many open files, kern.maxfiles was about 3400, I increased it to 10000, but later decided to break the build and issued 'pkill -9 Build' , which led to a panic, now in fsck. Looks like a fork bomb...
On Mon, 13 Nov 2017, 14:15 Chavdar Ivanov, <ci4...@gmail.com> wrote: > Same here, system front yesterday. ps ax|grep Build | wc -l returned 893. > Almost killing the system, but I am still waiting. I did the build only to > try this report, I otherwise have the same package from August. > > Chavdar > > On Mon, 13 Nov 2017, 13:55 Thomas Klausner, <w...@netbsd.org> wrote: > >> Hi! >> >> On 8.99.6 (with subr_pool v1.208, otherwise from yesterday) I have >> trouble building p5-Module-Build. It takes a long time and then >> complains about forking problems. I tried setting MAKE_JOBS_SAFE=no >> but that didn't help. >> >> The output is: >> >> => Tool dependency perl>=5.26.0: found perl-5.26.1 >> => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 >> => Build dependency p5-CPAN-Meta>=2.142060: found p5-CPAN-Meta-2.150010nb1 >> => Build dependency cwrappers>=20150314: found cwrappers-20171108 >> => Full dependency p5-inc-latest-[0-9]*: found p5-inc-latest-0.500nb2 >> => Full dependency perl>=5.26.0<5.28.0: found perl-5.26.1 >> ===> Overriding tools for p5-Module-Build-0.42240 >> ===> Extracting for p5-Module-Build-0.42240 >> ===> Patching for p5-Module-Build-0.42240 >> ===> Creating toolchain wrappers for p5-Module-Build-0.42240 >> ===> Configuring for p5-Module-Build-0.42240 >> => Checking for portability problems in extracted files >> Created MYMETA.yml and MYMETA.json >> Creating new 'Build' script for 'Module-Build' version '0.4224' >> ===> Building for p5-Module-Build-0.42240 >> cd /scratch/devel/p5-Module-Build/work/Module-Build-0.4224 && >> /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ >> -pthread PTHREAD_LIBS= PTHREADBASE=/usr LC_ALL=C PERL_MM_USE_DEFAULT=1 >> CXXCPP=cpp CC=gcc CFLAGS=-O2\ -g\ -fPIC\ -D_FORTIFY_SOURCE=2\ >> -fstack-check\ -I/usr/include CPPFLAGS=-g\ -I/usr/include CXX=c++ >> CXXFLAGS=-O2\ -g\ -fPIC\ -D_FORTIFY_SOURCE=2\ -fstack-check\ -I/usr/include >> COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C >> LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C >> LDFLAGS=-Wl,-z,relro\ -Wl,-z,now\ -L/usr/pkg/lib\ >> -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE\ >> -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R >> PATH=/scratch/devel/p5-Module-Build/work/.cwrapper/bin:/scratch/devel/p5-Module-Build/work/.buildlink/bin:/scratch/devel/p5-Module-Build/work/.tools/bin:/scratch/devel/p5-Module-Build/work/.gcc/bin:/usr/pkg/bin:/usr/X11R7/bin:/home/wiz/bin:/bin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/usr/games:/usr/pkg/lib/surfraw:/archive/foreign/nfotex/tasks/bin:/usr/pkg/bin:/usr/pkg/bin >> PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc >> HOME=/scratch/devel/p5-Module-Build/work/.home >> CWRAPPERS_CONFIG_DIR=/scratch/devel/p5-Module-Build/work/.cwrapper/config >> CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info >> PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no >> BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ builder\ -m\ 755 >> BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 >> BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 >> BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 >> BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 >> BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ >> -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ >> -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ >> -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ >> -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ >> -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ >> \ -o\ pbulk\ -g\ builder\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ >> -c\ -o\ pbulk\ -g\ builder\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ >> -d\ -o\ pbulk\ -g\ builder\ -m\ 775 INSTALL_INFO= >> MAKEINFO=/scratch/devel/p5-Module-Build/work/.tools/bin/makeinfo FLEX= >> BISON= PKG_CONFIG= >> PKG_CONFIG_LIBDIR=/scratch/devel/p5-Module-Build/work/.buildlink/lib/pkgconfig:/scratch/devel/p5-Module-Build/work/.buildlink/share/pkgconfig >> PKG_CONFIG_LOG=/scratch/devel/p5-Module-Build/work/.pkg-config.log >> PKG_CONFIG_PATH= >> CWRAPPERS_CONFIG_DIR=/scratch/devel/p5-Module-Build/work/.cwrapper/config >> ./Build >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> Can't fork, trying again in 5 seconds at >> /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/Cwd.pm line 231. >> ... >> >> Any ideas? >> Thomas >> >