[Freeswitch-users] FreeSWITCH crashed on signal 11
Daniel Knaggs
Daniel.Knaggs at realitysolutions.co.uk
Fri Jun 14 16:29:44 MSD 2013
Ashish,
What version of FreeBSD are you using? If you're using FreeBSD 9.0 you will need to apply a patch to the threading for the kernel otherwise you can get signal 11 core dumps. If you need it, I'll send it - this issue doesn't affect <= 8.3 (as far as I'm aware) or >= 9.1 (I can confirm it's fine for 9.1). This issue can affect other processes as well so it's best to apply it. If that isn't the case it could be faulty memory, usually compiling a few ports will lead to failures if it's bad memory though. Both of these happened to us recently!
According to FreshPorts, FreeSwitch is version 1.0.6 (http://www.freshports.org/net/freeswitch-core/). I highly advise you don't use the one in the ports, but instead build it from source via GIT and install the dependencies via the ports (after a "portsnap fetch update"). Again, I can send you the ports needed to install to build it. Perhaps I should create a FreeBSD specific wiki for how to install FreeSwitch? The one on there now isn't very good. Could also include the kernel patch...
FreeSwitch works perfectly under FreeBSD and I also have it running under a non-root account in a production environment.
P.S. I apologise in advance for my signature which is required by our company policy in this e-mail. I've converted to plain-text to try and help.
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ashish gautam
Sent: 14 June 2013 12:47
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] FreeSWITCH crashed on signal 11
Thanks Steven,
This is not a production server but just a testing server. Thanks for your suggestion, ofcourse I will run it with some different user on production. The freeswitch version I am using is 1.2 ( I have installed it through ports in FreeBSD).
Can this crash/segfault somewhere be related to the OS platform I am using(not centOS) ?
On Fri, Jun 14, 2013 at 1:32 PM, Steven Ayre <steveayre at gmail.com> wrote:
uid 0
Also are you running FreeSWITCH as root? If so that's a very bad idea (generally for any server software). You should be running it as a dedicated user (freeswitch would be a good name). Otherwise any security hole found could be exploited to give full access to your server.
-Steve
On 14 June 2013 14:50, Ashish gautam <ashish at nms.co.in> wrote:
Hi,
I have an FS machine running on FreeBSD system with Digium 8-span PRI card. PRI line is plugged only on span 1.
Everything was running fine until all the channels got alarms suddenly and mod_ftdm attempted to restart them. But while restarting FS crashed. /var/log/messages show:
Jun 14 12:36:03 ivrfr kernel: pid 759 (freeswitch), uid 0: exited on signal 11 (core dumped)
I am attaching the messages file herewith. Please throw some light on what might have happened.
--
Ashish Gautam
Nucleus Microsystems (Pvt.) Ltd.
Ph. 011 47574758
Daniel Knaggs
Software Developer
Reality Solutions Ltd
1 Global Business Park
Hamburg Road
Kingston upon Hull
East Yorkshire, HU7 0AE
Tel: 01482 373104
Mobile: 07932 408313
Email: mailto:Daniel.Knaggs at realitysolutions.co.uk
http://
_________________________________________________________________________
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
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
_________________________________________________________________________
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
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
--
Ashish Gautam
Nucleus Microsystems (Pvt.) Ltd.
Ph. 011 47574758
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list