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.54) id 1F9BV3-0002Oa-6R for garchives@archives.gentoo.org; Wed, 15 Feb 2006 01:30:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1F1TOtR003385; Wed, 15 Feb 2006 01:29:24 GMT Received: from cubo.math.ist.utl.pt (cubo.math.ist.utl.pt [193.136.196.1]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1F1PRrY025107 for ; Wed, 15 Feb 2006 01:25:27 GMT Received: from jmaa.math.ist.utl.pt (jmaa.math.ist.utl.pt [193.136.196.112]) by cubo.math.ist.utl.pt (8.13.1/8.13.1) with SMTP id k1F1PRYD023385 for ; Wed, 15 Feb 2006 01:25:27 GMT Received: (qmail 22187 invoked from network); 15 Feb 2006 01:25:26 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 15 Feb 2006 01:25:26 -0000 Date: Wed, 15 Feb 2006 01:25:26 +0000 (WET) From: Jorge Almeida To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge troubles In-Reply-To: <200602141757.43232.krakrjak@volumehost.net> Message-ID: References: <200602150043.27066.benno.schulenberg@gmail.com> <200602141757.43232.krakrjak@volumehost.net> 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 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: bc4d6aeb-fb99-45d7-a43a-ae12255cd3f8 X-Archives-Hash: f2f047734a864bab051ce5f59e405e76 On Tue, 14 Feb 2006, Zac Slade wrote: > On Tuesday 14 February 2006 17:43, Benno Schulenberg wrote: >> Jorge Almeida wrote: >>> parser error : out of memory error >>> /bin/sh: line 1: 3831 Segmentation fault >> >> Doesn't look good. :( > No it doesn't, but there has to be a reason why he's out of memory... What is > the output of free, before emerge? How about after it fails? Can you give > the output of the following commands: > cat /proc/sys/vm/swappiness > cat /proc/sys/vm/overcommit_memory > cat /proc/sys/vm/overcommit_ratio > $ cat /proc/sys/vm/swappiness 60 $ cat /proc/sys/vm/overcommit_memory 0 $ cat /proc/sys/vm/overcommit_ratio 50 $ free total used free shared buffers cached Mem: 1035204 968140 67064 0 270248 538412 -/+ buffers/cache: 159480 875724 Swap: 996020 300 995720 Of course, this is the output of free _after_ the previous failed emerge attempts. It seems RAM really was caught and not released... I can try rebooting, but there is the possibility that the box won't boot, and I'm away... Is there some way to find what's eating RAM? > Also try using "vmstat 5" in one window and attempting the emerge in another > window. > > What process is using the most memory right now? (Check top sorted by > memory). $ top top - 01:21:23 up 22 days, 17:29, 2 users, load average: 0.00, 0.00, 0.00 Tasks: 120 total, 2 running, 118 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.3% hi, 0.0% si Mem: 1035204k total, 968760k used, 66444k free, 270684k buffers Swap: 996020k total, 300k used, 995720k free, 538452k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 8291 root 15 0 159m 29m 3056 S 0.0 3.0 5:05.74 X 24756 jorge 15 0 30592 25m 2576 S 0.0 2.5 0:06.52 pine 28731 jorge 16 0 20016 14m 14m S 0.0 1.4 0:19.34 imap 26923 root 15 0 21236 12m 9704 S 0.0 1.2 0:00.39 kdm_greet 24757 jorge 16 0 8436 6292 5984 S 0.0 0.6 0:01.85 imap 21961 jorge 16 0 8044 3992 2684 S 0.0 0.4 0:00.15 vim 8259 root 16 0 5756 2852 1356 S 0.0 0.3 0:50.69 cupsd 24734 root 16 0 5944 1764 1440 S 0.0 0.2 0:00.01 sshd 24767 root 16 0 5948 1764 1440 S 0.0 0.2 0:00.01 sshd 3588 root 15 0 2644 1560 1172 S 0.0 0.2 0:00.11 bash 24746 jorge 15 0 2924 1472 1164 S 0.0 0.1 0:00.02 bash 6396 privoxy 15 0 36028 1464 784 S 0.0 0.1 0:07.90 privoxy 24785 jorge 15 0 2796 1456 1156 S 0.0 0.1 0:00.01 bash 24799 root 16 0 2664 1456 1156 S 0.0 0.1 0:00.00 bash Jorge Almeida -- gentoo-user@gentoo.org mailing list