yandex / ozo

OZO is a C++17 Boost.Asio based header-only library for asyncronous communication with PostgreSQL DBMS.
PostgreSQL License
226 stars 45 forks source link

I get the error Connection timeout at normal load. #301

Closed AntonMamedov closed 2 years ago

AntonMamedov commented 3 years ago

I get the error Connection timeout and get resource timeout at normal load. In connection_pool_config, I set the capacity to 100, and the queue_capacity to an unrealistic 100,000,000, but despite this, I still get an error message on a fairly small load. All requests are performed with the ozo :: none parameter. How to fix it?

I tried to set the timeout to 100s, it didn't help. Error codes 110, 1

AntonMamedov commented 3 years ago

According to my observations, the problem does not always occur, but at least half the time. In the same load tests, the error can take off or not. At the same time, on the number of connections more than 10, it always crashes.

thed636 commented 3 years ago

Hi Anton, Could you please provide a code example to reproduce the problem?

thed636 commented 2 years ago

Since there is no example to reproduce, I closed the issue. Please feel free to reopen it with new information or steps to reproduce the problem.