Creating a file in /etc/sysctl.d/ is a good place to make that setting persist on reboot on Debian/Ubuntu On 27 June 2015 at 14:27, Mi Ke <mi.ke@null.net> wrote:
echo 1 > /proc/sys/fs/suid_dumpable
Worked perfectly for me - thank you very much
*Sent:* Friday, June 26, 2015 at 7:24 PM *From:* covici@ccs.covici.com *To:* "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] freeswitch does not save the core when crashed You may need to echo 1 to /proc/sys/fs/suid_dumpable for this to work.
Anthony Minessale <anthony.minessale@gmail.com> wrote:
Your user needs write permission on the dir its started from. Your problem is something to do with your user permissions. The core dumping works fine.
On Fri, Jun 26, 2015 at 10:49 AM, Mi Ke <mi.ke@null.net> wrote:
Hi All,
Please advise what I should do to have FS core saved when it crashes? I compile it with default options (with debug symbols), do ulimit -c unlimited under freeswitch user before running freeswitch -c in /tmp dir, however when it crashes it leaves no core. My OS is Centos 6.6 2.6.32-504.23.4.el6.x86_64 #1 SMP, FS version 1.7.0+git~20150624T224859Z~b788523f76~64bit (git b788523 2015-06-24 22:48:59Z 64bit)
Thanks in advance, Mike
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call [image: ☎] sip:888@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org