pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedLOG: incomplete message from client
3+ messages / 2 participants
[nested] [flat]
* LOG: incomplete message from client
@ 2014-04-24 06:37 tcoq <steffen.otto@dologo.de>
2014-04-26 04:47 ` Re: LOG: incomplete message from client tcoq <steffen.otto@dologo.de>
0 siblings, 1 reply; 3+ messages in thread
From: tcoq @ 2014-04-24 06:37 UTC (permalink / raw)
To: pgsql-bugs
Hi together,
I am batch-inserting a wide table with 50 columns via JAVA JDBC. (Postgres
9.2.8)
Sporadically I run into this error: (server)
LOG: incomplete message from client
(client):
: 16:26:06,830 WARN taskExecutor-3 spi.SqlExceptionHelper:143 - SQL Error:
0, SQLState: 08006
: 16:26:06,831 ERROR taskExecutor-3 spi.SqlExceptionHelper:144 - An I/O
error occurred while sending to the .
: 16:26:06,834 WARN taskExecutor-3 impl.NewPooledConnection:486 - [c3p0] A
PooledConnection that has already signalled a Connection error is still in
use!
: 16:26:06,835 WARN taskExecutor-3 impl.NewPooledConnection:487 - [c3p0]
Another error has occurred [ org.postgresql.util.PSQLException: This
connection has been closed. ] which will not be reported to listeners!
org.postgresql.util.PSQLException: This connection has been closed.
at
org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:837)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:798)
at
com.mchange.v2.c3p0.impl.NewProxyConnection.getAutoCommit(NewProxyConnection.java:985)
at
org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.isAutoCommit(LogicalConnectionImpl.java:392)
at
org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.afterNonTransactionalQuery(TransactionCoordinatorImpl.java:195)
at org.hibernate.internal.SessionImpl.afterOperation(SessionImpl.java:594)
at
org.hibernate.internal.SessionImpl.executeNativeUpdate(SessionImpl.java:1289)
at org.hibernate.internal.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:400)
>>
Im only inserting empy values but one column differs in size: URL-column.
When i decrease the batch-size the problem occurs less frequent. I believe
the problem depends on the varying URL size I want to insert.
Is there any way to debug or are there any restrictions on JDBC size for
BATCH inserts? Or is it possible that there are invalid characters inside
some URLs?
Best regards
Steffen
--
View this message in context: http://postgresql.1045698.n5.nabble.com/LOG-incomplete-message-from-client-tp5801355.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LOG: incomplete message from client
2014-04-24 06:37 LOG: incomplete message from client tcoq <steffen.otto@dologo.de>
@ 2014-04-26 04:47 ` tcoq <steffen.otto@dologo.de>
2014-04-26 21:01 ` Re: LOG: incomplete message from client Tomas Vondra <tv@fuzzy.cz>
0 siblings, 1 reply; 3+ messages in thread
From: tcoq @ 2014-04-26 04:47 UTC (permalink / raw)
To: pgsql-bugs
I now did some more tests e.g. driver update new connectionpool but still the
same problem. So I decidet to print and switch to single inserts if batch
was failed.
It seems to be that I did not have a problem, when I switch to
single-insterts so it is not a problem of the data.
Now I believe it is a problem for the combination of colum/batchsize.
Did anyone know a limitation e.g. on JDBC size of limitations?
--
View this message in context: http://postgresql.1045698.n5.nabble.com/LOG-incomplete-message-from-client-tp5801355p5801582.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LOG: incomplete message from client
2014-04-24 06:37 LOG: incomplete message from client tcoq <steffen.otto@dologo.de>
2014-04-26 04:47 ` Re: LOG: incomplete message from client tcoq <steffen.otto@dologo.de>
@ 2014-04-26 21:01 ` Tomas Vondra <tv@fuzzy.cz>
0 siblings, 0 replies; 3+ messages in thread
From: Tomas Vondra @ 2014-04-26 21:01 UTC (permalink / raw)
To: pgsql-bugs
On 26.4.2014 06:47, tcoq wrote:
> I now did some more tests e.g. driver update new connectionpool but
> still the same problem. So I decidet to print and switch to single
> inserts if batch was failed.
>
> It seems to be that I did not have a problem, when I switch to
> single-insterts so it is not a problem of the data. Now I believe it
> is a problem for the combination of colum/batchsize.
>
> Did anyone know a limitation e.g. on JDBC size of limitations?
So, what connection pool(s) are you using?
Can you prepare a self-contained test case?
regards
Tomas
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2014-04-26 21:01 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 06:37 LOG: incomplete message from client tcoq <steffen.otto@dologo.de>
2014-04-26 04:47 ` tcoq <steffen.otto@dologo.de>
2014-04-26 21:01 ` Tomas Vondra <tv@fuzzy.cz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox