[Freeswitch-users] max-sessions value small may cause crash

Ashou Han ashou at mobile-sphere.com
Thu Oct 31 18:24:00 MSK 2013


Hi,

My FS is FreeSWITCH Version 1.2.12+git~20130910T181609Z~f5ba0bb7d4 (git 
f5ba0bb 2013-09-10 18:16:09Z)

I set <param name="max-sessions" value="20"/>, <param 
name="sessions-per-second" value="10"/>  in switch.conf.xml

FS carshed very offen like this in messages log:

Oct 26 19:10:21 fs kernel: [4592903.781042] freeswitch[29353]: segfault 
at 0 ip 00007f4e22e0c8cd sp 00007f4e0924e5b0 error 4 in 
libfreeswitch.so.1.0.0[7f4e22ce4000+229000]
Oct 26 23:41:45 fs kernel: [4609190.441226] freeswitch[518]: segfault at 
0 ip 00007ff71baf58cd sp 00007ff7068ae5b0 error 4 in 
libfreeswitch.so.1.0.0[7ff71b9cd000+229000]
Oct 28 09:57:58 fs kernel: [89606.041406] freeswitch[23780]: segfault at 
0 ip 00007f68651d78cd sp 00007f684ff205b0 error 4 in 
libfreeswitch.so.1.0.0[7f68650af000+229000]
Oct 29 16:55:24 fs kernel: [201076.501294] freeswitch[16422]: segfault 
at 0 ip 00007f0b68fc48cd sp 00007f0b4f50d5b0 error 4 in 
libfreeswitch.so.1.0.0[7f0b68e9c000+229000]

lots in freeswitch.log:

2013-10-25 15:25:24.651750 [CRIT] switch_core_session.c:2228 Over 
Session Limit! 20
2013-10-25 15:25:24.651750 [CRIT] mod_sofia.c:4869 Error Creating Session
2013-10-25 18:36:03.311729 [CRIT] switch_core_session.c:2228 Over 
Session Limit! 20
2013-10-25 18:36:03.311729 [CRIT] mod_sofia.c:4869 Error Creating Session
...
2013-10-30 15:01:46.501223 [CRIT] mod_sofia.c:4869 Error Creating Session
2013-10-30 15:01:46.521224 [CRIT] switch_time.c:1007 Over Session Rate 
of 10!

May this cause the FS crash?
I have another FS server with same Hardware and FS version, but <param 
name="max-sessions" value="2000"/> and no crash issues.

Thanks,
Ashou Han





Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list