I am having a problem with an Asterisk 1.6.2.15 server that runs a small call center with Queuemetrics. In the past month we've had this problem 3 times. The problem is that Asterisk simply stops responding. No calls in or out and you cannot even get to the CLI. The process seems to be running but there is simple no activity. All I see in the log files is: [Jan 14 16:30:46] WARNING[20747] pbx.c: Failed to create new channel thread [Jan 14 16:30:46] WARNING[20747] chan_sip.c: Failed to start PBX :( [Jan 14 16:30:47] WARNING[20745] pbx.c: Failed to create new channel thread [Jan 14 16:30:47] WARNING[20745] chan_dahdi.c: Unable to start PBX on DAHDI/29-1 After restarting Asterisk everything is back to normal. The time between the first failure and the second was almost a month, between the second and third a few days. We use CentOS 5.5 on a Dell 905 server with 8gb of ram. The first time it happened we were using Asterisk 1.6.2.14 so we upgraded to 1.6.2.15 to try and avoid the problem but no luck. Any recommendations? -- Carlos Chavez Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001
On Jan 15, 2011, at 2:01 AM, Carlos Chavez wrote:> The problem is that Asterisk simply stops responding. No calls in or out > and you cannot even get to the CLI. The process seems to be running but there > is simple no activity. All I see in the log files is: > > [Jan 14 16:30:46] WARNING[20747] pbx.c: Failed to create new channel thread > [Jan 14 16:30:46] WARNING[20747] chan_sip.c: Failed to start PBX :( > [Jan 14 16:30:47] WARNING[20745] pbx.c: Failed to create new channel thread > [Jan 14 16:30:47] WARNING[20745] chan_dahdi.c: Unable to start PBX on DAHDI/29-1 > > After restarting Asterisk everything is back to normal. The time between > the first failure and the second was almost a month, between the second and > third a few days.Carlos, What is in the logs immediately preceding the warning you have posted here? Scan up a number of lines (more if you have a very verbose installation, like FreePBX) and see if anything pops out at you. Basically, you want to figure out what was happening on the server at the time of the crash? Incoming fax? Hangup of a Dahdi channel? Incoming Dahdi call, etc. That will likely point you in the right direction. Tom
On Sat, Jan 15, 2011 at 9:36 AM, James Miller <paramedic18 at gmail.com> wrote:> Forgive me, but how do I do moh show files? > > > > Basically what is occurring is: > > > > If you enter a queue and are waiting to be answered, you will hear the > streaming MOH > > > > If you call another extension on the system, you will only hear the default > MOH. I want it to stream MOH for everything. > > > > Hopefully that makes sense. > > > > Regards, > > James > > > > "I see blindness, not as a disability, but more of an ability. And Sight > actually, more of a disability because some people with sight tend to judge > others by what they see on the outside, whereas I don't see that. I just see > that which is in a person." Patrick Henry Hughes, Louisville Kentucky,2008 > > > Let us never forget our fallen men and women of the armed forces who's > future's were lost protecting the future's of the free world. > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Gary Allen > *Sent:* Saturday, January 15, 2011 11:33 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Music on Hold not working? > > > > > > > I have it all configured and it should work, and it did briefly several > weeks ago, however now, it doesn't work at all and only plays the default > hold music. > > If it is playing the default music, then the MOH function is working. > What do you get from "moh show files" in Asterisk? > > >Go into Asterisk CLI (asterisk -r) and issue the command "moh show files". I don't see how you can have different MOH in a queue vs. being on hold unless you have specified a specific MOH group for your call queues. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110115/6577b3f2/attachment.htm>
[This email is either empty or too large to be displayed at this time]
James Miller wrote:> > From the command you suggested to enter: > > Class: default > > File: /var/lib/asterisk/moh//reno_project-system >You have 1 too many // in the directory structure. It should be: /var/lib/asterisk/moh/reno_project-system Not /var/lib/asterisk/moh//reno_project-system Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
>-----Original Message----- >From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On >Behalf Of Carlos Chavez >Sent: Saturday, January 15, 2011 2:02 AM >To: Asterisk >Subject: [asterisk-users] Asterisk stops responding > > I am having a problem with an Asterisk 1.6.2.15 server that runs a small >call center with Queuemetrics. In the past month we've had this problem 3 >times. > > The problem is that Asterisk simply stops responding. No calls in or out >and you cannot even get to the CLI. The process seems to be running but there >is simple no activity. All I see in the log files is:It might be this - I had something similar in behavior though I don't know if I ever got the same error message: https://issues.asterisk.org/view.php?id=18031
Asterisk is becoming a bit unstable and it stops responding. This is now happening every week or so. The asterisk process is up but you cannot connect to the CLI and no calls come in or out. The only thing I can find in the log files is this: [Jan 22 04:16:02] ERROR[19825] asterisk.c: Unable to spawn thread to handle connection: Cannot allocate memory [Jan 22 04:21:02] ERROR[19825] asterisk.c: Unable to spawn thread to handle connection: Cannot allocate memory [Jan 22 07:54:41] WARNING[19845] pbx.c: Failed to create new channel thread [Jan 22 07:54:41] WARNING[19845] chan_dahdi.c: Unable to start PBX on DAHDI/20-1 At 4am there are no users in the system and no calls coming into the E1. When the calls start coming in we get the second pair of messages. We are using Asterisk 1.6.2.16 (we have upgraded twice since the problem began). CentOS 5.5 is up to date with the latest patches. The interval between failures dropped from a month to a week so this is a critical concern now. I do not s -- Carlos Chavez Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001
On 22 Jan 2011, at 18:02, Carlos Chavez wrote:> Cannot allocate memoryHave you tried looking at memory? S
On Sat, 22 Jan 2011 20:51:54 +0000, Steve Howes wrote> On 22 Jan 2011, at 18:02, Carlos Chavez wrote: > > Cannot allocate memory > > Have you tried looking at memory? > > S >The server has 8gb of ram and 8gb of swap. Free indicates that there are at least two free gb of memory and swap remains at 0 use. -- Carlos Chavez Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001
On Sat, Jan 22, 2011 at 6:53 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:> On Sat, 22 Jan 2011 20:51:54 +0000, Steve Howes wrote >> On 22 Jan 2011, at 18:02, Carlos Chavez wrote: >> > Cannot allocate memory >> >> Have you tried looking at memory? >> >> S >> > ? ? The server has 8gb of ram and 8gb of swap. ?Free indicates that there are > at least two free gb of memory and swap remains at 0 use.Just asking the obvious, but, x86-64? How big is the asterisk process? -M
On Sat, 22 Jan 2011 19:47:43 -0500, Mark Deneen wrote> On Sat, Jan 22, 2011 at 6:53 PM, Carlos Chavez > <cursor at telecomabmex.com> wrote: > > On Sat, 22 Jan 2011 20:51:54 +0000, Steve Howes wrote > >> On 22 Jan 2011, at 18:02, Carlos Chavez wrote: > >> > Cannot allocate memory > >> > >> Have you tried looking at memory? > >> > >> S > >> > > ? ? The server has 8gb of ram and 8gb of swap. ?Free indicates that there are > > at least two free gb of memory and swap remains at 0 use. > > Just asking the obvious, but, x86-64? How big is the asterisk process? >4650 root 15 0 3153M 132M 10420 S 0.0 1.6 3:24.40 /usr/sbin/asterisk -f -vvvg -c 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux -- Carlos Chavez Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001
Am 23.01.2011 18:38, schrieb Carlos Chavez:> On Sat, 22 Jan 2011 19:47:43 -0500, Mark Deneen wrote >> On Sat, Jan 22, 2011 at 6:53 PM, Carlos Chavez >> <cursor at telecomabmex.com> wrote: >>> On Sat, 22 Jan 2011 20:51:54 +0000, Steve Howes wrote >>>> On 22 Jan 2011, at 18:02, Carlos Chavez wrote: >>>>> Cannot allocate memory >>>> Have you tried looking at memory? >>>> >>>> S >>>> >>> The server has 8gb of ram and 8gb of swap. Free indicates that there are >>> at least two free gb of memory and swap remains at 0 use. >> Just asking the obvious, but, x86-64? How big is the asterisk process? >> > 4650 root 15 0 3153M 132M 10420 S 0.0 1.6 3:24.40 > /usr/sbin/asterisk -f -vvvg -c > > 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 > GNU/LinuxPlase show us the header of the used ps-command.