public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bastian Balthazar Bux <BastianBalthazarBux@pnpitalia.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] More memory?
Date: Sun, 05 Dec 2004 02:33:33 +0100	[thread overview]
Message-ID: <41B2656D.1000008@pnpitalia.it> (raw)
In-Reply-To: <49bf44f10412041057329eda1d@mail.gmail.com>

Grant wrote:

>>what kernel are you using ? in 2.6 yes definetively there is a way, also
>>some of the 2.4 series kernel was swapping too much, google for "swappines".
>>normally it's set to 60, lower that value and your swap will empty.
>>if you have a pre 2.4.19 kernel upgrade to a newer one also of the same
>>series.
>>    
>>
>
>I'm using 2.4.27-hardened, and I think swappiness is only available
>for 2.6.  Maybe it's time to move to 2.6, but this is a commercial
>server so I'm not so sure.
>
>  
>
If it's a commercial server and it's load under the 40%
it's easy, buy a disk and build a chrooted gentoo with hardened-dev-sources
then schedule a downtime of some hour to make the change.
Before to do this anyway it's better to figure out what really is the 
problem, try to isolate it,
reboot, cat somewhere that output of "top -b -n1" and diff one hour 
after and one day after,
try also "ps ax -eo user,vsize,size,command" and "man ps" I bet you will 
find what is strange

btw 2.4.27 it's *not* an old kernel.

>>Also it's not true with older kernels that running out of memory it's
>>safe, *really* it's not if you are also writing a lot to a disk.
>>    
>>
>
>Even if there is no crashing and the program just fails to load. 
>That's no good either.  I don't think disabling swap is the solution
>at all (we agree).
>
>- Grant
>
>--
>gentoo-user@gentoo.org mailing list
>
>
>  
>


--
gentoo-user@gentoo.org mailing list


  parent reply	other threads:[~2004-12-05  1:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49bf44f104120306566d7e95cc@mail.gmail.com>
     [not found] ` <1102117306.10326.3.camel@sf.rout.dyndns.org>
     [not found]   ` <49bf44f10412031709175d496@mail.gmail.com>
     [not found]     ` <20041204013213.GA30529@vicerveza.homeunix.net>
     [not found]       ` <49bf44f104120318296c48f892@mail.gmail.com>
2004-12-04 23:49         ` [gentoo-user] More memory? James Colannino
     [not found]         ` <200412040853.22010.uwix@iway.na>
     [not found]           ` <49bf44f104120410162d888ca2@mail.gmail.com>
     [not found]             ` <41B2059F.2010407@pnpitalia.it>
     [not found]               ` <49bf44f10412041057329eda1d@mail.gmail.com>
2004-12-05  1:33                 ` Bastian Balthazar Bux [this message]
2004-12-06 16:16           ` Grant
2004-12-06 17:20             ` Jerry McBride
2004-12-06 17:32             ` Billy
2004-12-06 20:36             ` Uwe Thiem
     [not found]     ` <cor8c2$pgv$1@sea.gmane.org>
2004-12-05  0:27       ` [gentoo-user] " Simon Windsor
2004-12-05  1:39         ` Grant
2004-12-05 12:21           ` Tim Igoe
2004-12-05 18:05             ` Grant

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=41B2656D.1000008@pnpitalia.it \
    --to=bastianbalthazarbux@pnpitalia.it \
    --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