pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Glenn Holmer <gholmer@weycogroup.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: invalid string enlargement request
Date: Thu, 17 Mar 2005 10:16:19 +1300
Message-ID: <4238A223.4030003@opencloud.com> (raw)
In-Reply-To: <42389DFC.5090408@weycogroup.com>
References: <42389DFC.5090408@weycogroup.com>

Glenn Holmer wrote:
> Not sure if this is a JDBC or general Postgres question, but we're
> losing a web app's connection to Postgres with these errors:
> 
> invalid string enlargement request size 1358954494
> AbortTransaction and not in in-progress state

This is the backend trying to allocate a very large string for some 
reason, perhaps because of a silly-sized protocol message being received 
or sent. Are you working with large bytea data at all?

> invalid frontend message type 41

And this is the protocol stream getting out of sync, possibly because of 
the above error.

> This is with Postgres 7.4.7 and driver pg74.213.jdbc3.jar.

Can you try with the latest (build 310) driver and see if the problem 
persists?

If so, can you send a testcase that demonstrates the problem? Or at 
least the query code that fails plus the complete exception you get.

-O



view thread (4+ messages)  latest in thread

Message-ID: <4238A223.4030003@opencloud.com>
Permalink:  ../4238A223.4030003@opencloud.com/
Also on:    postgresql.org/message-id/4238A223.4030003@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, gholmer@weycogroup.com
  Subject: Re: invalid string enlargement request
  In-Reply-To: <4238A223.4030003@opencloud.com>
  References: <42389DFC.5090408@weycogroup.com> <4238A223.4030003@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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