ulimit -c 0 before running freeswitch or specify a user for freeswitch to run as, at least on linux, by default, processes with a different effective uid will not dump core by default. -- Nathan On 10/16/2013 03:13 PM, Stephen Wilde wrote:
There is a way to run FreeSwitch with core dumping disabled?
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
I have tried with ulimit and I can see with "ulimit -a": core file size (blocks, -c) 0 then I run FreeSwitch but if I do "cat /proc/freeswitch_pid/limits" I see: Limit Soft Limit Hard Limit Units Max core file size unlimited unlimited bytes On Wed, Oct 16, 2013 at 10:18 PM, Nathan Neulinger <nneul@mst.edu> wrote:
ulimit -c 0
before running freeswitch or specify a user for freeswitch to run as, at least on linux, by default, processes with a different effective uid will not dump core by default.
-- Nathan
On 10/16/2013 03:13 PM, Stephen Wilde wrote:
There is a way to run FreeSwitch with core dumping disabled?
-- ------------------------------**------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
switch.conf.xml has a dump-cores param as well On Wed, Oct 16, 2013 at 3:26 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
I have tried with ulimit and I can see with "ulimit -a":
core file size (blocks, -c) 0
then I run FreeSwitch but if I do "cat /proc/freeswitch_pid/limits" I see:
Limit Soft Limit Hard Limit Units Max core file size unlimited unlimited bytes
On Wed, Oct 16, 2013 at 10:18 PM, Nathan Neulinger <nneul@mst.edu> wrote:
ulimit -c 0
before running freeswitch or specify a user for freeswitch to run as, at least on linux, by default, processes with a different effective uid will not dump core by default.
-- Nathan
On 10/16/2013 03:13 PM, Stephen Wilde wrote:
There is a way to run FreeSwitch with core dumping disabled?
-- ------------------------------**------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
It looks like there is also a 'dump-cores' option in freeswitch config/code that causes FS to raise the limits - that may be what you're seeing. Check in conf/autolog_configs/switch.conf.xml. -- Nathan On 10/16/2013 03:26 PM, Stephen Wilde wrote:
I have tried with ulimit and I can see with "ulimit -a":
core file size (blocks, -c) 0
then I run FreeSwitch but if I do "cat /proc/freeswitch_pid/limits" I see:
Limit Soft Limit Hard Limit Units Max core file size unlimited unlimited bytes
On Wed, Oct 16, 2013 at 10:18 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
ulimit -c 0
before running freeswitch or specify a user for freeswitch to run as, at least on linux, by default, processes with a different effective uid will not dump core by default.
-- Nathan
On 10/16/2013 03:13 PM, Stephen Wilde wrote:
There is a way to run FreeSwitch with core dumping disabled?
-- ------------------------------__------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Thank you! There was in my switch.conf.xml the line: <param name="dump-cores" value="yes"/> On Wed, Oct 16, 2013 at 10:32 PM, Nathan Neulinger <nneul@mst.edu> wrote:
It looks like there is also a 'dump-cores' option in freeswitch config/code that causes FS to raise the limits - that may be what you're seeing. Check in conf/autolog_configs/switch.**conf.xml.
-- Nathan
On 10/16/2013 03:26 PM, Stephen Wilde wrote:
I have tried with ulimit and I can see with "ulimit -a":
core file size (blocks, -c) 0
then I run FreeSwitch but if I do "cat /proc/freeswitch_pid/limits" I see:
Limit Soft Limit Hard Limit Units Max core file size unlimited unlimited bytes
On Wed, Oct 16, 2013 at 10:18 PM, Nathan Neulinger <nneul@mst.edu<mailto: nneul@mst.edu>> wrote:
ulimit -c 0
before running freeswitch or specify a user for freeswitch to run as, at least on linux, by default, processes with a different effective uid will not dump core by default.
-- Nathan
On 10/16/2013 03:13 PM, Stephen Wilde wrote:
There is a way to run FreeSwitch with core dumping disabled?
-- ------------------------------**__----------------------------**-- Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412<tel:%28573%29%20612-1412> System Administrator - Architect
-- ------------------------------**------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
participants (3)
-
Anthony Minessale
-
Nathan Neulinger
-
Stephen Wilde