Re: Getting "timeout expired" error almost immediately (20-200ms)
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Getting "timeout expired" error almost immediately (20-200ms) |
| Дата | |
| Msg-id | 28055.1149257058@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Getting "timeout expired" error almost immediately (20-200ms) ("Eric Brown" <yogieric@gmail.com>) |
| Список | pgsql-general |
"Eric Brown" <yogieric@gmail.com> writes:
> I'm running 8.0.3 on Linux 2.6. Once my application starts to get a bit
> of load, I start getting application exceptions with the "timeout
> expired" string from postgresql. I think it is coming from
> src/interfaces/libpq/fe-misc.c.
I don't think so. libpq only uses a timeout in that function when
it's making a connection to the server and a connect_timeout has been
specified in the connection parameters. You're showing an error that
seems to have occurred on an already-live connection (although maybe
I'm misinterpreting that).
If it is libpq, the answer is you're using an unreasonably tight
connection timeout. But that's hardly an unusual error message;
have you eliminated the possibility it's coming from some other
code entirely?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера