ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Zubkov <igor.zubkov@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] обновления на prometheus.altlinux.org
Date: Fri, 24 Sep 2010 13:56:11 +0300
Message-ID: <AANLkTi=Nou7gKEzio5pz1Jqb2Mfj6e9rGeevhkkzntP9@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimym1QAZc+3i0YK9kmQ2VkUc4Vuz-xtFR-kM0P6@mail.gmail.com>

24 сентября 2010 г. 10:48 пользователь Rinat Bikov написал:
> 23 сентября 2010 г. 18:23 пользователь Igor Zubkov написал:
>> За прошедшую неделю на http://prometheus.altlinux.org произошли
>> мелкие, но очень важные изменения:
>> 1) Системный ruby 1.9.1 заменён на ruby enterprise edition 1.8.7.
>> Теперь должно быть стабильнее.
> Да, теперь стало стабильнее:
> We're sorry, but something went wrong.
> We've been notified about this issue and we'll take a look at it shortly.

Сегодня около трёх ночи HN на которой поднят в контейнере
prometheus.a.o была перезагрузка. После перезагрузки не поднялся
postgresql. Я два часа искал почему, пока не нашёл это:

[root@prometheus ~]# /usr/bin/postgres -D "/var/lib/pgsql/data" -C
"/var/lib/pgsql-root"
FATAL:  could not create shared memory segment: No space left on device
DETAIL:  Failed system call was shmget(key=5432001, size=29278208, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
It occurs either if all available shared memory IDs have been taken,
in which case you need to raise the SHMMNI parameter in your kernel,
or because the system's overall limit for shared memory has been
reached.  If you cannot increase the shared memory limit, reduce
PostgreSQL's shared memory request (currently 29278208 bytes), by
reducing its shared_buffers parameter (currently 3072) and/or its
max_connections parameter (currently 103).
	The PostgreSQL documentation contains more information about shared
memory configuration.
[root@prometheus ~]#

Конфиг postgresql дефолтовый (в котором и так всё на минимуме). shared_buffers:

shared_buffers = 24MB                   # min 128kB

Я пока не знаю как такое чинить.

-- 
Igor Zubkov
http://hi.im/ice

  reply	other threads:[~2010-09-24 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 14:23 Igor Zubkov
2010-09-23 14:28 ` Michael Shigorin
2010-09-23 14:39   ` Igor Zubkov
2010-09-23 17:35 ` Ilya Mashkin
2010-09-24  7:48 ` Rinat Bikov
2010-09-24 10:56   ` Igor Zubkov [this message]
2010-09-24 11:06     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=Nou7gKEzio5pz1Jqb2Mfj6e9rGeevhkkzntP9@mail.gmail.com' \
    --to=igor.zubkov@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git