Analyzing Core Dump File

December 18, 2008

Yeah, I know core dump files may eat up user’s space quickly. But it is definitely a sign that something wrong with their scripts. So, keeping coredump files is sometimes useful so that we can analyze it properly. Here’s how to analyze core dump files :
strings /home/user/public_html/core.11051|head
You will find what scripts causing the coredump files.
or get a clear view with :
gdb /usr/bin/php /home/user/public_html/core.11051

Hope it can be useful for you!

4 Responses to “Analyzing Core Dump File”

  1. Toby Skinner Says:

    Really useful, that’s the second new thing i learnt today!


  2. [...] Server Rumahweb memiliki mekanisme dumping memory yang memudahkan pelanggan untuk melakukan debug pada scriptingnya. Cara debuging file ini dapat dilihat di artikel : Analyzing Coredump File [...]

  3. David Says:

    Hey,

    Great post ..thousands of thanks for this post..

  4. Aditya Says:

    do you how can i analyze this core.xxx dump file i windows. i have downloaded gdb.exe to do so. i have no idea for now how to view the dump file


Leave a Reply