ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Странное поведение postgresql10-server-10.5-alt8.x86_64
Date: Sat, 3 Nov 2018 18:00:01 +0800 (IRKT)
Message-ID: <846607153.9542.1541239200359.JavaMail.taf@metamorph.taf.ru> (raw)
In-Reply-To: <CAA8E9_vT0wCx+e41EhaQeyBMJFDDfbm-a__mo=MFMjdqEQekFw@mail.gmail.com>


----- Исходное сообщение ----- 

> От: "Yuri Khachaturyan" <yukh@yukh.ru>
> Кому: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
> Отправлено: Вторник, 30 Октябрь 2018 г 21:32:19
> Тема: [sisyphus] Странное поведение
> postgresql10-server-10.5-alt8.x86_64

> Добрый день!
> Сегодня обновил postgres до postgresql10-server-10.5-alt8.x86_64 и
> натнулся на следующую проблему:

> у меня в настройках postgresql.conf установлено max_stack_depth =
> 32MB

> Для этого значение необходимо в postgresql.service добавить ulimit:

> cat /etc/systemd/system/postgresql.service |grep Limit

> LimitSTACK=32768

> # systemctl daemon-reload
> # systemctl reenable postgresql

> После рестарта вижу следующее в логах:

> systemd[1]: Starting PostgreSQL database server...
> kernel: postgres[10696]: segfault at 7ffd56226c00 ip 00007f0004441a57
> sp 00007ffd56226c00 error 6 in libc-2.27.so [7f00043b7000+1b1000]
> kernel[1241]: [18297.023676] postgres[10696]: segfault at
> 7ffd56226c00 ip 00007f0004441a57 sp 00007ffd56226c00 error 6 in
> libc-2.27.so [7f00043b7000+1b1000]
> pg_ctl[10694]: pg_ctl: не удалось запустить сервер
> pg_ctl[10694]: Изучите протокол выполнения.
> systemd[1]: postgresql.service: Control process exited, code=exited
> status=1
> systemd[1]: postgresql.service: Failed with result 'exit-code'.
> systemd[1]: Failed to start PostgreSQL database server.

> Если закомментарить LimitSTACK - все поднимается, но без нужного
> max_stack_depth в конфиге.

А если задать размер стека через /etc/security/limits.conf, через него тоже
игнорируется/крашится?

           reply	other threads:[~2018-11-03 10:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAA8E9_vT0wCx+e41EhaQeyBMJFDDfbm-a__mo=MFMjdqEQekFw@mail.gmail.com>]

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=846607153.9542.1541239200359.JavaMail.taf@metamorph.taf.ru \
    --to=alexei@taf.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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