[Freeswitch-users] FreeSWITCH dying with no core file
covici at ccs.covici.com
covici at ccs.covici.com
Sun Jul 29 03:55:24 MSD 2012
Andrew Cassidy <andrew at cassidywebservices.co.uk> wrote:
> I'll also give that a go as I have similar random restarts.
>
> On 27 July 2012 21:59, Stefan Knoblich <stkn at freeswitch.org> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 07/27/12 21:34, Adam Johnston wrote:
> > > I use FreeSWITCH exclusively for high-volume fax, both sending and
> > receiving, and I've been running into a sporadic issue where the FreeSWITCH
> > process will die with nothing in the logs to
> > > indicate an issue and no core file anywhere on the system. I'm setting
> > "ulimit -c unlimited" in my init script, so I would expect to see a core
> > file. Version: FreeSWITCH Version
> > > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
> >
> > You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man 5
> > proc), to enable core dumping for processes
> > that switch their UID on startup (such as freeswitch with -u option).
> >
> > By default, the freeswitch process will try to put the core file into the
> > CWD (current work directory),
> > so make sure the UID it is running as can write there (or "cd" into a
> > different directory before starting it).
> > You might also want to check out man 5 core, for all the other options
> > (e.g. piping core dumps into a custom handler, with core_pattern).
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.19 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
> > 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
> > =0Xqk
> > -----END PGP SIGNATURE-----
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
Thanks much for that tip -- I had never heard of that parameter, maybe
it should be in the wiki in the section about getting a backtrace.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list