From owner-freebsd-ports@FreeBSD.ORG Fri May 16 13:40:32 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 932EADA0 for ; Fri, 16 May 2014 13:40:32 +0000 (UTC) Received: from www.mimar.rs (www.mimar.rs [193.53.106.101]) by mx1.freebsd.org (Postfix) with ESMTP id 137D42F7B for ; Fri, 16 May 2014 13:40:31 +0000 (UTC) Received: from tazar.mimar.rs (localhost [127.0.0.1]) by www.mimar.rs (Postfix) with ESMTP id BDDADB9038 for ; Fri, 16 May 2014 15:40:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mimar.rs; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:organization:references:in-reply-to:message-id:subject :subject:from:from:date:date:received:received; s=mimar-0901; t= 1400247628; x=1402062029; bh=HUBUZuFkqZTKTkPWDmDAkQtX+cPuY00yT2p KGbNXkLg=; b=oiKc7izm1Pjn+l0BIj1oz0V0ZnBDOLDlxzCwViKYoBicCvdFuhm oT82cu15tNANOIfPyMBbbea3FDSYkhUYdGm4rSqSX3FtM5jHHTWpuPTsDRinKtv4 eSbfGhbVppfKrq68f+keEwfVNa0Ra+DtKGS1hiFYsVC9PrvunqQiVBCk= X-Virus-Scanned: amavisd-new at mimar.rs Received: from www.mimar.rs ([127.0.0.1]) by tazar.mimar.rs (tazar.mimar.rs [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ispbMhlj6GbU for ; Fri, 16 May 2014 15:40:28 +0200 (CEST) Received: from kaa.mimar.rs (nat.kappastar.com [193.53.106.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by www.mimar.rs (Postfix) with ESMTPSA id DAFF0B9022 for ; Fri, 16 May 2014 15:40:26 +0200 (CEST) Date: Fri, 16 May 2014 15:40:25 +0200 From: Marko =?UTF-8?B?Q3VwYcSH?= To: freebsd-ports@freebsd.org Subject: Re: lang/gcc and tmpfs no space let on device Message-Id: <20140516154025.16da4d76ab932fa4b4b95f9c@mimar.rs> In-Reply-To: <20140516131121.GF55053@albert.catwhisker.org> References: <20140516144309.1527d24cdfdcbb1b7bcfea25@mimar.rs> <20140516131121.GF55053@albert.catwhisker.org> Organization: Mimar X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 13:40:32 -0000 On Fri, 16 May 2014 06:11:21 -0700 David Wolfskill wrote: > * I've been using 2G tmpfs for some time without issue. > * The above error messages may be misleading: it is *possible* that > the actual complaint is not lack of space, but lack of available > inodes -- you can't tell from the message alone. "df -i /tmp" is > likely to be helpful in diagosing what is actually the problem. It is not related to inodes, confirmed by appending output of df -ih to a file by means of cron job that runs every minute: tmpfs 128M 388K 128M 0% 39 459k 0% /tmp tmpfs 128M 468K 128M 0% 41 459k 0% /tmp tmpfs 128M 452K 128M 0% 41 459k 0% /tmp tmpfs 128M 476K 128M 0% 57 459k 0% /tmp tmpfs 128M 480K 128M 0% 45 459k 0% /tmp tmpfs 128M 504K 128M 0% 46 459k 0% /tmp tmpfs 128M 17M 111M 13% 2.5k 456k 1% /tmp tmpfs 128M 18M 110M 14% 50 459k 0% /tmp tmpfs 128M 39M 89M 30% 72 459k 0% /tmp Somewhere in 10th minute it fills up /tmp which breaks building, and whatever build process created in /tmp is removed. This is the point of failure: libtool: compile: /usr/ports/lang/gcc/work/build/./gcc/gcj -B/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libjava/ -B/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd10.0/include -isystem /usr/local/x86_64-portbld-freebsd10.0/sys-include -fomit-frame-pointer -Usun -fclasspath=3D -fbootclasspath=3D../.././../gcc-4.7.3/libjava/classpath/lib --encoding=3DUTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=3D/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd= 10.0/libjava/classpath/lib/classes -MT javax/management.lo -MD -MP -MF javax/management.deps @javax/management.list -fPIC -o javax/.libs/management.o jc1: fatal error: error writing to /tmp/ccmi9d4D.s: No space left on device I'll try to increase /tmp to 512Mb and see what happens. --=20 Marko Cupa=C4=87