From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H602U-0003P8-Lu for garchives@archives.gentoo.org; Sun, 14 Jan 2007 07:44:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0E7hJU6025611; Sun, 14 Jan 2007 07:43:19 GMT Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0E7dCiM005803 for ; Sun, 14 Jan 2007 07:39:13 GMT Received: from [192.168.1.40] (c-69-141-3-197.hsd1.pa.comcast.net[69.141.3.197]) by comcast.net (sccrmhc12) with ESMTP id <20070114073911012002p34pe>; Sun, 14 Jan 2007 07:39:12 +0000 Message-ID: <45A9DE1B.9040004@paulscrap.com> Date: Sun, 14 Jan 2007 02:39:07 -0500 From: PaulNM User-Agent: Thunderbird 1.5.0.9 (X11/20061226) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative? References: <1168699369.14521.15.camel@camille.espersunited.com> In-Reply-To: <1168699369.14521.15.camel@camille.espersunited.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1faeb935-d04c-423a-89f6-35dd56b4bf35 X-Archives-Hash: 1146f555e4f7e0cf6512bf263edca79d Michael Sullivan wrote: > I'm fed up with this. I've restarted the emerge of gcc-4.1.1-r3 on my > server box four times now. It always gets to compiling insn-attrtab.o > and then it never stops. I even went into the Makefile to find the > exact command used to compile this particular object file and ran the > command manually. It only took half an hour, but when I told it to > emerge sys-devel/gcc, I guess it didn't like my manually built file, so > it's doing it over again. This time it's been trying to build this file > for over eight hours. > > 4499 root 18 0 132m 35m 416 R 1.5 60.2 8:41.94 cc1 I once experienced something similar on my [i686 Pentium II (Klamath)] server. I don't remember exactly what part of gcc was compiling at the time of the "hang", but I found switching kernel versions helped. According to top, kswapd0 was very busy, basically using up most of the systems resources. Ssh'ing in was very slow due to that and the gcc compile. I stopped and restarted it twice after letting it run over night (8+ hrs). Normal compile time is "genlop -t gcc" about 4hrs and 15mins. Googling kswapd0 showed it's related to the kernel swapping pages in and out. My system was swapping like nuts, but shouldn't have. This is a good example of that happening : http://lists.centos.org/pipermail/centos/2005-May/046804.html You might want to try rebooting, or changing swapiness values to see if that helps. In my case there was a gentoo-sources update at the same time, so I just let that build and restarted. > 4499 root 18 0 132m 35m 416 R 1.5 60.2 8:41.94 cc1 According to this cc1 is only using 1.5% of cpu, and about 60% of ram. What does "free" give you, and does kswapd0 keep jumping up and down in terms of cpu%? PaulNM -- gentoo-user@gentoo.org mailing list