From: | "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com> |
---|---|
To: | "vinayakr(at)vmoksha(dot)com" <vinayakr(at)vmoksha(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: DB problem |
Date: | 2006-12-26 14:00:48 |
Message-ID: | a97c77030612260600n158c79ddgc5e53f3608c6225@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-admin |
On 12/26/06, vinayakr(at)vmoksha(dot)com <vinayakr(at)vmoksha(dot)com> wrote:
>
> Hi,
>
> We are using PostgreSQL 7.3 version, installed in linux system. Only DB is
> getting shut down 3-4 times a day.
>
Vinay,
Although its not an answer to your question, but you should upgrade to
8.2.0version
unless you have specific reason of not doing it.
Regds
mallah.
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 :
> [root(at)localhost root]# su postgres bash-2.05b$ postmaster -i -D
> /var/lib/pgsql/data FATAL: postgresql.conf:131: syntax error,
> token="%" bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL:
> postgresql.conf:131: syntax error, token="%" bash-2.05b$ postmaster -i -D
> /var/lib/pgsql/data FATAL: postgresql.conf:131: syntax error, token="%"
> bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL: 'log_directory' is
> not a valid option name bash-2.05b$ postmaster -i -D /var/lib/pgsql/data
> FATAL: 'log_directory' is not a valid option name bash-2.05b$ postmaster
> -i -D /var/lib/pgsql/data FATAL: 'log_filename' is not a valid option name
> bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL:
> 'log_disconnections' is not a valid option name bash-2.05b$ postmaster -i
> -D /var/lib/pg
>
> When you install the DB, the logs are enabled by default?
>
> Would you pls tell me still what setting need to be done?
>
> Thanks,
> Vinayak V. Raikar
> Extn : 143
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Shellam (Mailing Lists) | 2006-12-26 14:23:16 | Re: [ADMIN] DB problem |
Previous Message | Harald Armin Massa | 2006-12-26 09:42:34 | Re: DB problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Shellam (Mailing Lists) | 2006-12-26 14:23:16 | Re: [ADMIN] DB problem |
Previous Message | Harald Armin Massa | 2006-12-26 09:42:34 | Re: DB problem |