Greg - Cirelle Enterprises
2004-Dec-30 06:52 UTC
[Asterisk-Users] Is asterisk that unstable ????
from voip-info wiki Asterisk automatic daily restart To automatically restart Asterisk you can add something like this to cron # Restart Asterisk PBX once a day to prevent any problems from piling up 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 or 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null 2>&1 Does this software have substantial problems that one would have to do this??? Regards Greg Cirino ___________________________________ Cirelle Enterprises Inc. 603-425-2221 www.cirelle.com Web Application Development & Design www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster www.cedata.com Web, FTP, Email Hosting Services www.mlsbot.com NNEREN MLS IDX Services When You Want It Done Well, Just Call Cirelle It's not just a Rhyme... There's a Reason!
Greg - Cirelle Enterprises wrote:> from voip-info wiki > > > Asterisk automatic daily restart > > To automatically restart Asterisk you can add something like this to cron > > # Restart Asterisk PBX once a day to prevent any problems from piling up > 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 > > or > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null > 2>&1 > > > Does this software have substantial problems that one would have to do > this??? >I'm runing Asterisk for a year now as the IPBX of our little consulting firm. It stopped working only 4 times: two of these where power failures and the other two turned out to be Telco company problems (dead line). We have 2 PSTN lines (using Digium X101P cards), 5 intrernal VoIP extentions (Grandstream budgettone - one of which is located on another continent, using a Wifi connection to a near by village that hosts an ADSL router... don't ask) and 2 VoIP termination/origination "lines". Of course, your mileage may very, but at least here there is no nightly restart script. Hope that helps you in any way. Gilad -- Gilad Ben-Yossef <gilad@codefidence.com> Codefidence. A name you can trust(tm) Web: http://codefidence.com | SIP: gilad@pbx.codefidence.com Tel: +972.9.8650475 ext. 201 | Fax: +972.9.8850643 "I am Jack's Overwritten Stack Pointer" -- Hackers Club, the movie
Greg - Cirelle Enterprises
2004-Dec-30 07:29 UTC
[Asterisk-Users] Is asterisk that unstable ????
At 09:19 AM 12/30/04, you wrote:>Greg - Cirelle Enterprises wrote: >>from voip-info wiki >> >>Asterisk automatic daily restart >>To automatically restart Asterisk you can add something like this to cron >># Restart Asterisk PBX once a day to prevent any problems from piling up >>10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 >>or >>10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null 2>&1 >> >>Does this software have substantial problems that one would have to do >>this??? > >I'm runing Asterisk for a year now as the IPBX of our little consulting >firm. It stopped working only 4 times: two of these where power failures >and the other two turned out to be Telco company problems (dead line). > >We have 2 PSTN lines (using Digium X101P cards), 5 intrernal VoIP >extentions (Grandstream budgettone - one of which is located on another >continent, using a Wifi connection to a near by village that hosts an ADSL >router... don't ask) and 2 VoIP termination/origination "lines". > >Of course, your mileage may very, but at least here there is no nightly >restart script. > > >Hope that helps you in any way. > >GiladAre you running a stable (v 1.0 - 1.0.3) or cvs Greg
No.. it's not that unstable. Some people are just paranoid. With my X100p's I do notice that caller id gives me trouble after about a week. Could just be in my head though. On Thu, 30 Dec 2004 08:52:15 -0500, Greg - Cirelle Enterprises <gcirino@cirelle.com> wrote:> from voip-info wiki > > Asterisk automatic daily restart > > To automatically restart Asterisk you can add something like this to cron > > # Restart Asterisk PBX once a day to prevent any problems from piling up > 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 > > or > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null 2>&1 > > Does this software have substantial problems that one would have to do this??? > > Regards > Greg Cirino > ___________________________________ > Cirelle Enterprises Inc. > 603-425-2221 > www.cirelle.com Web Application Development & Design > www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster > www.cedata.com Web, FTP, Email Hosting Services > www.mlsbot.com NNEREN MLS IDX Services > > When You Want It Done Well, Just Call Cirelle > It's not just a Rhyme... There's a Reason! > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >-- Is it something someone said, was it something someone said?
On Thu, 2004-12-30 at 08:52 -0500, Greg - Cirelle Enterprises wrote:> from voip-info wiki > > > Asterisk automatic daily restart > > To automatically restart Asterisk you can add something like this to cron > > # Restart Asterisk PBX once a day to prevent any problems from piling up > 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 > > or > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null 2>&1 > > > Does this software have substantial problems that one would have to do this???There may be certain days when you check asterisk from the -HEAD branch that might be less stable than other days. The comments above seem to come from a certain type of "admin" personality. That personality is rampant in MS Windows shops and in some big iron shops. Right now this is the uptime from my main PBX. phone*CLI> show uptime System uptime: 21 weeks, 21 hours, 16 minutes, 50 seconds Last reload: 1 week, 1 day, 15 hours, 53 minutes, 40 seconds As of this message, we have run about 7200 calls this month alone, or about 250 calls average per day right now. For November and December minus 2 days, 15300 calls or about 259 calls a day average. I don't have problems. -- Steven Critchfield <critch@basesys.com>
I do about 500 calls per day on average volume and about 750 on heavy volume and find it necessary to run a logger rotate every other day... other then that I can go on for a couple weeks until I need a full reboot.
This is the age old difference between Microsoft environments and Unix/Novell environments. I like to joke that Microsoft uptime is measured in hours.... Unix/Novell is always in years,months, and days. Although, I have to admit that Win 2k (server) and XP have substantially improved uptime and install lifetime. A lot of that can be traced back to "leave it the **** alone if it works!" I would be surprised if * actually HAD to be rebooted or restarted on any frequency. I suspect maintenance and changes would force restarts more often then clutter. Brian Greul Texas Shirt Company www.txshirts.com 713-802-0369 / 713-861-6261 (fax) -----Original Message----- From: Steven Critchfield [mailto:critch@basesys.com] Sent: Thursday, December 30, 2004 8:43 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Is asterisk that unstable ???? On Thu, 2004-12-30 at 08:52 -0500, Greg - Cirelle Enterprises wrote:> from voip-info wiki > > > Asterisk automatic daily restart > > To automatically restart Asterisk you can add something like this to > cron > > # Restart Asterisk PBX once a day to prevent any problems from piling > up 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null > 2>&1 > > or > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" > >/dev/null 2>&1 > > > Does this software have substantial problems that one would have to dothis??? There may be certain days when you check asterisk from the -HEAD branch that might be less stable than other days. The comments above seem to come from a certain type of "admin" personality. That personality is rampant in MS Windows shops and in some big iron shops. Right now this is the uptime from my main PBX. phone*CLI> show uptime System uptime: 21 weeks, 21 hours, 16 minutes, 50 seconds Last reload: 1 week, 1 day, 15 hours, 53 minutes, 40 seconds As of this message, we have run about 7200 calls this month alone, or about 250 calls average per day right now. For November and December minus 2 days, 15300 calls or about 259 calls a day average. I don't have problems. -- Steven Critchfield <critch@basesys.com> _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Steven Critchfield > Sent: Thursday, December 30, 2004 7:43 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Is asterisk that unstable ???? > > On Thu, 2004-12-30 at 08:52 -0500, Greg - Cirelle Enterprises wrote: > > from voip-info wiki > > > > > > Asterisk automatic daily restart > > > > To automatically restart Asterisk you can add something > like this to > > cron > > > > # Restart Asterisk PBX once a day to prevent any problems > from piling > > up 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null > > 2>&1 > > > > or > > > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" > > >/dev/null 2>&1 > > > > > > Does this software have substantial problems that one would > have to do this??? > > There may be certain days when you check asterisk from the > -HEAD branch that might be less stable than other days. > > The comments above seem to come from a certain type of "admin" > personality. That personality is rampant in MS Windows shops > and in some big iron shops. > > Right now this is the uptime from my main PBX. > phone*CLI> show uptime > System uptime: 21 weeks, 21 hours, 16 minutes, 50 seconds > Last reload: 1 week, 1 day, 15 hours, 53 minutes, 40 seconds > > > As of this message, we have run about 7200 calls this month > alone, or about 250 calls average per day right now. > > For November and December minus 2 days, 15300 calls or about > 259 calls a day average. > > I don't have problems. > -- > Steven Critchfield <critch@basesys.com> > > _______________________________________________Any analog FXO or FXS interfaces in that box?
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Steven Critchfield > > > _______________________________________________ > > > > Any analog FXO or FXS interfaces in that box? > > Of course not. FXO and FXS interfaces are for small > deployments. We only have T1 interfaces and IAX2 interfaces. > PRI in, a channelized T1 using > 16 channels out, and a few calls a day out to our remote > system via IAX2. > > -- > Steven Critchfield <critch@basesys.com> > > _______________________________________________Only for small deployments? How do you interface with your fax machines? analog alarm systems? pc modems? All of my "large" deployments require one or more of these elements, and one that I am currently working on is a MAX TNT - SER - * implemetation with 12 PRIs over a DS3 to the MAX TNT. Sure is a shame that I have to run 6 analog lines to the building because * can not provide analog TDM interfaces. I realize I could use a channel bank, but keep in mind, we have a DS3 coming in, so a channle bank would require demux of a DS1, and then demux to DS0 on a channel bank, and ebay pricing not withstanding, that costs a boatload of money. Problem with ebay gear is you have to buy two of everything to be safe (not to say we do not do it, TNTs are still cheaper on ebay even if you have to buy 3 to be safe). My point is that your assumption that only linux boxes will run for more than 30 days is opinionated and wrong. Any PC platform is only as stable as the sum of what you run on it, put a single analog interface in a red hat ES on $10,000 worth of hardware and you will have to reboot every 3 days. Run only stable software on a Linux OR Microsoft Server and uptime is not an issue unless you have a need to load every patch that ip put out, in which case both platforms typically require more frequent restarts. A better solution, use a good firewall and load patches less frequently. Your boxes have better uptime because of competent and educated decisions you have made (yes that is a compliment, you appear to be brilliant) when implementing them, like not installing known buggy interfaces. My MS boxes have similar uptime for the same reason. I see the value and need for both platforms on a daily basis. I realize several of my replies to you have been opinionated, but you frequently show your bias as well. In the end I respect your experience with * and have learned a few things from your posts after I filter the opinions out. With all due respect, Damon
> > I do about 500 calls per day on average volume and about 750 on heavy > volume and find it necessary to run a logger rotate every other day... > other then that I can go on for a couple weeks until I need a full > reboot. >How do you rotate your logs? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.6 - Release Date: 12/28/2004
Logger rotate from cli -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Randy MacKay Sent: Thursday, December 30, 2004 10:49 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Is asterisk that unstable ????> > I do about 500 calls per day on average volume and about 750 on heavy > volume and find it necessary to run a logger rotate every other day... > other then that I can go on for a couple weeks until I need a full > reboot. >How do you rotate your logs? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.6 - Release Date: 12/28/2004 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
> > > > Asterisk automatic daily restart > > > > To automatically restart Asterisk you can add something like this to cron > > > > # Restart Asterisk PBX once a day to prevent any problems from piling up > > 10 7 * * * root /usr/sbin/asterisk -rx "restart now" >/dev/null 2>&1 > > > > or > > > > 10 7 * * * root /usr/sbin/asterisk -r -x "restart gracefully" >/dev/null 2>&1 > > > > > > Does this software have substantial problems that one would have to do this???No, not in the majority of cases. Restarting it on a regular basis follows about the same mentality that some sys admins have on restarting their unix boxes. If there are any issues, they should be documented and fixed, not bypassed through restarts.
Seemingly Similar Threads
- Opinions on renice or turning off swap or ramdis k as swap?
- How do I match a "D"? (Was: RE: In-band disc onn ect problem (legacy PBX) - asterisk doesn't hear the touchtone?)
- Asterisk Fails To Start on Reboot Mysql
- Changing NICE value for * will it help?
- redhat9 100% CPU