Re: RLIMIT_CORE set to 0

From: Yong Huang <yong321_at_yahoo.com>
Date: Wed, 25 Mar 2015 19:25:11 +0000
Message-ID: <88079262.712018.1427311510579.JavaMail.yahoo_at_mail.yahoo.com>



> Linux my_hostname 2.6.32-300.3.1.el6uek.x86_64 #1 SMP Fri Dec 9 18:57:35
>  ulimit -a> *core file size          (blocks, -c) unlimited*...> From same shell prompt started process and it still did not generate core> dumps on the subsequent crash has following message in logfile:> Process 2504(cumulusd) has RLIMIT_CORE set to 0> Aborting core>> wondering what iam missing here.
In addition to what others have said, you can check your running process resource limit bycat /proc/<pid>/limits If the "Max core file size" limit is not what you expected, you can dynamically change it. On your kernel version, you have to launch gdb instead of using the prlimit command. Seehttp://superuser.com/questions/404239/setting-ulimit-on-a-running-process If you can easily find the source where ulimit (in a shell) or setrlimit (in the source ocde of a compiled program) is set, you can change that too.
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 25 2015 - 20:25:11 CET

Original text of this message