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

Re: Will shared_buffers crash a server

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Will shared_buffers crash a server
Date: 2011-04-29 07:48:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Normally under heavy load, a machine could potential stall, even seem to hang, but not crash.
And judging from your description of the situation your only change was in shared memory (IPC shm) usage, right?
I would advise to immediately run all sorts of (offline/online) hardware tests (especially memtest86) on your machine,
before blaming postgesql for anything.

Στις Friday 29 April 2011 10:13:08 ο/η Qiang Wang έγραψε:
> Hei: 
> 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?
> BR 
> Kevin Wang

Achilleas Mantzios

In response to

pgsql-performance by date

Next:From: James MansionDate: 2011-04-29 08:25:00
Subject: Re: Performance
Previous:From: Claudio FreireDate: 2011-04-29 07:42:04
Subject: Re: Will shared_buffers crash a server

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