I can say on my end as I have a custom web interface that I have built to
manage the asterisk server, I use the idea of having it run the reload
thing every 5 minutes if it is needed, plus there is an option on the
website that allows the user to invoke the reload thing. However with the
web invoked reload, it still obeys the rules of if it is not needed then
it will not reload.
Dan
On Mon, 10 Jan 2005, Paul Rodan wrote:
Supposedly from what I can tell you're supposed to be able to reload as
often as you need, but from personal experiences I have seen issues with too
many reloads. Memory being wasted, or maybe a higher than average CPU usage,
something, for lack of a better term, "screwy". Something that almost always
gets fixed by a complete stop and restart.
What I do is, when an extension or account is created through our web
interface and it puts it into the sip.conf/extensions.conf/voicemail.conf
files, it creates a little file in the tmp directory, something like
"RELOAD_ASTERISK" and it's blank. Every 5 minutes, a cronjob runs, it looks
for that file, if it exists it will reload Asterisk and delete that file.
So if no changes were made in the past 5 minutes, Asterisk won't get
un-necessarily reloaded. This tends to be a good solution. Once a month or
so I stop Asterisk about 4am and start it again, just in case.
Who knows, it could all be in my head. What I do know. Shrug.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Wilkins
Sent: Monday, January 10, 2005 10:43 AM
To: Asterisk-users
Subject: [Asterisk-Users] Ramifications of Multiple Sip Reloads
WithinMinutes?
We have the ability to create random UID's on own system through a
custom
CGI API. These UID's are written to individual sip configuration files based
on the account name, so for instance sip_TEST.conf, sip_TEST2.conf, and
sip_TEST3.conf, etc. Many of these UID's are created on the fly and at
random
times throughout the day. Right now, I have it setup to do a reload every
night. Would it be damaging to do a "asterisk -rx sip reload" upon the
creation of the UID (peer name)? I am asking because I would like for the
peer names to be displayed immediately by using the sip show peers command.
I
am not interested in realtime because I am running stable 1.0.3 only and
also
it does not provide the qualify functionality I so desire.
--
Brian Wilkins
Software Engineer
[EMAIL PROTECTED]
Heritage Communications Corporation
Melbourne, FL USA 32935
321.308.4000 x33
http://www.hcc.net
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users