X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0909AD1BB16 for ; Fri, 23 Apr 2004 19:57:33 -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 05544-06 for ; Fri, 23 Apr 2004 19:57:32 -0300 (ADT) Received: from pw6tiger.de (pw6tiger.de [217.160.140.116]) by svr1.postgresql.org (Postfix) with SMTP id 93149D1BAE9 for ; Fri, 23 Apr 2004 19:57:28 -0300 (ADT) Received: (qmail 12744 invoked by uid 505); 23 Apr 2004 22:57:30 -0000 Received: from vygen@gmx.de by planwerk6 by uid 89 with qmail-scanner-1.14 (virus scan: Clear:. Processed in 0.270457 secs); 23 Apr 2004 22:57:30 -0000 Received: from p508cc4d4.dip0.t-ipconnect.de (HELO 192.168.1.102) (vygen@planwerk6.de@80.140.196.212) by pw6tiger.de with SMTP; 23 Apr 2004 22:57:30 -0000 From: Janning Vygen To: pgsql-php@postgresql.org Subject: server closed the connection unexpectedly Date: Sat, 24 Apr 2004 00:51:23 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404240051.23476.vygen@gmx.de> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.5 tagged_above=0.0 required=5.0 tests=RCVD_IN_NJABL, RCVD_IN_SORBS, RCVD_NUMERIC_HELO X-Spam-Level: X-Archive-Number: 200404/36 X-Sequence-Number: 2693 hi, i use pg_pconnect to connect to databse and sometimes i get in my server error logs: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. [Sat Apr 24 00:20:02 2004] [error] PHP Notice: pg_query(): Cannot set connection to blocking mode. when i reload the page it happens a few times again and then everything runs smoothly for a while. in my logfiles i have LOG: could not receive data from client: Connection timed out LOG: unexpected EOF on client connection i have read some mails in the archives and i know that my php client has a problem. But which?? i just use some recent debian packages on client side dpkg -l | grep php ii php-elisp 1.0.5-1 Emacs support for php files ii php4 4.3.3-5 A server-side, HTML-embedded scripting langu ii php4-domxml 4.3.3-5 XMLv2 module for php4 ii php4-mysql 4.3.3-5 MySQL module for php4 ii php4-pgsql 4.3.3-1 PostgreSQL module for php4 ii php4-xslt 4.3.3-5 XSLT module for php4 but my other php client has the same problmes but runs under suse with self compiled php with just a few modules. very strange.... I really dont' know where to look or how to analyze this problem and i dont know what infomration is needed to fix the problem. any help is very appreciated. kind regards janning