Re: No buffer space available

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: No buffer space available
Дата
Msg-id 20070307064616.GA1482@svana.org
обсуждение исходный текст
Ответ на Re: No buffer space available  (andyk <andyk@commandprompt.com>)
Ответы Re: No buffer space available
Список pgsql-general
On Tue, Mar 06, 2007 at 08:38:22PM +0200, andyk wrote:
>    This error is returned by libpq, as a reaction on WSANOBUFS error
> from Windows Socket System. This means, applications tries to send much
> data, and system can't do it the same quickly. Possible, libpq should
> handle this error more carefully, and wait until all data will be send
> to the server.

That's bizarre. If libpq is sending data too fast then the socket
library should block. The only possible thing lbpq can do is send it
again, which will just give the same error... busy loop. This is a
problem the socket library should handle for you.

Incidently, according to this page:

http://www.dispi.com/proxyplus/faq/articles/EN/art10002.htm

The error relates to too many sockets, rather than out of memory. In
which case libpq really can't do anything about it.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Can I getting a unique ID from a select
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: vacuum error