From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-performance@postgresql.org
Subject: Re: Will shared_buffers crash a server
Date: Fri, 29 Apr 2011 09:48:35 +0200
Message-ID: <201104291048.35807.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <343857.89994.qm@web63001.mail.re1.yahoo.com>
References: <343857.89994.qm@web63001.mail.re1.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: Will shared_buffers crash a server
In-Reply-To: <201104291048.35807.achill@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox