Re: [HACKERS] Postmaster options, process spawning, logging, etc.

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Matthew Hagerty <matthew(at)venux(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Postmaster options, process spawning, logging, etc.
Date: 1999-12-15 23:43:34
Message-ID: Pine.BSF.4.21.9912151941500.651-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 15 Dec 1999, Matthew Hagerty wrote:

> Greetings,
>
> Sorry for all the posts, but I'm trying to put my finger on my backend crash.
>
> Any insight on any of the following would be very helpful:
>
> How many backend processes is considered a large number? The man pages
> says the default is 32. Does anyone set their number higher?
>
> Kind of related to the question above; when does the postmaster spawn
> another backend process? Is it for each additional connection, or will
> each backend process handle several connections/queries before another
> process is started?

spawns a new backend for each new connection...

> The postmaster log file, why are the entries not datestamped? If I start
> the postmaster with a debug level of 2 or greater do I get datestamped
> entries? Also, what is the highest debug level and how big can I expect
> the log to grow? Can I rotate the log without stopping the postmaster?

pg_options provides the ability to send the log to syslog, which would
give you both the timestamping, and the ability to 'cleanly' rotate the
logs...

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-12-15 23:46:52 Re: [HACKERS] Postmaster options, process spawning, logging, etc.
Previous Message Don Baccus 1999-12-15 23:40:59 Re: [HACKERS] Postmaster options, process spawning, logging, etc.