X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7BA6DD99B7 for ; Mon, 3 Oct 2005 10:59:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16553-05 for ; Mon, 3 Oct 2005 13:59:42 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by svr1.postgresql.org (Postfix) with ESMTP id D624AD8166 for ; Mon, 3 Oct 2005 10:59:39 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 71so76461wra for ; Mon, 03 Oct 2005 06:59:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HQ46eYwx0TZJ0ywBCPlIjXxj3G7Umu1ij3zIQV2UaxnMvhuH5a3v+7aXuP2/llA0wSBgkRa4U7l4FHVcf1SGUXdc4qFHYBNvaNLKEbKrpS6dF378m9i3Li3wMclHjsM2XfOblkWcwogqLb6kdMlZtwcKQ4035aFFH6iopRWWFuo= Received: by 10.54.110.2 with SMTP id i2mr217799wrc; Mon, 03 Oct 2005 06:59:42 -0700 (PDT) Received: by 10.54.115.6 with HTTP; Mon, 3 Oct 2005 06:59:42 -0700 (PDT) Message-ID: <226b0df80510030659m39c4f7fdn@mail.gmail.com> Date: Mon, 3 Oct 2005 10:59:42 -0300 From: luis linietsky Reply-To: luis linietsky To: pgsql-php@postgresql.org Subject: Trouble with conections between php and postgre MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200510/1 X-Sequence-Number: 3269 Hi !, first of all: sorry about my english, i'm not from us. I 'm using latest versions of postgre 7.4 with php4 and apache2, on a debian system. I'm working with a really big database, so there are many querys that takes too much time to be executed (And there's nothig to do about it). These querys blocks the php page while's being loaded. The problem is that usually, one excepcts to stop those querys or even close the conection if the user stops the explorer or closes the window. However, this isn't hapening, the query keeps running in the database, using resources. I already try uselessly ignore_user_abort(False), and I don't want to set a time limit. =BFAny ideas? =BFAm I missing something ? Thnxs ! (Please, try avoiding those messages like "Get more resources", "Optimize your querys", "/etc/init.d/postgresql restart", etc.)