From: Janning Vygen <vygen@gmx.de>
To: pgsql-php@postgresql.org
Subject: server closed the connection unexpectedly
Date: Sat, 24 Apr 2004 00:51:23 +0200
Message-ID: <200404240051.23476.vygen@gmx.de> (raw)
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
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-php@postgresql.org
Cc: vygen@gmx.de
Subject: Re: server closed the connection unexpectedly
In-Reply-To: <200404240051.23476.vygen@gmx.de>
References: <200404240051.23476.vygen@gmx.de>
* 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