Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id ED5AF632AAC; Mon, 20 Apr 2009 00:20:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01180-02; Mon, 20 Apr 2009 00:20:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f167.google.com (mail-ew0-f167.google.com [209.85.219.167]) by mail.postgresql.org (Postfix) with ESMTP id 6683663276A; Mon, 20 Apr 2009 00:20:36 -0300 (ADT) Received: by ewy11 with SMTP id 11so1889743ewy.19 for ; Sun, 19 Apr 2009 20:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ay68h98EKqEGm29mEwjeLJvpuv1hNgme+5B1kcn2d4c=; b=eEwpzbBz27GJEV99N9/+M3gmxy2ukpjLSNxkfA2jw3TpW2w1OzTJA0Uztkl+QqoWfm pOmO0Y8vrp7LEPlvitdaQUnp+ekhkUGzmaFsaTQgpHB0uVIn0Z7wJ4e8xfw8VI8y6E65 QUxc/na6oVEv8TAQ2vaJEdppfGgYIxp5mvlsk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=a3l0HPPAEdBSt4NzzVMCgZabnZY32G6Rvj6mGekl2416pMZktqHrD3lS+1vVN8jrBU 3g0uA+1rhCpHMN0YcucM1uM9KzbvPgcgbhbglSX1YXzfGR0Upgsy2q4wAewZLHghiONJ HG4RY9wTLLcsZ6jhu1OLJPLExiiEQzbWKRCOg= MIME-Version: 1.0 Received: by 10.210.19.7 with SMTP id 7mr5275564ebs.90.1240197635258; Sun, 19 Apr 2009 20:20:35 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Apr 2009 21:20:35 -0600 Message-ID: Subject: Re: Frequently unable connecting to db "server doesn't listen" From: Scott Marlowe To: "Net Tree Inc." Cc: pgsql-general@postgresql.org, pgsql-sql@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/766 X-Sequence-Number: 146722 On Sun, Apr 19, 2009 at 8:10 PM, Net Tree Inc. wrote= : > > If this e-mail address is not intend use for asking questions using e-mai= l > suscription, please ignore it.=A0 I could not find any official PostgreSQ= L > support forum for me to post ask questions. Appreciated if you could you > refer me a few good PostgreSQL support forum for me to ask questions. This is a mailing list, so you're here! No need to look for web forums or anything. > The problem I am having has happened a few times within in a week. I am > repeatly not able to connect to the db and having "server doesn't listen" > message without touch anything, it just happen. First time it happen afte= r I > restarting my computer that has not been restart for almost a month. Afte= r > restarting and trying to connect to DB and it failed, also I notice my > computer can not be restart nor shutdown under the normal way by click on > "start menu" and "shutdown or restart". I can only shut it down use the h= ard > way by pressing the power button, I don't know why, but its another story= . > Therefore for DB, I only can fix it by uninstall and reinstall PostgreSQL= . > But it happening repeatly. > > Any one experience it? or to guide me to where I can find help? Several possibilities. What's your max_connections set to? What does the postgresql log have to say (if anything) about these failed connections? How many postgres processes are running when this happens? What OS is this on? Are you using some kind of persistent php client? Or some other kind of pooling client that might be using up all the connections? Any other info you can give us will help.