Re: 9.2.2 - semop hanging

From: Prashanth Ranjalkar <prashanth(dot)ranjalkar(at)postgresdba(dot)net>
To: Eduardo Morras <emorrasg(at)yahoo(dot)es>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: 9.2.2 - semop hanging
Date: 2013-07-15 14:27:32
Message-ID: 51E406D4.6080706@postgresdba.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 15-07-2013 19:14, Eduardo Morras 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>
>
> Max seg size, max total shared memory represents SHMMAX and SHMALL respectively.
max seg size (kbytes) = 83886080
max total shared memory (kbytes) = 17179869184 <tel: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*
<mailto:Email%3Aprashant(dot)ranjalkar(at)gmail(dot)com>/
/*Skype:prashanth.ranjalkar*/
/*Cell: +91 932 568 2271*/
*/www.postgresdba.net <http://www.postgresdba.net/>/*

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Prashanth Ranjalkar 2013-07-15 14:31:03 Re: 9.2.2 - semop hanging
Previous Message Eduardo Morras 2013-07-15 13:44:28 Re: 9.2.2 - semop hanging