Skip site navigation (1) Skip section navigation (2)

Re: {Spam} Will shared_buffers crash a server

From: "French, Martin" <frenchm(at)cromwell(dot)co(dot)uk>
To: "Qiang Wang" <forest_qiang(at)yahoo(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: {Spam} Will shared_buffers crash a server
Date: 2011-04-29 10:37:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
What messages did you get in the Postgresql logs?


What other parameters have changed?


From: pgsql-performance-owner(at)postgresql(dot)org
[mailto:pgsql-performance-owner(at)postgresql(dot)org] On Behalf Of Qiang Wang
Sent: 29 April 2011 08:13
To: pgsql-performance(at)postgresql(dot)org
Subject: {Spam} [PERFORM] Will shared_buffers crash a server




We have PostgreSQL 8.3 running on Debian Linux server. We built an
applicantion using PHP programming language and Postgres database. There
are appoximatly 150 users using the software constantly. We had some
performance degration before and after some studies we figured out we
will need to tune PostgreSQL configurations. 


We have 10GB memory and we tuned PostgreSQL as follow:

- max_connection = 100

- effective_cache_size = 5GB

- shared_buffer = 2GB

- wal_buffer = 30MB

- work_mem = 50MB


However we suffered 2 times server crashes after tunning the
configuration. Does anyone have any idea how this can happen?



Kevin Wang

This email is intended for the named recipient. The information contained 
in it is confidential.  You should not copy it for any purposes, nor 
disclose its contents to any other party.  If you received this email 
in error, please notify the sender immediately via email, and delete it from
your computer. 
Any views or opinions presented are solely those of the author and do not 
necessarily represent those of the company. 
PCI Compliancy: Please note, we do not send or wish to receive banking, credit
or debit card information by email or any other form of communication.         

Please try our new on-line ordering system at

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900

In response to


pgsql-performance by date

Next:From: Rishabh Kumar JainDate: 2011-04-29 10:50:02
Subject: Re: Order of tables
Previous:From: Scott MarloweDate: 2011-04-29 10:34:38
Subject: Re: Will shared_buffers crash a server

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group