Friends,

 

We are testing our SER set up using SIPSAK.

 

Are there any limitations in terms of the number of registered subscribers that

can be kept by SER in memory or in database?

 

 

We tried with both db_mod 0 or 1. After some 40,000 registrations, SER starts

Giving “No memory left” messages and sometimes terminates as well. And with

db_mode=1, SER can not startup again, giving

 

We checked the machine and out of 2GBytes of memory only about 10Mbytes

Were used up.

 

Any ideas?

 

ramin

 

----------------------------------------------------------------------------------------

SER crash errors with db_mode= 0 or 1

----------------------------------------------------------------------------------------

modparam("usrloc", "db_mode", 0)

OR modparam("usrloc", "db_mode", 1)

 

12(24376) new_ucontact(): No memory left

12(24376) mem_insert_ucontact(): Can't create new contact

12(24376) insert_ucontact(): Error while inserting contact

12(24376) insert(): Error while inserting contact

12(24376) contacts(): Error while inserting record

12(24376) new_ucontact(): No memory left

12(24376) mem_insert_ucontact(): Can't create new contact

12(24376) insert_ucontact(): Error while inserting contact

12(24376) insert(): Error while inserting contact

12(24376) contacts(): Error while inserting record

19(24383) ERROR: tcpconn_new: mem. allocation failure

19(24383) ERROR: tcp_main_loop: tcpconn_new failed, closing socket

 

14(24378) Binding '2224449999335607','sip:2224449999335607@172.16.15.201:3006' has expired

14(24378) Binding '2224449999335608','sip:2224449999335608@172.16.15.201:3006' has expired

14(24378) Binding '2224449999335609','sip:2224449999335609@172.16.15.201:3006' has expired

14(24378) Binding '2224449999335610','sip:2224449999335610@172.16.15.201:3006' has expired

14(24378) Binding '2224449999127988','sip:2224449999127988@172.16.15.203:1815' has expired

12(24376) new_ucontact(): No memory left

12(24376) mem_insert_ucontact(): Can't create new contact

12(24376) insert_ucontact(): Error while inserting contact

12(24376) insert(): Error while inserting contact

12(24376) contacts(): Error while inserting record

19(24383) ERROR: tcpconn_new: mem. allocation failure

19(24383) ERROR: tcp_main_loop: tcpconn_new failed, closing socket

 1(24365) 10(24374) INFO: signal 15 received

13(24377) INFO: signal 15 received

18(24382)  3(24367) INFO: signal 15 received

INFO: signal 15 received

 4(24368) 19(24383) INFO: signal 15 received

 6(24370) INFO: signal 15 received

 

 

----------------------------------------------------------------------------------------

SER Startup error with db_mode=1

----------------------------------------------------------------------------------------

 

And when I try with

 

modparam("usrloc", "db_mode", 1)

SER exits and  to restart it, it gives me the following error and can’t start:

 

.

[root@ser]/usr/local/ser/etc/ser/logs> 0(0) Maxfwd module- initializing

textops - initializing

callidselect - initializing

callidselect: module initialized successfully!

exec - initializing

 0(0) AVPops - initializing

 0(0) permissions - initializing

 0(0) Default allow file (/usr/local/ser/etc/ser/permissions.allow) parsed

 0(0) Default deny file (/usr/local/ser/etc/ser/permissions.deny) not found => empty rule set

acc - initializing

 0(0) info: mediaproxy: loaded SIP asymmetric clients file containing 2 entries.

 0(0) info: mediaproxy: loaded RTP asymmetric clients file containing 2 entries.

 0(0) convert_row(): No memory left

 0(0) convert_rows(): Error while converting row #2549

 0(0) convert_result(): Error while converting rows

 0(0) store_result(): Error while converting result

 0(0) preload_udomain(): Error while doing db_query

 0(0) register_udomain(): Error while preloading domain 'location'

 0(0) domain_fixup(): Error while registering domain

 0(0) ERROR: fix_expr : fix_actions error

ERROR: error -1 while trying to fix configuration

[root@ser]/usr/local/ser/etc/ser/logs>service ser start

Starting Sip Express Router (SER) server: serListening on

             udp: 127.0.0.1 [127.0.0.1]:5