server closed the connection unexpectedly

From: Janning Vygen <vygen(at)gmx(dot)de>
To: pgsql-php(at)postgresql(dot)org
Subject: server closed the connection unexpectedly
Date: 2004-04-23 22:51:23
Message-ID: 200404240051.23476.vygen@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

Browse pgsql-php by date

  From Date Subject
Next Message Ramesh Patel 2004-04-26 05:28:10 subscribe
Previous Message zedaardv 2004-04-21 10:30:59 Re: postgres, php and osx(panther)