Re: Many instances of postgres.exe - Mailing list pgsql-general

From Brian Modra
Subject Re: Many instances of postgres.exe
Date
Msg-id 5a9699850910150907n4326f9c6pe67a78b78f509f9f@mail.gmail.com
Whole thread Raw
In response to Many instances of postgres.exe  ("Bob Pawley" <rjpawley@shaw.ca>)
Responses Re: Many instances of postgres.exe
List pgsql-general
2009/10/15 Bob Pawley <rjpawley@shaw.ca>:
> Hi
>
> While looking at an error message for iexplore.exe, I noticed, on Task
> Manager, that there are 5 or more instances of postgres.exe running. Each
> instance is consuming between 7 to 10 megs of resources, for a total of
> almost 50 megs.
>
> Is this normal behavour?

yes

> If so, could someone enlighten me as to the purpose?

Its good that it uses more than one process, because each task then is
separated from other tasks by the operating system's memory
management. I.e. if one crashes, the others stay up.
This is good design as opposed to hugely multi-threaded apps where one
little bug can bring everything down.

The memory used is configurable, you can set up the amount of caching,
but actually I am not sure exactly how much memory is used for what
purpose. However, I set up my server with larger cache than standard.
It has a load of memory though... 50Mb is very little memory
considering you are talking about a professional database system....

> Bob



--
Brian Modra   Land line: +27 23 5411 462
Mobile: +27 79 69 77 082
5 Jan Louw Str, Prince Albert, 6930
Postal: P.O. Box 2, Prince Albert 6930
South Africa
http://www.zwartberg.com/

pgsql-general by date:

Previous
From: "Bob Pawley"
Date:
Subject: Many instances of postgres.exe
Next
From: John R Pierce
Date:
Subject: Re: Many instances of postgres.exe