Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRKy-0001Nt-Hk for pgsql-admin@arkaria.postgresql.org; Mon, 19 Aug 2013 15:25:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VBRKy-0005T4-0N for pgsql-admin@arkaria.postgresql.org; Mon, 19 Aug 2013 15:25:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRKw-0005RT-8u for pgsql-admin@postgresql.org; Mon, 19 Aug 2013 15:25:42 +0000 Received: from asbnvacz-mailrelay01.megapath.net ([207.145.128.243]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRKs-0008Cv-W9 for pgsql-admin@postgresql.org; Mon, 19 Aug 2013 15:25:41 +0000 Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 7D9501EE5054 for ; Mon, 19 Aug 2013 11:25:37 -0400 (EDT) Received: (qmail 2754 invoked from network); 19 Aug 2013 15:25:37 -0000 Received: by simscan 1.4.0 ppid: 11270, pid: 6481, t: 0.1936s scanners: clamav: 0.88.2/m:52/d:10739 spam: 3.0.4 Received: from unknown (HELO [192.168.4.16]) (sribe@elevated-dev.com@[205.168.220.137]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 19 Aug 2013 15:25:36 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: postgres crashes on insert in 40 different threads From: Scott Ribe In-Reply-To: Date: Mon, 19 Aug 2013 09:25:35 -0600 Cc: Frank Lanitz , Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Dzmitry X-Mailer: Apple Mail (2.1508) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail6.sea5 X-Spam-Level: X-Spam-Status: No, score=0.0 required=8.0 tests=none autolearn=disabled version=3.0.4 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Aug 19, 2013, at 9:21 AM, Dzmitry wrote: > I have 2 machines, each machine run 1 process, with 20 threads in each - > total 40 threads. Every thread connected to postgres and insert data. I am > using technology, that keep connection opens. It means every thread open 1 > connection when it starts, and will closed it - only when killed. But > threads performing background jobs - it means they running always, so I > keep connection always open. So, 40 threads, not 440? Was 440 connections a typo, or are there 400 connections you aren't telling= us about? --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin