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 1f0xhF-0004Sj-42 for pgsql-general@arkaria.postgresql.org; Tue, 27 Mar 2018 23:08:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f0xhD-0001hj-Rx for pgsql-general@arkaria.postgresql.org; Tue, 27 Mar 2018 23:08:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0xhD-0001hZ-DM for pgsql-general@lists.postgresql.org; Tue, 27 Mar 2018 23:08:03 +0000 Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f0xhB-0003BA-3B for pgsql-general@lists.postgresql.org; Tue, 27 Mar 2018 23:08:02 +0000 Received: by mail-it0-x243.google.com with SMTP id z143-v6so17528835itc.0 for ; Tue, 27 Mar 2018 16:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SodMxorMopAZexKvBeVNBd6zsSTfa7A2u5uaMuthgsA=; b=eZ53GXjJN5c0VZmpYkhC45dxcTchsxYjrA8l7UHI05OiV303LcSHCcdtaz46QEJZVk 48PMevYdO3HHxQmLz+KR0F7MnSwVIuLiHCCFxUZ36GV/eMBY2T2E3NkQJkCS88F5tOsG dbExi+K/y6ze0vntc2vs5bS5CEjkESjIanbtL7oTDJHYiFMoOu9g14yOMUj7dZzcCaSi 8tZQjpkBS1iJA9eUoSRbDbptAjM450mI8tFo7Ml6gyba43qWhibKOFstdFKawnSVdfc/ q5Vj8k3T7KCImqDiB7v1dUWE9TuXRJdNIVrdBM7XV2HqKsOFeplSeMR9H2mLzt0sw1Rs cWdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SodMxorMopAZexKvBeVNBd6zsSTfa7A2u5uaMuthgsA=; b=TIkoT/iA+YKyNa1WsPn/b7krioMtCEc+vlE+vCORvZVYk24w4LMvwYYiPtP/QYtcFi mlwXeqxgriqhulOtwNFlOGni5kRTmj/lOz8eA+teSl7213MhwyLLF2xJN8iItmaLcJu2 FQMJvIrV1NwTqaDlW0anaiK90c0vn2JGN1Yacu95q4zkArYSvKhBtknzNOz2xj7RiAoz njxUuzNdZHbU4/Txd/M3ac3cWe8kL+ZPgXvQ8tb2mJdAlfuZTN8t/hy9E2m0ry6vvEBg qldfh+dOuutgd/DIC5+v5I9uq4W8lm1p9jBadfzuTc/HrcKXHP3bPlsAuYo6jVp6dzOv ty/A== X-Gm-Message-State: AElRT7FhWrtbeRRTF3yyhWUzxOQemNNmPHPXVmcXoPctbUuBDGFI8Hki Ner6IoOU9ZzudVgdHM05HwGSfURP X-Google-Smtp-Source: AIpwx48HHmj0CYLvvmnDpmHsV/I6Ok/FUDoCD/X/eLh0Nai7lXAe4txuuRS9NGsh1NTsNoXybD7OWA== X-Received: by 2002:a24:32c4:: with SMTP id j187-v6mr1207074ita.85.1522192079709; Tue, 27 Mar 2018 16:07:59 -0700 (PDT) Received: from ?IPv6:2605:a601:2062:d00:a04d:9847:34c3:cda0? ([2605:a601:2062:d00:a04d:9847:34c3:cda0]) by smtp.gmail.com with ESMTPSA id m191-v6sm1711578itg.42.2018.03.27.16.07.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 16:07:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: connection dropped from the backend server From: armand pirvu X-Mailer: iPhone Mail (14G60) In-Reply-To: <9c4890fe-df61-eae9-48c0-f01fbafedf3a@aklaver.com> Date: Tue, 27 Mar 2018 18:07:58 -0500 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5FCACAED-139A-4D38-80AA-895C5884631E@gmail.com> References: <88B8EEC2-917D-498D-938B-DD4C2C3C7008@gmail.com> <9c4890fe-df61-eae9-48c0-f01fbafedf3a@aklaver.com> To: Adrian Klaver List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk As long as the connection stays up yes data gets fine across=20 In pg_stat_activity I see the node ip address where tail -f piped into psql h= appens Sent from my iPhone > On Mar 27, 2018, at 6:03 PM, Adrian Klaver wro= te: >=20 >> On 03/27/2018 03:36 PM, armand pirvu wrote: >> Hi all >> I have a process of some data manipulation and ultimate transfer to a pos= tgres database >> A DML statement gest concoted with the transformed data and pusshed into a= named pipe >> The named pipe is tailed -f in the background like this >> nohup $SHELL <> tail -f /u1/sys_admin/dba/mypipe.fifo | psql -U csidba -d repdb -h rephos= t >> EOF >> All good BUT I do notice every say 10 min although I see the tail and psq= l processes in the ps output, looking in pg_stat_activity there is really no= thing the host I run the nohuped tail >=20 > Could it be that pg_stat_activity shows nothing because the DML has comple= ted when you look? >=20 > Does the data find its way into the database? >=20 >> Any suggestions how to approach this/make it better/monitor ? >> Thanks >> -- Armand >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com