From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21155 invoked from network); 5 Dec 2004 01:19:57 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 5 Dec 2004 01:19:57 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1Cal49-0005zt-CL for arch-gentoo-user@lists.gentoo.org; Sun, 05 Dec 2004 01:19:57 +0000 Received: (qmail 15295 invoked by uid 89); 5 Dec 2004 01:19:41 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 15248 invoked from network); 5 Dec 2004 01:19:41 +0000 Message-ID: <41B2656D.1000008@pnpitalia.it> Date: Sun, 05 Dec 2004 02:33:33 +0100 From: Bastian Balthazar Bux User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org References: <49bf44f104120306566d7e95cc@mail.gmail.com> <20041204013213.GA30529@vicerveza.homeunix.net> <49bf44f104120318296c48f892@mail.gmail.com> <200412040853.22010.uwix@iway.na> <49bf44f104120410162d888ca2@mail.gmail.com> <41B2059F.2010407@pnpitalia.it> <49bf44f10412041057329eda1d@mail.gmail.com> In-Reply-To: <49bf44f10412041057329eda1d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Re: [gentoo-user] More memory? X-Archives-Salt: b8a49803-dff5-4ccb-aed6-0be0bdf142a6 X-Archives-Hash: 5bec24f294fed37650c8720e313bbfca 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