[Asterisk-Users] How big .CONF files can be?

Michael Bielicki cypromis at gmail.com
Tue Oct 12 11:33:21 MST 2004


30.000 entries in iax.conf will kill * on startup


On Tue, 12 Oct 2004 14:39:23 +0200, Jens Kübler <cleanerx at au.hadiko.de> wrote:
> Am Dienstag, 12. Oktober 2004 14:04 schrieb Goran Dj:
> > I'm new to Asterisk.
> > How big can be sip.conf (and other: iax.conf, extensions.conf...)
> > Is there point when I must use DB (MySQL...) instead of pure .conf?
> >
> There is no real answer to this question.
> Databases are always a good choice as the search strategies are substantially
> faster and the administration is much easier.
> If you only got few extensions don't use a database as it's not worth the work
> for the interfaces to setup.
> 
> For example if a peer is searched in the conf file the average time will be
> N/2 to find the peer where N is the number of peers listed.
> 
> Most databases should be able to search for this entry in
> log (N) time which for big N is far better than the above.
> 
> Generally speaking a sip.conf can be as large as your ram but you certainly
> don't want to check that out.
> 
> Jens
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 
Michael Bielicki



More information about the asterisk-users mailing list