X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8A522D1CD1E for ; Tue, 11 May 2004 15:16:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 86521-04 for ; Tue, 11 May 2004 15:16:06 -0300 (ADT) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by svr1.postgresql.org (Postfix) with ESMTP id 0EB8DD1B57A for ; Tue, 11 May 2004 15:16:04 -0300 (ADT) Received: from h-68-164-82-250.snvacaid.dynamic.covad.net ([68.164.82.250] helo=DEVSONY) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BNbnQ-0004yh-00; Tue, 11 May 2004 11:16:04 -0700 From: "Carl E. McMillin" To: =?iso-8859-1?Q?'Reynir_=DE=F3r_H=FCbner'?= , Subject: Re: JDBC problem Date: Tue, 11 May 2004 11:15:59 -0700 Message-ID: <000a01c43784$061c1150$6600a8c0@DEVSONY> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-reply-to: <40A0ACB3.1080405@hugsmidjan.is> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/363 X-Sequence-Number: 60797 Hi, >...I'm getting error like this from the java side and the=20 >application stops working (and wont come back unless I restart... How is the "application" invoked? Is it a "service" (servlet instance, RMI object-mediated, etc.), i.e. does a core-component run forever and spawn helpers to handle requests? I'd guess that you are slurping output from an external process' STDOUT/STDERR and the process-control API noticed that one or both sides of the conversation broke the underlying conduit (the pipe) between the processes. Carl <|};-)> -----Original Message----- From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Reynir =DE=F3r H= =FCbner Sent: Tuesday, May 11, 2004 3:37 AM To: pgsql-general@postgresql.org Subject: [GENERAL] JDBC problem=20 I'm running an engine with 15 databases, with fair amount of load. Every=20 4-5 days I'm getting error like this from the java side and the=20 application stops working (and wont come back unless I restart) : java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110) at java.io.FilterOutputStream.write(FilterOutputStream.java:80) at org.postgresql.PG_Stream.Send(PG_Stream.java:87) at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:184) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:71) at=20 org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection .java:505) at=20 org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.j ava:360) at=20 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j ava:48) at=20 org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statem ent.java:176) at=20 org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statem ent.java:163) at=20 org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement .java:162) at=20 com.eplica.model.persistence.JDBCPersistenceHelper.findByUniqueSql(JDBCPersi stenceHelper.java:704) Does anyone know what this is about ? I'm using Red hat Enterprise, and all the correct JDBC drivers etc. thanx -reynir ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster