Re: psycopg2 hang with multithread frequent queries

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: psycopg2 hang with multithread frequent queries
Дата
Msg-id CA+mi_8bnJFS5OH3P5vVwQgdu6VpxhDBE_SWM4ZyzfVWk+69g5g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psycopg2 hang with multithread frequent queries  (David Roid <dataroid@gmail.com>)
Ответы Re: psycopg2 hang with multithread frequent queries  (Federico Di Gregorio <fog@dndg.it>)
Список psycopg
On Fri, Sep 14, 2012 at 6:15 PM, David Roid <dataroid@gmail.com> wrote:

> No long-running trac, commit is done fair often. I also tried "one conn for
> all threads" vs "one conn for one thread", and "one cursor all the way" vs
> "use and throw away cursor", issue remains.

David has provided me further information about his setup and a gcc
traceback, from which it was obvious that he was performing database
queries from a signal handler. It seems he is not experiencing any
more problems since he got rid of this unsafe practice.

-- Daniele


В списке psycopg по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: commercial license availability
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: psycopg2 hang with multithread frequent queries