Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJiZn-0001Av-K1 for pgsql-general@arkaria.postgresql.org; Mon, 05 Nov 2018 17:22:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJiXe-00081v-W8 for pgsql-general@arkaria.postgresql.org; Mon, 05 Nov 2018 17:19:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJiXe-00081o-LM for pgsql-general@lists.postgresql.org; Mon, 05 Nov 2018 17:19:58 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gJiXc-0004hw-9f for pgsql-general@lists.postgresql.org; Mon, 05 Nov 2018 17:19:58 +0000 Received: by mail-oi1-x22c.google.com with SMTP id k19-v6so8130546oic.11 for ; Mon, 05 Nov 2018 09:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=F6GLvjUfXNbaqTeuoDZNzygPjGlnW1Q9fHRcufHoaUs=; b=otNam5IN1HwQiMFfeQlRN+78hI8wfKyfFlSOTEXCxu2pDIhirEUHzWfPxN+gU/P5AO K7vrh++Hv2UYydiqCrI6FFbr0AKd5cIyuzCDttvbj1lhYsZW/N1b8QSzD+oCs/+iHe7R hOit8lAvK2n2qkFBamUiJYQMMv394V8K6mvzHZavMo5KBCQQqIWGqT0prihroZb4azO4 FTPINVzquVA/IAGDOa6Z+eN8aU9gNHV5vO6mzXmtw0P0IhjxSsJwqW13yoH5FlHa2vNq Byc0qUmrmDhgYmTVJviW/r7m05c+bUlLDNj+8lWhV8xE2ZHxxljxWkooHg+quYAsvo+u TPpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=F6GLvjUfXNbaqTeuoDZNzygPjGlnW1Q9fHRcufHoaUs=; b=UKSoeUKIaBd8GWL1rd/icHe8eZhk3XdXaLe2IBxgr0l7LA1hKC9WMtWcY4gtpwAYn2 G0ni0uMr0L6dTEhrvQtx+6rpx4G7+Ih3PjE5mIpsJLrL8lQ5gk3xPGXIpXi3HGk/HL4c i8DkivboqulDCj4XwTSrlNw4hs6F5jWG8y3fY3oLO7d0ucRONbajYpfqrGU2uD6zeCGc dy5nXaDFS3xVAE2G+r4HEX+P2wMSPvSJPhMS5+7O93y5SHyalFMD7wKD6fU4w084v/sD g2ur9s1Aa8uThscbDi5UgwS7wY69DUvDG3SuTtl3thKf2h8f1gokCa2ODI6KjDEnEC5l a4bw== X-Gm-Message-State: AGRZ1gJ672cX4IZ/Aihzi/vD1ur+s8L2r/g0RWyxYPrHzJ7+VW0zEGpg IDys1u5EfxEqL8dSo0o+eK3qCoKP X-Google-Smtp-Source: AJdET5f2y/xoCbFYe+Rc4IgZ594+n/A6TcrV+l306UaLkLPJWS4e8Sks2S59yH387W1RD42lNb588w== X-Received: by 2002:aca:6ad3:: with SMTP id f202-v6mr12448863oic.50.1541438393917; Mon, 05 Nov 2018 09:19:53 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id t43sm4931667oti.73.2018.11.05.09.19.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 09:19:52 -0800 (PST) Subject: Re: Trouble Upgrading Postgres To: pgsql-general@lists.postgresql.org References: <18968e03-6342-a01e-3423-04642e15390b@aklaver.com> <10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com> <0a915be8-3ae0-0dab-cfd0-e2138060b5ae@aklaver.com> <46063d22-e33b-edf0-e60e-ade29ae67bb0@gmail.com> From: Ron Message-ID: Date: Mon, 5 Nov 2018 11:19:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------82CB60CDC9D83E9574B13E8C" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------82CB60CDC9D83E9574B13E8C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 11/05/2018 11:06 AM, Charles Martin wrote: > Ron said: > > >We were expecting the output of the "SHOW SHARED_BUFFERS;" command. > > Ok, the result from that command is: > > 1GB >> >The system has only 4GB of RAM. I read that a reasonable swap size is 1/4 of >> RAM, so I've created a swap file of 1GB. > >Times have changed...  (I'd have made a 4GB swap file.) > > I have a spare drive that is 230G, so I have enough space. I suppose I can > set swapoff, delete the swapfile, create a new 4G one, and set swapon. Or > is there a better way? Linux already knows about the 1GB file; just add a 3GB swap file on the 230GB drive. -- Angular momentum makes the world go 'round. --------------82CB60CDC9D83E9574B13E8C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 11/05/2018 11:06 AM, Charles Martin wrote:
Ron said:

>We were expecting the output of the "SHOW SHARED_BUFFERS;" command.

Ok, the result from that command is:

1GB
>The system has only 4GB of RAM. I read that a reasonable swap size is 1/4 of RAM, so I've created a swap file of 1GB.
>Times have changed...  (I'd have made a 4GB swap file.)

I have a spare drive that is 230G, so I have enough space. I suppose I can set swapoff, delete the swapfile, create a new 4G one, and set swapon. Or is there a better way?

Linux already knows about the 1GB file; just add a 3GB swap file on the 230GB drive.

--
Angular momentum makes the world go 'round.
--------------82CB60CDC9D83E9574B13E8C--