Re: 9.2.2 - semop hanging

From: Prashanth Ranjalkar <prashant(dot)ranjalkar(at)gmail(dot)com>
To: Eduardo Morras <emorrasg(at)yahoo(dot)es>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 9.2.2 - semop hanging
Date: 2013-07-15 14:31:03
Message-ID: CAMBytESsq2-+sqw7CPOxwmoioC_iE75+e-6UxrqrcPCe-CNX5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Jul 15, 2013 at 7:14 PM, Eduardo Morras <emorrasg(at)yahoo(dot)es> wrote:

> On Mon, 15 Jul 2013 10:16:19 -0300
> Rafael Domiciano <rafael(dot)domiciano(at)gmail(dot)com> wrote:
>
> I'm not a Linux expert, I'm a BSD man, but
>
> a) do you have an interrupt storm?
> b) what does postgres do before the hang?
> c) do you have anyother software running? Including contrib modules. It
> may be a dns lookup timeout (watch port 53 tcp/udp)
> d) what filesystem? Needs filesystem some kind of "maintenance window"? I
> mean flush dirty caches, metadata, wake up barriers...
>
>

Eduardo Morras <emorrasg(at)yahoo(dot)es>
>

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

>
> --- ---
>

max seg size (kbytes) = 83886080
max total shared memory (kbytes) = 17179869184

At initial glance, I suspect adjusting these values may resolve the issue
as SHMALL should be set either total max memory size or in number of pages.
I think the value set is too large therefore recommend comment this SHMALL
parameter and set only SHMMAX value with 24GB.

Request to verify the server logs if there are any share memory errors and
assume that work_mem value is not set to extreme higher value as the max
connections has set to 500.

*Thanks & Regards,*
*** **Prashanth Ranjalkar*
*Database Consultant & Architect*
*Email:prashant(dot)ranjalkar(at)gmail(dot)com*
*Skype:prashanth.ranjalkar*
*Cell: +91 932 568 2271*
*www.postgresdba.net*

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jan-Peter Seifert 2013-07-15 14:55:46 iconv -c ?
Previous Message Prashanth Ranjalkar 2013-07-15 14:27:32 Re: 9.2.2 - semop hanging