From: | "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com> |
---|---|
To: | "Thom Brown" <thombrown(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Cannot restart postgresql when increasing max_connections |
Date: | 2009-01-08 10:59:49 |
Message-ID: | 7be3f35d0901080259t394b3f8au190c5a9cdcb3193f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thom,
> I have a server running 8.3.1 with 16Gb of memory and 8x2.5Ghz cores. The
> max_connections was set to 100 (the default), but we were getting denied
> connections because it had exceeded the max. We increased this to a modest
> 250, stopped the service, and then tried to start. It wouldn't. We stopped
> it several times, made sure all postgres-related processes were killed off
> but nothing would make it start. Actually, it said it had started, but it
> hadn't. When setting it back to 100 it was okay again. We tried the same
> thing on another server, setting it to 1000, and that was fine.
Maybe you are missing:
# Note: Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction). You might
# also need to raise shared_buffers to support more connections.
To help debugging, your report is essentially missing the operating
system your computer is running on and the output from the log files.
If PostgreSQL does not start, it writes out a reason to its logfiles.
For example in default installations on Windows you will find your
logfiles within the PostgreSQL-Data-Directory in subdir pg_log
best wishes,
Harald
--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
EuroPython 2009 will take place in Birmingham - Stay tuned!
From | Date | Subject | |
---|---|---|---|
Next Message | Thom Brown | 2009-01-08 11:05:34 | Re: Cannot restart postgresql when increasing max_connections |
Previous Message | Mohamed | 2009-01-08 10:46:23 | Re: Adding Arabic dictionary for TSearch2.. to_tsvector('arabic'...) doesn't work.. |