[Freeswitch-users] FreeSwitch Out of threads!

François Delawarde fdelawarde at wirelessmundi.com
Tue Oct 5 02:45:27 PDT 2010


I maintain "only" 100 sessions at all times, with a duration of 20-30s,
and no more than 10cps, so it is NOT a stress test, come on!

I mean this would not even load an Asterisk server, and loading the
server was not an objective, just to maintain low-medium load over a
period of time. It worked very well during 5h.

Why would I need to ulimit the crap out of my server then? :-)

François.

On Tue, 2010-10-05 at 16:10 +0700, Dome Charoenyost wrote:
> Please use 64bit and
> ulimit -c unlimited
> ulimit -d unlimited
> ulimit -f unlimited
> ulimit -i unlimited
> ulimit -n 999999
> ulimit -q unlimited
> ulimit -u unlimited
> ulimit -v unlimited
> ulimit -x unlimited
> ulimit -s 240
> ulimit -l unlimited
> 
> before start freeswitch
> 
> 
> 2010/10/5 Nyamul Hassan <mnhassan at usa.net>:
> > Did you increase the number of file descriptors?
> >
> > Regards
> > HASSAN
> >
> >
> > On 2010-10-05, François Delawarde <fdelawarde at wirelessmundi.com> wrote:
> >> Hello,
> >>
> >> I decided to do a bit of "stability" testing leaving 100 sessions
> >> calling a playback "tone_stream://$${tetris}" on my dual-core CPU with
> >> 4G of RAM during a few hours.
> >>
> >>
> >> After 5 hours working flawelessly, I started getting lots of:
> >>
> >> 2010-10-04 23:53:14.188596 [CRIT] switch_event.c:342 Out of threads!
> >>
> >>
> >> Later combined with:
> >>
> >> 2010-10-04 23:59:02.692961 [CRIT] switch_event.c:325 Event system
> >> overloading
> >>
> >>
> >> Both messages (the second one at an increased rate) followed by a few:
> >>
> >> 2010-10-05 00:25:43.711929 [CRIT] switch_time.c:755 Virtual Migration
> >> Detected! Syncing Clock
> >>
> >>
> >> Just before a crash where this time I did not get a core (??)...
> >>
> >>
> >> Any idea what I could have done wrong?
> >>
> >>
> >> François.
> >> PS: This was NOT intended to be a stress test, I just wanted to check
> >> how FS would handle at low-medium load during a few hours.
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> > --
> > Sent from my mobile device
> >
> > _______________________________________________
> > 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
> >
> 
> _______________________________________________
> 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




More information about the FreeSWITCH-users mailing list