pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Ignatov <a.ignatov@postgrespro.ru>
To: zz_11@mail.bg
To: pgsql-admin@postgresql.org
Subject: Re: very slow postgresql startup
Date: Mon, 30 May 2016 19:29:15 +0300
Message-ID: <1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru> (raw)
In-Reply-To: <9d0b8595572cb24da5d2fcd13796d326.mailbg@mail.bg>
References: <9d0b8595572cb24da5d2fcd13796d326.mailbg@mail.bg>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>


On 23.05.2016 11:33, zz_11@mail.bg wrote:
>
> Hi,
>
>
> After stopping my pg server with pg_ctl -m immediate stop options it 
> take hours to startup.
>
> With vmstat I find hi pcu and io useages.
>
> Any idea about this problem? I think it can be pg_xlog files.
>
> How can I debug or trace this problem?
>
> pg version is 9.4.5 running on centos 6.
>
> Many thanks in advance.
>
>
>
>
> -------------------------------------
> ПП: Ако имаш идеи за сайт, виж какво предлагат СуперХостинг.БГ. Тази 
> пролет дават -75% отстъпка за нов хостинг план.
> <http://ads.mail.bg/delivery/ck.php?oaparams=2__bannerid=4132__zoneid=35__OXLCA=1__cb=ad4c2831cb__oad...;

Hi!
What do you see in strace output? I think that pg falls in unlinking 
temp file from previous incarnation. Check this out or show us strace 
output.
Thank you in advance.


Alex Ignatov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

view thread (7+ messages)

Message-ID: <1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru>
Permalink:  ../1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru/
Also on:    postgresql.org/message-id/1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru

 · 

reply

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-admin@postgresql.org
  Cc: a.ignatov@postgrespro.ru, zz_11@mail.bg
  Subject: Re: very slow postgresql startup
  In-Reply-To: <1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru>

* 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