Re: Connection problem under extreme load.

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Connection problem under extreme load.
Дата
Msg-id 39811055.AA513CCE@alumni.caltech.edu
обсуждение исходный текст
Ответ на Connection problem under extreme load.  (Jeffery Collins <collins@onyx-technologies.com>)
Список pgsql-general
> We have been doing some load testing with postgresql, and we have been
> getting the following error when libpq attempts to connect to the
> backend.  This only happens occasionally and, as I said under extreme
> load (e.g. load average 30+ on a single processor Sun).
> connectDBStart() -- connect() failed: Connection refused
> Is the postmaster running at 'localhost' and accepting connections on
> Unix socket '6700'?
> Has anyone seen this before or know what could be happening?  One theory
> that we have is that the connection request timed out because the server
> was under such heavy load that it couldn't respond to the request.  Is
> this possible?

You are increasing the number of allowed connections to above 32, right?
The runtime default is 32, but it can be increased with a commandline
switch.

                     - Thomas

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

Предыдущее
От: brianb-pggeneral@edsamail.com
Дата:
Сообщение: Backup/dump of huge tables and performance
Следующее
От: Jeffery Collins
Дата:
Сообщение: Re: Connection problem under extreme load.