Re: about memory size reported by system.

From: "Jaiswal Dhaval Sudhirkumar" <JaiswalDS(at)microland(dot)com>
To: "Edmundo Robles L(dot)" <erobles(at)sensacd(dot)com(dot)mx>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: about memory size reported by system.
Date: 2011-03-09 18:00:01
Message-ID: F260108AB230D44CBAA660B47CC4110A06EB9B6D@blrisbe01.MLCORP.NET
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are you using any connection pooling system, if not look at the pgpool & pgbouncer.

open connections always reserves memory, which slowdown the performance of system.

you can also handle application connections at application level by defining garbage
value if any connection disconnect. It will release the memory reserved by connection.

--
Thanks & Regards
Dhaval Jaiswal

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org on behalf of Edmundo Robles L.
Sent: Wed 3/9/2011 10:12 PM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] about memory size reported by system.

Hi everyone!

I have a doubt about the memory consumed by each connection open.

suddenly my server, running postgres 8.3.11, began to run too slowly.

Checking the process with: ps -adelfo pcpu,vsz,args | more

The processes,related to the connection to the db, each one have a consume of memory near to the 50Mb. by the way i have 50 connections to the db, so i have a reported memory consumed of 2.5M, when i have only 1G in the server.

If I modify the shared_buffers value, the report of memory consumed is according with shared buffers value.

Should I worry by that?
There is a best way to tweak the memory consumed by postgres?

--
SENSA Control Digital.
Ing. Edmundo Robles Lopez.
Analista Programador.

--
Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon,this information by persons or entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and delete the material from your computer.
Microland takes all reasonable steps to ensure that its electronic communications are free from viruses.
However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2011-03-09 18:01:13 Re: Copying data from one table to another - how to specify fields?
Previous Message John Edens 2011-03-09 17:59:50 Re: How to configure for remote TCP/IP client conncections using MS Visual Basic OLE DB calls and PostgreSQL dll's?