• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 624
  • Last Modified:

how to generate core dump in redhat linux

how to generate core dump in redhat linux?  thanks in advance.
0
mokkan
Asked:
mokkan
  • 4
  • 4
5 Solutions
 
MazdajaiCommented:
Do you mean application or system (redhat) cores?
0
 
mokkanAuthor Commented:
System redhat cores
0
 
mokkanAuthor Commented:
How to make linux server goes panic, if the server is hung.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
MazdajaiCommented:
To enable core dump, you can either add ulimit -c unlimited in your profile because it only affect the current session. Or add the following lines in /etc/security/limits.conf -
*	soft	    core 	unlimited
*	hard    core	unlimited

Open in new window


Afterwards you can follow this article to generate a core.
0
 
mokkanAuthor Commented:
Thank  you very much. IS anything we can do it in console if the server is hung?
0
 
MazdajaiCommented:
Do you mean to dump the memory content into a file when a server is hung?
0
 
madunixChief Information Security Officer Commented:
A core dump is a on disk representation of a state of a user space application at the time of its abnormal termination. Core dumps can be used to diagnose the cause of a crash of an application. To generate core dump in RHEL 5 and 6 please refer the following KBase article :
"How can core dumps be enabled for daemons (services) in Red Hat Enterprise Linux?"
https://access.redhat.com/site/solutions/5352

More sample:
https://kb.bluecoat.com/index?page=content&id=FAQ2217&actp=LIST
http://www-01.ibm.com/support/docview.wss?uid=swg21254575
http://linuxtechres.blogspot.com/2011/09/how-to-enable-core-dump-for-application.html
0
 
MazdajaiCommented:
>>we can do it in console if the server is hung?

Tough to say without further information. If it is completely frozen you will need to go through the logs and verify hardware. I would suggest open another thread for this.
0
 
mokkanAuthor Commented:
Thank you
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now