Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-03-2014, 06:47 PM   #1
LQ Newbie
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Core file not getting created on RHEL 6

Something very perplexing is going on, with respect to my box.

Below are my settings in /etc/sysctl.conf:

kernel.core_pattern = core
kernel.core_uses_pid = 1
In /etc/profile, I have this:

ulimit -S -c unlimited >/dev/null 2>1
And I verify everything by looking at :

cat /proc/sys/kernel/core_pattern
cat /proc/sys/kernel/core_uses_pid
So, when we do a ulimit -c, it returns a value of unlimited.

when we do a ulimit -S -c, it returns a value of unlimited.

when we do a ulimit -H -c, it returns a value of unlimited.

And when I run kill -6 against a running process, I don't get a core.

When I run ulimit -c unlimited, and start the process again, and run kill -6, it generates a core.

Can someone explain what the difference between soft limit and hard limit is?

And should we be changing the hard limit at all?

I don't like this situation, because the cores are sometimes generated, and sometimes not.

Even if I change limits.conf, I really would like an understanding of what I am doing.

A few more things I need to disclose is that I am running on a RHEL 6 environment (x86_64).

And that there is enough disk space, and it is not a DAEMON process, or a setuid program. And there is sufficient permissions in the folder to create new files, and there are no files/folders called core in the runtime directory.

Please let me know if you need more information regarding this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] In RHEL 6, what is the command you will use to find if a user ID is created? thirstonlinux Linux - Newbie 5 01-30-2013 09:39 AM
RHEL 5 /var/log created permissions Passmossis Linux - Newbie 3 01-17-2012 12:42 PM
Core file created with wrong pid number acanady Linux - Server 1 11-30-2011 04:40 PM
There is no core file created in radhat linux dina3e Linux - Newbie 2 03-30-2008 03:46 PM
how can I install RHEL 4 on DMRAID(ICH7R) created RAID ?? nyk2000 Linux - Software 1 06-28-2006 03:38 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration