Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fheYl-0005HZ-Q0 for pgsql-admin@arkaria.postgresql.org; Mon, 23 Jul 2018 17:23:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fheYj-00016y-Oy for pgsql-admin@arkaria.postgresql.org; Mon, 23 Jul 2018 17:23:45 +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 1fheYj-00016q-Fy for pgsql-admin@lists.postgresql.org; Mon, 23 Jul 2018 17:23:45 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fheYg-0006yw-Im for pgsql-admin@lists.postgresql.org; Mon, 23 Jul 2018 17:23:44 +0000 Received: by mail-oi0-x241.google.com with SMTP id d189-v6so2529552oib.6 for ; Mon, 23 Jul 2018 10:23:41 -0700 (PDT) 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-transfer-encoding:content-language; bh=vxL5v/nTNb8ZPDWvlkySi52BhaFZmRBfMpiV1akgTVg=; b=M+tT8yff6ZvRP4qJi3vPj17WH7zM8qcjjAmuC4ZZGslVoxojZHlykoOWIxMWRoTILN +p0D3TUHFr2cFNFGnofDWwUvYok8mmwqOFUoaYGe++dQkhyyuSW7V7G1ge0PxqGze+Zv bdnl9ufnIn6sZusQWOvZeCRTGV/jqi37+hecis2Nx306hm2xjXj/D73f1krB8UgPPh25 xWQa42B2hsEdB3mGZ61MGXRvUbWBpTe6SS/4jX2kxwfRbkGyBYzxWUa/k5LGY//BSYRE 36DLOgekC5+8j6rul4VFSBdhRywzIq80xVWbiTbP1EaMjVJ/9r3/elTzD1KOJpQCvedz dltw== 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-transfer-encoding :content-language; bh=vxL5v/nTNb8ZPDWvlkySi52BhaFZmRBfMpiV1akgTVg=; b=ae+BV9VuyBCiFRUpKXx7JUrrEU2mANh3zQeMap8MI0Boc12ITk5cbYY24C7Z614boz wHJxdymMiGojaBFspzEQAkKlpC2z7XTq1HvaAkiBg1KvTHu8CWcmpDe3OB+H/0YW3xGR HWgJSEcaIJrRns09Yk7qlB/3LCFaBucZoHPy2TWGu5y0hKEqy8marQ12pKPrJ5d9cOPn sUy2LxVmz0tBstkqSA2OLWbq0+gEbPyemA4AKQtG6InztNVcL/7dv/zNUjR9z3rKTaom CCyhgknI8hyY1XL3B+TfLxF9o9DKGcfdeKBfv2vTnvfxyis9ZwEkVQQdll6sNzzyO0hc 8Rig== X-Gm-Message-State: AOUpUlEpN8TzAh4s6QG3IwKIX2YfOY8whCUfW4XIAIkIsFkR+qeFt6IM l0sLYEsPnUHFALuPVv5vBdmJa1yp X-Google-Smtp-Source: AAOMgpcy1JxWc4m/KeUBTnjZ3LIKC6qNJvg51XxL3O8oEIhb/8wd3irkanty3jXA8h7W4+3pbz+ZCw== X-Received: by 2002:aca:b256:: with SMTP id b83-v6mr8768180oif.235.1532366620216; Mon, 23 Jul 2018 10:23:40 -0700 (PDT) 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 b125-v6sm7094143oia.38.2018.07.23.10.23.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 10:23:39 -0700 (PDT) Subject: Re: Upgrade postgresql from 9.1 to 9.6 To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: Date: Mon, 23 Jul 2018 12:23:38 -0500 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: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I'd grep for all processes owned by postgres, since the pg_upgrade processes probably spawn children. On 07/23/2018 12:14 PM, Sohel Tamboli wrote: > Hi, > > I am trying to upgrade my postgresql database from version 9.1 to 9.6 > using pg_upgrade utility. > I have started this activity with 6 threads and running with no issues but > I can see only 2 active threads of pg_upgradeĀ  when checked on OS using > "ps -ef| grep pg_upgrade" which might slow down my upgrade process. > Is there any limit of adding jobs in "-j" parameter in pg_upgrade utility? > Or is there any settings that I need to configure in postgresql.conf file? > > Below are the configuration of my server: > OS : Amazon Linux > RAM: 64GB > CPU: 16 > DB size : 5 TB > Upgrade utility : pg_upgrade > Jobs: 6 > Issue : only 2 threads of pg_upgrade are active > > Appreciate your help!! > > Thanks, > Sohel -- Angular momentum makes the world go 'round.