X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 58B22D1B490 for ; Fri, 28 Nov 2003 14:28:44 +0000 (GMT) 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 37287-09 for ; Fri, 28 Nov 2003 10:28:15 -0400 (AST) Received: from tinet.org (mail.tinet.org [195.77.216.130]) by svr1.postgresql.org (Postfix) with ESMTP id C0A27D1B484 for ; Fri, 28 Nov 2003 10:28:10 -0400 (AST) Received: (qmail 25643 invoked from network); 28 Nov 2003 14:28:14 -0000 Received: from aitana.altanet.org (HELO tinet.org) ([195.76.233.3]) (envelope-sender ) by mail.tinet.org (SMTP OASI) with SMTP for ; 28 Nov 2003 14:28:14 -0000 Message-ID: <3FC75B3D.8010907@tinet.org> Date: Fri, 28 Nov 2003 15:27:09 +0100 From: Daniel Rubio User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Randomly error using php persistent connections References: <3FC7414E.5040205@tinet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/477 X-Sequence-Number: 11464 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 ********************************************************