Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 :
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.