From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
---|---|
To: | <vinayakr(at)vmoksha(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: DB problem |
Date: | 2006-12-27 08:29:27 |
Message-ID: | 52EF20B2E3209443BC37736D00C3C1380C0752B2@EXADV1.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> 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.
> Refering the FAQ I maximized the DB session limit to 200.
>
> I think the logs are not enabled in my DB. So I set the
> following options in postgresql.con file
>
> 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
>
>
> After restarting the system got the following error :
> FATAL: postgresql.conf:131: syntax error, token="%"
> FATAL: postgresql.conf:131: syntax error, token="%"
> FATAL: postgresql.conf:131: syntax error, token="%"
> FATAL: 'log_directory' is not a valid option name
> FATAL: 'log_directory' is not a valid
> FATAL: 'log_filename' is not a valid option name
> FATAL: 'log_disconnections' is not a valid option name
>
> When you install the DB, the logs are enabled by default?
>
> Would you pls tell me still what setting need to be done?
You can see in the documentation:
http://www.postgresql.org/docs/7.3/static/runtime-config.html#LOGGING
The parameters you used are for a different version of PostgreSQL.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | Sim Zacks | 2006-12-27 09:20:23 | Re: array quotation problem |
Previous Message | Dennis | 2006-12-27 07:41:08 | Geographical redundancy |