From owner-freebsd-ports@FreeBSD.ORG Sun Jan 2 14:01:25 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE528106566B for ; Sun, 2 Jan 2011 14:01:25 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5E88FC1D for ; Sun, 2 Jan 2011 14:01:25 +0000 (UTC) Received: by qwj9 with SMTP id 9so12299733qwj.13 for ; Sun, 02 Jan 2011 06:01:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=HaPxkCckntPL+wPyk2D6P6MOFC5s+s1LSjBY74xctj4=; b=RNvOYwgEVDDU7zKJraS6LRePXEKbQeVtfN00ObOMgN850L9nBGNQYrL50pbEFITXxa s47ID2+B3ZT0FqymLIoH7KOonyYmGikFRU7vFCfesXZGgRTBZ4UlyUNMqgE5TTwlrGI1 Q9P3lGLBdQ23mtBHo81NRhghiWZ/E4/OyONyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=rMFjV2Pcr8qeh+6AyjSQpUlYUxYPTA3Tc+5Mvzoz1Ig+jKyICz1OcCCuqGGRYwN1py v5C5o+FfP8ijIlM0E7el8FPX8JIaXJ158zKgDgGI2dIjweOGADbFgQ6PzzXoogJhY0/v G+nR6U9bbD+24F6bpmDhopzxnjJ98RmHsENjs= Received: by 10.224.67.82 with SMTP id q18mr18306932qai.358.1293976884436; Sun, 02 Jan 2011 06:01:24 -0800 (PST) Received: from localhost (anonymizer6.torservers.net [174.36.199.203]) by mx.google.com with ESMTPS id l12sm11331584qcu.43.2011.01.02.06.01.22 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Jan 2011 06:01:24 -0800 (PST) From: Anonymous To: Denny Lin References: <20110102113714.GA81113@mail.hs.ntnu.edu.tw> Date: Sun, 02 Jan 2011 17:01:17 +0300 In-Reply-To: <20110102113714.GA81113@mail.hs.ntnu.edu.tw> (Denny Lin's message of "Sun, 2 Jan 2011 19:37:15 +0800") Message-ID: <868vz34d76.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-ports@freebsd.org Subject: Re: Ccache hangs while compiling and cache size is exaggerated X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2011 14:01:25 -0000 Denny Lin writes: > Hi, > > I'm using ccache 3.1.3, and it often hangs while compiling. What its waiting channel? Hit ^T when it hangs or run under ktrace(1). > Every time this happens, the cache size from $ ccache -s also becomes > ridiculously large (larger than the actual cache size). > > $ ccache -s > [...] > cache size 6.9 Gbytes > The filesystem says it's only 2.9 GB. How did you measure it? du(1) with `-A' option? For example, compression can make difference $ df ~/.ccache Filesystem Size Used Avail Capacity Mounted on /.../.ccache 49G 666M 48G 1% ~/.ccache $ du -hs ~/.ccache 666M ~/.ccache $ du -Ahs ~/.ccache 912M ~/.ccache > > I can reproduce this, but I don't know what is causing this.