No errors in the logs, except when we hit max_connections
No shared memory problems – no associated spike in I/O or system CPU indicating shared memory is either unused or over used. Sufficient memory in cache/buffers, zero swapping or anything indicative of a memory problem.
The box is pretty beefy – 24 core, 768G RAM :) - so yes, an effective cache of 568GB is normal, we arrived at it with months of tuning over time.
cpu_tuple_cost of 0.03 – yes, a lot of our settings are tweaked from the defaults based on performance. I don't have the output now, the the 0.03 was based on recommendations from posrgtes user groups, and via testing with setting it up and running explain
analyze on queries. None of the settings have changed when this problem began.
Thanks,
Karthik
From: Venkata Balaji Nagothi <vbnpgc@xxxxxxxxx>
Date: Monday, March 10, 2014 7:35 PM To: "Anand Kumar, Karthik" <Karthik.AnandKumar@xxxxxxxxxxxxxx> Cc: "pgsql-general@xxxxxxxxxxxxxx" <pgsql-general@xxxxxxxxxxxxxx> Subject: Re: Increase in max_connections On Tue, Mar 11, 2014 at 12:04 PM, Anand Kumar, Karthik
<Karthik.AnandKumar@xxxxxxxxxxxxxx> wrote:
Please let us know your hardware configuration like RAM, CPU (cores) etc.
Do you see any messages indicating any processes getting terminated/killed forcibly in the Postgresql logs ?
Or do you see any shared memory related error messages ?
cpu_tuple_cost=0.03 - which is not default, any reasons for increasing this.
effective_cache_size = 568 GB - Please help us know if this is optimal for your system.
Venkata Balaji N
Sr. Database Administrator
Fujitsu Australia
|