That did it. My sporadic crash happened again and, sure enough, there's a core file.<div><br></div><div>Thanks again,</div><div>Adam Johnston<br><br><div class="gmail_quote">On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich <span dir="ltr"><<a href="mailto:stkn@freeswitch.org" target="_blank">stkn@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 07/27/12 21:34, Adam Johnston wrote:<br>
> 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<br>
> 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<br>
> 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z<br>
<br>
</div>You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man 5 proc), to enable core dumping for processes<br>
that switch their UID on startup (such as freeswitch with -u option).<br>
<br>
By default, the freeswitch process will try to put the core file into the CWD (current work directory),<br>
so make sure the UID it is running as can write there (or "cd" into a different directory before starting it).<br>
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).<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.19 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda<br>
614Amwb1pKDFL93dU33cy2wj1FNYYnzJ<br>
=0Xqk<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>