Jump to content

Core Dump File


Krom

Recommended Posts

We are running RH here and when the PBX application crashes we are not able to locate a core dump file to submit to support for review. Nothing is posted in the logs prior to the crash of 2.1.12.2489 (Linux) and if we increase the logging level is seems to increase the occurrence of the crash and doesn't provide any information of what caused the crash. Any way to add the memory/process dump to a core file when the application crashes within Linux? This would allow us to submit the core file to a support ticket to assist in determining what was going at the time of the crash and assist in preventing it in the future.

 

At this time we can determine that 15 calls were going on as normal with 5 call legs in voicemail at the time of the crash, other than that we can't determine what was going on to cause the crash. RH forums are telling us to look at the core dump file created by the crashed application - but we can't seem to locate the core dump file.

 

-Krom

Link to comment
Share on other sites

We are running RH here and when the PBX application crashes we are not able to locate a core dump file to submit to support for review. Nothing is posted in the logs prior to the crash of 2.1.12.2489 (Linux) and if we increase the logging level is seems to increase the occurrence of the crash and doesn't provide any information of what caused the crash. Any way to add the memory/process dump to a core file when the application crashes within Linux? This would allow us to submit the core file to a support ticket to assist in determining what was going at the time of the crash and assist in preventing it in the future.

 

At this time we can determine that 15 calls were going on as normal with 5 call legs in voicemail at the time of the crash, other than that we can't determine what was going on to cause the crash. RH forums are telling us to look at the core dump file created by the crashed application - but we can't seem to locate the core dump file.

 

It seems that the RH version was a little sensitive to a race condition that we had (see http://wiki.pbxnsip.com/index.php/Release_Notes_2.1.14). If you like, update to http://www.pbxnsip.com/protect/pbxctrl-rhes4-2.1.13.2494. But this is not the final 2.1.14 version (trunk and tel:alias changes are not in that image yet).

 

In general, you can use ulimit -c unlimited to enable core dumps. You must do that before the PBX is started, a good place is in the startup script.

Link to comment
Share on other sites

Thank you. I am hitting myself for not thinking of the ole ulimit command. Dust on the old Unix brain. Will do - we assume that support would want to review any core dump created in "normal" operational conditions to assist in ongoing development.

 

Thanks again.

 

-Krom

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...