Analyzing Core Dump File


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!

Advertisements

About piyecarane

Bla bla bla about me
This entry was posted in CPANEL, Hosting, Linux and tagged , , , , , , , . Bookmark the permalink.

4 Responses to Analyzing Core Dump File

  1. Toby Skinner says:

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

  2. Pingback: File core.* pada Account Hosting :: Rumahweb’s News, Article, and Tutorial of Web Development

  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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s