[Freeswitch-dev] Server having Freeswitch and two Sangoma cards and can't handle full capacity

Sambit Jaysingh sambit.jaysingh at gmail.com
Mon Aug 4 08:47:38 MSD 2014


Machine is having
    CPU -  Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz(8 core)
    RAM - 32GB
    HDD - 600 GB primary and other attached storage is there
    OS - Centos 6
    Freeswitch version -  1.3.10b ()

After calls get connected, we play audio files and we have voice app flows
configured.
In the same machine only freeswitch is installed and JAVA application is
there which connects to freeswitch to make calls.

We are using ISDN calling on the machine. So how many max sessions can
freeswitch handle in practically?
The events from the ISDN network are processed very slower in the
freeswitch. Sometimes the main Java app waits for the required event for
any particular uuid, and gets other non required events from other uuids.
We are filtering that, but after sometime we have to forcefully terminate
that session because of non availability of event. This also leads to
non-usage of full capacity.



On Wed, Jul 30, 2014 at 10:07 PM, Michael Jerris <mike at jerris.com> wrote:

> Do you see the same problem if you write something small and hard-coded in
> c that uses libesl?  That message about lost events typically only happens
> when the receiver can not process messages fast enough off the socket, and
> the queue fills up.  This could be the fault of the java sockets, java esl
> library, or your code in java blocking while processing a message.
>
> On Jul 30, 2014, at 12:58 AM, Sambit Jaysingh <sambit.jaysingh at gmail.com>
> wrote:
>
> > We are having two (Sangoma) Voice Cards, one with 8-ports and other with
> 16-ports.
> >
> > I have integrated ESL library with java in INBOUND MODE and making
> outbound calls.
> >
> > The issue what we are facing are
> > 1. When I use all 720 channels or more than 450 channels, we see the
> events processed by ESL is very slow and we are not getting the events
> properly from ESL after placing the calls, even after so many minutes, so
> we have to forcefully close the connection.
> >
> > 2. And I see error mod_event_socket.c:375 Lost 502 events!
> > And the java app also crashes with error ESL connection timeout.
> >
> > 3. And I see segmentation_fault in Freeswitch and big dump file is
> written and which would crash the system, because of high CPU\IO.
> > But if we reduce the channels say, 450 we don't see any issue at all.
> >
> > What could be the reason for this issue.
> >
> > Appreciate any Help...
> >
> > --
> >
> > Regards
> > Sambit
>
>
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 

Regards
Sambit
+91-9916211211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140804/89103ae1/attachment-0001.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list