public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jorge Almeida <jalmeida@math.ist.utl.pt>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge troubles
Date: Wed, 15 Feb 2006 01:25:26 +0000 (WET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0602150049330.24756@jmaa.math.ist.utl.pt> (raw)
In-Reply-To: <200602141757.43232.krakrjak@volumehost.net>

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



  reply	other threads:[~2006-02-15  1:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14 10:38 [gentoo-user] emerge troubles Jorge Almeida
2006-02-14 14:50 ` Benno Schulenberg
2006-02-14 18:12   ` Jorge Almeida
2006-02-14 20:43     ` Benno Schulenberg
2006-02-14 21:10       ` Jorge Almeida
2006-02-14 23:43         ` Benno Schulenberg
2006-02-14 23:57           ` Zac Slade
2006-02-15  1:25             ` Jorge Almeida [this message]
2006-02-15  1:45               ` Zac Slade
2006-02-15  1:56                 ` Richard Fish
2006-02-15  2:14                   ` Jorge Almeida
2006-02-15  2:20                     ` Richard Fish
2006-02-15  2:21                       ` Richard Fish
2006-02-15  2:25                         ` Jorge Almeida
2006-02-15  2:48                           ` Richard Fish
2006-02-15  3:14                             ` Jorge Almeida
2006-02-15 15:24                               ` Zac Slade
2006-02-15 15:37                                 ` Jorge Almeida
2006-02-15  2:24                       ` Jorge Almeida
2006-02-15  2:10                 ` Jorge Almeida
2006-02-15  1:51               ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0602150049330.24756@jmaa.math.ist.utl.pt \
    --to=jalmeida@math.ist.utl.pt \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox