Re: i can't connect after some periode - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: i can't connect after some periode
Date
Msg-id 20080710071404.GA5545@a-kretschmer.de
Whole thread Raw
In response to i can't connect after some periode  ("aldy" <aldy@teodore.com>)
List pgsql-sql
am  Thu, dem 10.07.2008, um 13:57:15 +0700 mailte aldy folgendes:
> hi all,

First, don't hijack other threads, your mail contains a
References-header:

References: <20080709114550.7cc8f742@dawn.webthatworks.it>

But this message contains to an other thread. In other words: don't
answer to an email by deleting the body and create a new subject, create
a new mail instead.


> i have some problems with my postgresql database server :
> i develop some client-server program using postgre as its database (used by 
> almost 100 client), my problem comes after some periode of time( some times 
> 1 day) i can't connect to the database include from pgadmin, and i must 
> restart the server and everything back to normal ( im using Win XP as its 
> OS and postgre 8.2)
> is there any suggetions for me, please??

Maybe the clients do not close the connection and after some time you
have more than 'max_connections' (Default 100).

You can increase this value in your postgresql.conf.


You can also check, how many active connections are open with 'select *
from pg_stat_activity'.


Hope that helps, Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


pgsql-sql by date:

Previous
From: "aldy"
Date:
Subject: i can't connect after some periode
Next
From: "aldy"
Date:
Subject: Re: i can't connect after some periode