ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: <devel@lists.altlinux.org>
Subject: [devel] Создание core dump от Apache
Date: Thu, 22 Oct 2015 14:50:09 +0300
Message-ID: <0be73c8046e01ee67ad3c7bb0b9b783f@office.etersoft.ru> (raw)

Может быть кто-то имел дело с включением core dump для Apache. У меня 
не получается.

Вездё включил генерацию core, вплоть до
# grep ulimit /etc/sysconfig/httpd2
ulimit -c unlimited

на других процессах core отлично создаётся.

А процессы httpd2* всё равно с 0 лимитом:
# cat /proc/21233/limits
Limit                     Soft Limit           Hard Limit           
Units
Max core file size        0                    unlimited            
bytes

и немудрено, потому что через strace видно, что он кем-то обнуляется:
setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0

В коде apache, apr1, php5, php5-suhosin такого обнаружить не удалось.

Со стороны через # prlimit лимит не задать, потому что в openvz-ядре 
2.6.32 соотв. системный вызов не реализован.

Нет ли у кого идей?

Если что, подробности здесь:
http://bugs.etersoft.ru/show_bug.cgi?id=10882

-- 
С уважением,
Виталий Липатов,
Etersoft


             reply	other threads:[~2015-10-22 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 11:50 Vitaly Lipatov [this message]
2015-10-22 12:16 ` Anton Gorlov
2015-10-22 15:01   ` Vitaly Lipatov
2015-10-22 15:05     ` Anton Gorlov
2015-10-23  6:13 ` Sergey Afonin
2015-10-26 14:47   ` Vitaly Lipatov

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=0be73c8046e01ee67ad3c7bb0b9b783f@office.etersoft.ru \
    --to=lav@altlinux.ru \
    --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