[asterisk-users] [SOLVED] Re: Feature Request: what about "core stop panic" ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Sep 14 08:19:37 CDT 2016


On Wed, Sep 07, 2016 at 01:41:55PM -0600, George Joseph wrote:
> On Wed, Sep 7, 2016 at 11:03 AM, Olivier <oza.4h07 at gmail.com> wrote:

> > My system shows:
> > # ps aux | grep asteri
> > asterisk   429  7.3  2.4  59468 25088 ?        Ssl  18:47   0:03
> > /usr/sbin/asterisk -U asterisk -G asterisk -g
> > ...
> > # sysctl kernel.core_pattern
> > kernel.core_pattern = core
> >
> 
> Since "core" is a relative file name, the file will be in whatever the
> working directory is for the process.  You may have to hunt it down.  For
> better debugging, you might want to set core_pattern to something like
> " /tmp/core-%e-%t".  That way all core files will have a name like
> "/tmp/core-asterisk-1473164587.7705".  "man core" should give you more info
> on constructing the file name.

But looking at the process of asterisk may help:

  ls -l /proc/$PID_OF_ASTERISK/cwd

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-users mailing list