Re: ERROR-org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: ERROR-org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B36618DC1@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на ERROR-org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.  (Rahul Khandelwal <rahulnewai@gmail.com>)
Список pgsql-jdbc
Rahul Khandelwal wrote:
> I am facing 'org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend'
> error while performing jdbc batch insert in postgre sql database using proxool connection pool. This
> error is random, but once it starts to come, it comes very frequently.
> Both my database server and my jetty server are on same linux machine and the batch size is 1000, but
> changing batch size doesn't eliminate the error.
> I don't have much idea about firewall but I don't think it should be an issue on same machine.
> 
> Setup details:-
> pgsql 9.3
> pg-jdbc driver - 9.3
> proxool for jdbc connection pooling
> 
> Stack trace:-
[...]
> org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
[...]
> Caused by: java.net.SocketException: Socket closed

Could you look into the database server log to see if there is anything relevant?

Are you using SSL?

Yours,
Laurenz Albe

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

Предыдущее
От: Rahul Khandelwal
Дата:
Сообщение: ERROR-org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
Следующее
От: Alexis Meneses
Дата:
Сообщение: Re: BUG on postgresql-9.4-1201-jdbc41 ...