Article View: fa.netbsd.tech.kern
Article #74Re: pbulk using tmpfs
From: Taylor R Campbell
Date: Sun, 21 Apr 2013 00:15
Date: Sun, 21 Apr 2013 00:15
26 lines
2679 bytes
2679 bytes
Date: Sun, 21 Apr 2013 00:10:01 +0000
From: Taylor R Campbell <campbell+netbsd-tech-kern@mumble.net>
Date: Sun, 21 Apr 2013 01:12:06 +0200 (CEST)
From: iMil <imil@home.imil.net>
I've just witnessed it with a couple of packages:
multimedia/vlc:
CC input/libvlccore_la-stream_memory.lo
/scratch/multimedia/vlc/work/.wrapper/bin/gcc: Cannot fork
/scratch/multimedia/vlc/work/.wrapper/tmp/logic: Cannot fork
/usr/pkg/bin/libtool: Cannot fork
I guess I'm too short in memory to play that game :)
You probably need to bump the maxproc ulimit (ulimit -p). The default
soft limit is ridiculously low for modern machines, and does not scale
with the available RAM as it probably ought to. I set it to 1044, the
default hard limit.
..that is, assuming you are doing a highly parallel (high MAKE_JOBS
or many pbulk slaves) build. If not, it is curious that the failure
should manifest in fork in particular and not in a variety of ways or
in a way that is obviously related to memory exhaustion.
Technical Details
Message-ID:
<fa.8O0xRXNTLjFmHekkPvrAb6aiH/I@ifi.uio.no>Path:
arc1-ca.pugleaf.net!hg5ni5232wib.1!nntp.google.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.7mNkL/xC2zPn/oZkVVxJHCq1jJI@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c6f4,786e9905c90c1180
X-Google-NewGroupId: yes
X-Google-Attributes: gidb7e13b6095,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.188.52 with SMTP id fx20mr9704573wic.3.1366503318780;
Sat, 20 Apr 2013 17:15:18 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni5232wib.1!nntp.google.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Taylor R Campbell <campbell+netbsd-tech-kern@mumble.net>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: pbulk using tmpfs
Date: Sun, 21 Apr 2013 00:15:18 UTC
Organization: Internet mailing list
Lines: 26
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.8O0xRXNTLjFmHekkPvrAb6aiH/I@ifi.uio.no>
References: <fa.7mNkL/xC2zPn/oZkVVxJHCq1jJI@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1366503318 26125 129.240.7.9 (21 Apr 2013 00:15:18 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sun, 21 Apr 2013 00:15:18 +0000 (UTC)
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1
Cc: Jan Danielsson <jan.m.danielsson@gmail.com>, tech-kern@NetBSD.org, tech-pkg@NetBSD.org
To: iMil <imil@home.imil.net>
Delivered-To: tech-kern@NetBSD.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-reply-to: <20130421000841.CD4A6604E9@jupiter.mumble.net> (campbell+netbsd-tech-kern@mumble.net)
List-Id: tech-kern.NetBSD.org
Original-Date: Sun, 21 Apr 2013 00:14:59 +0000
Original-Message-Id: <20130421001340.49AE5604E9@jupiter.mumble.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit