pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRandomly error using php persistent connections
2+ messages / 1 participants
[nested] [flat]
* Randomly error using php persistent connections
@ 2003-11-28 12:36 Daniel Rubio <drubior@tinet.org>
2003-11-28 14:27 ` Re: Randomly error using php persistent connections Daniel Rubio <drubior@tinet.org>
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Rubio @ 2003-11-28 12:36 UTC (permalink / raw)
To: pgsql-admin
Hi all
One of our clients (sometimes I think that all freak clients come to our
ISP) is using persistent connections via PHP (pg_pconnect) to our 7.3.2
postgres database.
Randomly their scripts fails, and doing a Reload on navigator their work
fine again.
I've put debug4 on logs and I've seen this:
2003-11-28 13:28:13 DEBUG: ProcessQuery
2003-11-28 13:28:13 DEBUG: ProcessUtility
2003-11-28 13:28:13 DEBUG: CommitTransactionCommand
2003-11-28 13:28:14 LOG: pq_recvbuf: unexpected EOF on client connection
2003-11-28 13:28:14 DEBUG: proc_exit(0)
2003-11-28 13:28:14 DEBUG: shmem_exit(0)
2003-11-28 13:28:14 DEBUG: exit(0)
2003-11-28 13:28:14 DEBUG: reaping dead processes
2003-11-28 13:28:14 DEBUG: child process (pid 10541) exited with exit
code 0
2003-11-28 13:28:14 DEBUG: StartTransactionCommand
2003-11-28 13:28:14 DEBUG: ProcessQuery
It says that is a problem on the client side, but i can't find nothing
that helps me.
The web server is a Netscape Enterprise 3.6, and PHP version is 4.3.2.
Someone has been the same problem or knows what is happening?
Thanks in advance.
--
********************************************************
Daniel Rubio Rodríguez
OASI (Organisme Autònom Per la Societat de la Informació)
c/ Assalt, 12
43003 - Tarragona
Tef.: 977.244.007 - Fax: 977.224.517
e-mail: drubio@oasi.org
********************************************************
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Randomly error using php persistent connections
2003-11-28 12:36 Randomly error using php persistent connections Daniel Rubio <drubior@tinet.org>
@ 2003-11-28 14:27 ` Daniel Rubio <drubior@tinet.org>
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Rubio @ 2003-11-28 14:27 UTC (permalink / raw)
To: pgsql-admin
We found it!
The database host was over the firewall which had the port for postgres
opened, but the persistent connections were killed by the firewall due
to timeouts.
:D
Daniel Rubio wrote:
> Hi all
>
> One of our clients (sometimes I think that all freak clients come to our
> ISP) is using persistent connections via PHP (pg_pconnect) to our 7.3.2
> postgres database.
>
> Randomly their scripts fails, and doing a Reload on navigator their work
> fine again.
>
> I've put debug4 on logs and I've seen this:
>
> 2003-11-28 13:28:13 DEBUG: ProcessQuery
> 2003-11-28 13:28:13 DEBUG: ProcessUtility
> 2003-11-28 13:28:13 DEBUG: CommitTransactionCommand
> 2003-11-28 13:28:14 LOG: pq_recvbuf: unexpected EOF on client connection
> 2003-11-28 13:28:14 DEBUG: proc_exit(0)
> 2003-11-28 13:28:14 DEBUG: shmem_exit(0)
> 2003-11-28 13:28:14 DEBUG: exit(0)
> 2003-11-28 13:28:14 DEBUG: reaping dead processes
> 2003-11-28 13:28:14 DEBUG: child process (pid 10541) exited with exit
> code 0
> 2003-11-28 13:28:14 DEBUG: StartTransactionCommand
> 2003-11-28 13:28:14 DEBUG: ProcessQuery
>
> It says that is a problem on the client side, but i can't find nothing
> that helps me.
>
> The web server is a Netscape Enterprise 3.6, and PHP version is 4.3.2.
>
> Someone has been the same problem or knows what is happening?
>
> Thanks in advance.
--
********************************************************
Daniel Rubio Rodríguez
OASI (Organisme Autònom Per la Societat de la Informació)
c/ Assalt, 12
43003 - Tarragona
Tef.: 977.244.007 - Fax: 977.224.517
e-mail: drubio@oasi.org
********************************************************
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-11-28 14:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 12:36 Randomly error using php persistent connections Daniel Rubio <drubior@tinet.org>
2003-11-28 14:27 ` Daniel Rubio <drubior@tinet.org>
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