server closed the connection unexpectedly - Mailing list pgsql-php

From Janning Vygen
Subject server closed the connection unexpectedly
Date
Msg-id 200404240051.23476.vygen@gmx.de
Whole thread Raw
List 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



pgsql-php by date:

Previous
From:
Date:
Subject: Re: postgres, php and osx(panther)
Next
From: "Ramesh Patel"
Date:
Subject: subscribe