pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Dzmitry <dzmitry.nikitsin@gmail.com>
Cc: Frank Lanitz <frank@frank.uvena.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres crashes on insert in 40 different threads
Date: Mon, 19 Aug 2013 09:25:35 -0600
Message-ID: <EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.com> (raw)
In-Reply-To: <CE381213.119DA%dzmitry.nikitsin@gmail.com>
References: <CE381213.119DA%dzmitry.nikitsin@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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

-- 
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: <EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.com>
Permalink:  ../EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.com/
Also on:    postgresql.org/message-id/EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.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: scott_ribe@elevated-dev.com, dzmitry.nikitsin@gmail.com, frank@frank.uvena.de
  Subject: Re: postgres crashes on insert in 40 different threads
  In-Reply-To: <EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.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