Skip site navigation (1) Skip section navigation (2)

Re: i can't connect after some periode

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: i can't connect after some periode
Date: 2008-07-10 07:14:04
Message-ID: 20080710071404.GA5545@a-kretschmer.de (view raw or flat)
Thread:
Lists: 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(dot)7cc8f742(at)dawn(dot)webthatworks(dot)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

In response to

Responses

pgsql-sql by date

Next:From: aldyDate: 2008-07-10 08:16:53
Subject: Re: i can't connect after some periode
Previous:From: aldyDate: 2008-07-10 06:57:15
Subject: i can't connect after some periode

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group