Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBoO5-0006Eo-HG for pgsql-general@arkaria.postgresql.org; Mon, 06 Nov 2017 20:52:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eBoO4-00029s-RF for pgsql-general@arkaria.postgresql.org; Mon, 06 Nov 2017 20:52:52 +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.84_2) (envelope-from ) id 1eBoLe-0006EM-DZ for pgsql-general@postgresql.org; Mon, 06 Nov 2017 20:50:22 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eBoLX-0007WV-68 for pgsql-general@postgresql.org; Mon, 06 Nov 2017 20:50:20 +0000 Received: by mail-pf0-x236.google.com with SMTP id n14so8602430pfh.8 for ; Mon, 06 Nov 2017 12:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ATbrXf8vTgG1pIZ+DjX/stGoM/dV+XMQ3AsQwpA2Q8k=; b=BTWGOYiXMvsXP969IXCaVk3fm7Q5oyYdiMQOEmb6C/dAAgfL8nTx6b4O2abf+f6chU c5LzzYm/p4+vm0XgIrpq3Fjio4mPEbVXcrfZHilEBA7z5P+ef9joix/BBiR1t4v8T7p1 73Gx1UESFR51ufVsxiwEZgzaQzMPOmMYn5/2aTYFRD5iAYlVNmJ/imI1CL76NEorVV18 RMKpMFFmZt4O5WKWNRbfk5jaiJ0a8s6uTXY600SN0z1DuGstyxmzUdn+QX7VtZKRw0JI 1S+QPEYJnK+UPy8NIPQUaGR2DLR/GimZIGBUn7iPaY1gaZsIRiBRRadP4v6FzSdyVAQr x8GQ== 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:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ATbrXf8vTgG1pIZ+DjX/stGoM/dV+XMQ3AsQwpA2Q8k=; b=fzPhFaAZNjiPmj/m/1/yB0M7S3IROeReXym4wCZ7jxkYZSnHGLiA/KaI+f9UeQWRW4 wdNMJuCGJ2WcxKGyNZvaTarC1nFoh0puTAUOT7gKKVM4nIfsfLuq0/wrpMhpeafqbyyT mNT098yGUkK0Bgu1BuEXyM+p0UC996AV8uNJ4SYjgCLIx3EGGaa9X7YeqdLYpf/u77RC jK4dLloprMeE0i/MPradOaxEzG+iKd5fa89ZHCURWVu2EI3OX0YFqJTk15551DEIu2ZF wBCQbtawCe6iYI42fezpWHRpczzY3HpD805OgQMkVzDUowDbnmQ+wHxa4CucFbxNkOwv MNWQ== X-Gm-Message-State: AMCzsaW2AT2HdbKvmjvkf78GwGqsn17H+6Kc4WTGeQq0PGT85BCsIBv+ YJ5ErtdhEh83iBf64W2NF9xCkWTg X-Google-Smtp-Source: ABhQp+Rob+6bN3NBpqCpV9eC9kNJUL3o2BywiG4/YieTdz0+Bt+Q0pMydP3R69Ki8Qv4lGV/GJsa2g== X-Received: by 10.84.225.6 with SMTP id t6mr15885237plj.106.1510001412789; Mon, 06 Nov 2017 12:50:12 -0800 (PST) Received: from [10.104.134.14] ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id b28sm29601436pfl.86.2017.11.06.12.50.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 12:50:11 -0800 (PST) Subject: Re: idle in transaction, why To: Tom Lane References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com> <16893.1509999467@sss.pgh.pa.us> <6ed9ca9b-fb80-e505-2522-be9b5f63a759@gmail.com> <19493.1510000892@sss.pgh.pa.us> Cc: "David G. Johnston" , "pgsql-general@postgresql.org" From: Rob Sargent Message-ID: <81aa980b-fb4c-e9b4-fa82-9f14df71a2df@gmail.com> Date: Mon, 6 Nov 2017 13:50:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <19493.1510000892@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 11/06/2017 01:41 PM, Tom Lane wrote: > Rob Sargent writes: >> idle_in_transaction_session_timeout | 0 | default | >> | | A value of 0 turns off the timeout. | user > Meh. I think we're barking up the wrong tree anyway: so far as I can > find, there is no error message reading 'idle transaction timeout' > in the existing PG sources (and I sure hope no committer would have > thought that such an ambiguous message text was satisfactory). > So I think your error is coming from client-side or third-party code. > What other moving parts have you got in there? > > regards, tom lane The most likely culprit is JOOQ, which I chose as a learning experience (normally I use ORM tools). But that said, I just ran the same data into my test env, (postgres 10.0 (real) on centos 6.9, ubuntu client) and all went swimmingly. It's a sizable payload (several batches of over 100K items, deserialized from json) and takes 5 minutes to save. I was hoping to blame the virt or the beta. Not a good time to start doubt JOOQ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general