pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dzmitry <dzmitry.nikitsin@gmail.com>
To: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres crashes on insert in 40 different threads
Date: Mon, 19 Aug 2013 18:55:17 +0300
Message-ID: <CE3819CB.11A34%dzmitry.nikitsin@gmail.com> (raw)
In-Reply-To: <E57928C4-C098-4CDF-93D3-4D5A240D86A8@elevated-dev.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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" <scott_ribe@elevated-dev.com> wrote:

>On Aug 19, 2013, at 9:22 AM, Dzmitry <dzmitry.nikitsin@gmail.com> 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



view thread (21+ messages)  latest in thread

Message-ID: <CE3819CB.11A34%dzmitry.nikitsin@gmail.com>
Permalink:  ../CE3819CB.11A34%25dzmitry.nikitsin@gmail.com/
Also on:    postgresql.org/message-id/CE3819CB.11A34%dzmitry.nikitsin@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dzmitry.nikitsin@gmail.com, scott_ribe@elevated-dev.com
  Subject: Re: postgres crashes on insert in 40 different threads
  In-Reply-To: <CE3819CB.11A34%dzmitry.nikitsin@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox