Re: 8.3.0 backend segfaults

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: 8.3.0 backend segfaults
Дата
Msg-id a6bc74769b68021042e413a857b012d0@biglumber.com
обсуждение исходный текст
Ответ на 8.3.0 backend segfaults  ("Alex Hunsaker" <badalex@gmail.com>)
Ответы Re: 8.3.0 backend segfaults  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: 8.3.0 backend segfaults  ("Alex Hunsaker" <badalex@gmail.com>)
Список pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> Work load is a web application where each page beings a transaction;
> creates a temp table, does a few selects, inserts and updates and the
> commits.

Are you sure you are calling DBI->connect *after* the Apache children
are created? Major problems like this can happen if not. The use of
prepare_cached() may be adding to the problem as well, especially if
you are using temp tables. In DBD::Pg, prepared statements are not
actually prepared (in most cases) until just before the first execute,
to account for late bindings and to be more efficient. Some related
DBD::Pg attribs to look at are pg_server_prepare and pg_prepare_now.


- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation
PGP Key: 0x14964AC8 200803121121
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkfX9Q0ACgkQvJuQZxSWSsjEjACg6QNUdPIw5gczfTtFK3aUMh39
fUYAoLwRrFZ75z2Fbq7GDRYqgTlRsR9N
=ngbh
-----END PGP SIGNATURE-----

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

Предыдущее
От: Laurent Birtz
Дата:
Сообщение: Re: LISTEN/NOTIFY race condition?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.3.0 backend segfaults