Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRnk-0002g3-GW for pgsql-admin@arkaria.postgresql.org; Mon, 19 Aug 2013 15:55:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VBRnj-00028S-Ma for pgsql-admin@arkaria.postgresql.org; Mon, 19 Aug 2013 15:55:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRnh-00028J-Ij for pgsql-admin@postgresql.org; Mon, 19 Aug 2013 15:55:25 +0000 Received: from mail-qc0-x22c.google.com ([2607:f8b0:400d:c01::22c]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRnd-0000KE-LX for pgsql-admin@postgresql.org; Mon, 19 Aug 2013 15:55:24 +0000 Received: by mail-qc0-f172.google.com with SMTP id a1so2598236qcx.3 for ; Mon, 19 Aug 2013 08:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :in-reply-to:mime-version:content-type:content-transfer-encoding; bh=LiyJK4JPblwyIxl/W3Xu7gs39W1XhfWEGLWOH2zhLpg=; b=d0RZ6NlQniHRb/ZBrLOU7gqMQsDjUujb4+2P9KYJKt29Tgbr1E/Nmf2p6vCBZT9grH aPPbSuOsAgEOvU/LDleBXrL9wFO/TmRrz5vck/Ovbl+RyBaAjdw4BvgTuDYu59QTNxSU xY80Vm3n9HvId0KO6paISrJHSwYsTyE8CwJ1yL7LjAwMzMwLoR0+R2H/mLWqhlDt68m/ 2ttp7M1XAqm5sdewbu6qpUxyiIsz+rb4JmlYSoaYmmVjMQAxdc2piQxzcIWtHcSGEN24 9Ns2TGY05iq57WMAxYiilOrLxF5ZyVJ/rR+4+8P/UXI2W8YE8ASLNlEeBaV7NcnLCCxs kU7w== X-Received: by 10.224.50.200 with SMTP id a8mr4463184qag.79.1376927720393; Mon, 19 Aug 2013 08:55:20 -0700 (PDT) Received: from [10.8.1.62] (40.166.255.173.client.static.strong-in91.as13926.net. [173.255.166.40]) by mx.google.com with ESMTPSA id a2sm17242361qek.7.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 19 Aug 2013 08:55:19 -0700 (PDT) User-Agent: Microsoft-MacOutlook/14.2.3.120616 Date: Mon, 19 Aug 2013 18:55:17 +0300 Subject: Re: postgres crashes on insert in 40 different threads From: Dzmitry To: Scott Ribe CC: Message-ID: Thread-Topic: [ADMIN] postgres crashes on insert in 40 different threads In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Pg-Spam-Score: -2.0 (--) 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 No, I am not using pgbouncer, I am using pgpool. Total - I have 440 connections to postgres(I have rails application running on some servers - each application setup 60 connections to DB and keep if forever(until will not be killed), also I have some machines that do background processing, that keep connections too). Part that do a lot of writes(that update jobs from xml feed every night) - have 40 threads and keep 40 connections. Thanks, Dzmitry On 8/19/13 6:26 PM, "Scott Ribe" wrote: >On Aug 19, 2013, at 9:22 AM, Dzmitry wrote: > >> I am using pgpool to balance load to slave servers. > >So, to be clear, you're not using pgbouncer after all? > >-- >Scott Ribe >scott_ribe@elevated-dev.com >http://www.elevated-dev.com/ >(303) 722-0567 voice > > > > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin