ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Как разрешить core dump для xorg ?
Date: Mon, 5 Mar 2012 16:25:18 +0200
Message-ID: <20120305142518.GJ18290@osdn.org.ua> (raw)
In-Reply-To: <1398915.LtOsUPdjeu@asy.kraft-s.ru>

On Mon, Mar 05, 2012 at 05:55:29PM +0400, Sergey Y. Afonin wrote:
> > Н-да, брони на core-файлы навешано столько, что впору страничку
> > на вики заводить... ещё в /etc/rc.d/rc.sysinit в явном виде:
> > ulimit -Sc 0 >/dev/null 2>&1
> Нда... Но попытка поменять на ulimit -Sc unlimited тоже ничего не дала.
> А страничка есть, в первом приближении: http://www.altlinux.org/Features/Core
> Ещё бы помогала. :-)

Страничку причесал, проверил:

# ulimit -Sc unlimited      
# ulimit -Sc          
unlimited
# ulimit -c 
unlimited
# sysctl -w kernel.core_pattern=core
# sysctl kernel.core_pattern        
kernel.core_pattern = core
# rm -f core
# sleep 60 &
[1] 21722
# killall -BUS sleep
# 
[1]  + bus error (core dumped)  sleep 60
# file core
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'sleep 60'

Надеюсь, про наследственность изменений ulimit не забыли? :)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2012-03-05 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 12:56 Sergey
2012-03-05 13:26 ` Michael Shigorin
2012-03-05 13:55   ` Sergey Y. Afonin
2012-03-05 14:25     ` Michael Shigorin [this message]
2012-03-05 14:39       ` Sergey Y. Afonin
2012-03-05 15:01       ` Sergey
2012-03-05 15:03         ` Michael Shigorin
2012-03-05 15:11           ` Sergey
2012-03-05 15:58             ` Michael Shigorin
2012-03-05 13:34 ` Sergei Epiphanov
2012-03-05 14:50   ` Sergey

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=20120305142518.GJ18290@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --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