From owner-freebsd-questions Sun Oct 13 20:52:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8FDB37B401; Sun, 13 Oct 2002 20:52:27 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6672D43EAC; Sun, 13 Oct 2002 20:52:01 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g9E3nkf13462; Sun, 13 Oct 2002 22:50:16 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021013224948.0136e5e8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 13 Oct 2002 22:49:48 -0500 To: Marlon Pabilona , brian@FreeBSD.ORG, steve@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: swap_pager: out of swap space Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <200210132305.41007.marl@skyinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:05 PM 10.13.2002 -0400, Marlon Pabilona wrote: >Sir, > > After a year having without problem, our freebsd machine experienced a hang >problem and found the message "out of swap space" in /var/log/messages. Our >proxy server has a 1G of mem and 128MB swap space. What are the common cause >of the problem ? Do you think it is related to a smaller swap space allocated >? Thank you for your time. > > >Oct 14 04:11:08 proxy23 /kernel: swap_pager: out of swap space >Oct 14 04:11:08 proxy23 /kernel: swap_pager_getswapspace: failed > > Although this will be debated by other opinions, it is recommended that a swap be set up at 2X your physical memory -- or 2G in your case -- versus only 128MB which sounds low in any case.... Check the handbook on this section on setting up swap and also about adding more..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message