From: Harald Armin Massa <haraldarminmassa@gmail.com>
To: vinayakr@vmoksha.com <vinayakr@vmoksha.com>
Cc: pgadmin-support@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: DB problem
Date: Tue, 26 Dec 2006 10:42:34 +0100
Message-ID: <7be3f35d0612260142l2d94042ew3bcb3093a06b020c@mail.gmail.com> (raw)
In-Reply-To: <OF81CB0E6F.6E527969-ON65257250.001FF8B3-65257250.001FF8B6@vmoksha.com>
References: <OF81CB0E6F.6E527969-ON65257250.001FF8B3-65257250.001FF8B6@vmoksha.com>
Vinayakr,
> We are using PostgreSQL 7.3 version, installed in linux system. Only DB is
> getting shut down 3-4 times a day. From my application end I get "Sorry too
> many clients" error.
Maybe you should rise the maximum connections?
> log_timestamp= true
> log_directory=pg_log
> log_filename=%Y-%m-%d_%H%M%S.log
> log_disconnections=true
> log_hostname=true
> log_statement=true
Your error clearly states that PostgreSQL cannot accept your postgresql.conf
>FATAL: 'log_directory' is > not a valid option name bash-2.05b$
postmaster -i -D /var/lib/pgsql/data
strange ... within my config there is
# These are only used if redirect_stderr is on:
log_directory = 'pg_log' # Directory where log files are written
# Can be absolute or relative to PGDATA
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # Log file name pattern.
# Can include strftime() escapes
What I see that is missing within yours are the ' around the option values.
> When you install the DB, the logs are enabled by default?
That belongs to the packager. If he is reasonable sane, they will be enabled.
Best wishes,
Harald
--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
Python: the only language with more web frameworks than keywords.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: haraldarminmassa@gmail.com, vinayakr@vmoksha.com, pgadmin-support@postgresql.org
Subject: Re: DB problem
In-Reply-To: <7be3f35d0612260142l2d94042ew3bcb3093a06b020c@mail.gmail.com>
References: <OF81CB0E6F.6E527969-ON65257250.001FF8B3-65257250.001FF8B6@vmoksha.com> <7be3f35d0612260142l2d94042ew3bcb3093a06b020c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox