mthayeb at gmail.com
2009-Nov-28 11:52 UTC
[asterisk-users] Max how many users in sip.conf
Anyone know how many users i can record in sip.conf. (NO..NO i am not discussing the simultaneous sip calls). I tried with 50k users in sip.conf, but the sip module didn't reload. tried with few hundred of users and it works. any idea what is the limit in sip.conf regards Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091128/9a778942/attachment.htm
mthayeb at gmail.com skrev:> > Anyone know how many users i can record in sip.conf. (NO..NO i am not > discussing the simultaneous sip calls). > I tried with 50k users in sip.conf, but the sip module didn't reload. > tried with few hundred of users and it works. any idea what is the > limit in sip.confTry a binary search in 15 tries you have the exact value. Start with 32768 entries. If it works, add 32768/2 =16384. If not, subtract 16384, giving 16384. Continue, adding/subtracting 8192,4096.2048,1024,512,256,128,64,32,16.8,4,2,1 Leif
It is limited by the amount of memory available to your computer. Each user takes up a chunk of available memory. Let's say for arguments sake that the amount is 4kb (using top might give you a better idea of the real usage and what you're starting with). 50K users at 4kb apiece would use 200mb and most smaller servers start with 2gb or (much) less available. If you had 1gb of memory, a 200mb load with everything else would be pretty taxing. Hope this is helpful. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of mthayeb at gmail.com Sent: Saturday, November 28, 2009 5:53 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Max how many users in sip.conf Anyone know how many users i can record in sip.conf. (NO..NO i am not discussing the simultaneous sip calls). I tried with 50k users in sip.conf, but the sip module didn't reload. tried with few hundred of users and it works. any idea what is the limit in sip.conf regards Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091130/05eeb937/attachment.htm