Solved

how to generate core dump in redhat linux

Posted on 2013-11-07
9
575 Views
Last Modified: 2013-11-26
how to generate core dump in redhat linux?  thanks in advance.
0
Comment
Question by:mokkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 400 total points
ID: 39631862
Do you mean application or system (redhat) cores?
0
 

Author Comment

by:mokkan
ID: 39632113
System redhat cores
0
 

Author Comment

by:mokkan
ID: 39633185
How to make linux server goes panic, if the server is hung.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 400 total points
ID: 39633239
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
 

Author Comment

by:mokkan
ID: 39633272
Thank  you very much. IS anything we can do it in console if the server is hung?
0
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 400 total points
ID: 39633298
Do you mean to dump the memory content into a file when a server is hung?
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 100 total points
ID: 39634432
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
 
LVL 21

Accepted Solution

by:
Mazdajai earned 400 total points
ID: 39634712
>>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
 

Author Closing Comment

by:mokkan
ID: 39677878
Thank you
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question