Re: postgres crashes on insert in 40 different threads

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Dzmitry <dzmitry(dot)nikitsin(at)gmail(dot)com>
Cc: Frank Lanitz <frank(at)frank(dot)uvena(dot)de>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgres crashes on insert in 40 different threads
Date: 2013-08-19 15:25:35
Message-ID: EFEF8729-1E08-4138-92D6-11B502891B61@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Aug 19, 2013, at 9:21 AM, Dzmitry <dzmitry(dot)nikitsin(at)gmail(dot)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(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2013-08-19 15:26:26 Re: postgres crashes on insert in 40 different threads
Previous Message Dzmitry 2013-08-19 15:21:43 Re: postgres crashes on insert in 40 different threads