Re: [Asterisk-Users] Asterisk 1.0.2 - Unable to allocate channelstructure

2005-01-07 Thread Matthew Boehm
Holy cow! Why are there so many asterisk instances running? There should
only be 1.

kill them all and start just 1 asterisk

-Matthew

- Original Message - 
From: Eric [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Friday, January 07, 2005 9:35 AM
Subject: [Asterisk-Users] Asterisk 1.0.2 - Unable to allocate
channelstructure


 Hi,

 This morning I had some failed calls.  On the console (and in the log)
 I saw the error Unable to allocate channel structure.  Before I
restarted
 the process, I checked it's memory usage in ps and glanced at my free
 memory in top.  Asterisk was using a normal ammount of memory, about
 40M.  I don't think this was a system limit.  This was running Asterisk
 v1.0.2.  Below is an excerpt of my messages log as well as the output
 of ps and top, if it helps.

 Has anyone seen this sort of error before?  Any ideas what could be
 causing it?  The changelog for 1.0.3 doesn't list anything related
 to memory or resource allocation.. Anyone know if there was any
 work done to ast_channel_alloc() or related functions?


 Thanks.

 - Eric


 Jan  7 07:24:50 WARNING[163850]: Unable to allocate channel structure
 Jan  7 07:24:50 WARNING[163850]: Unable to start PBX on channel 0/11, span
1
 Jan  7 07:24:50 WARNING[163850]: Call specified, but not found?
 Jan  7 07:24:50 WARNING[163850]: Hangup on bad channel 0/11 on span 1
 Jan  7 07:24:51 WARNING[180235]: Unable to allocate channel structure
 Jan  7 07:24:51 WARNING[180235]: Unable to start PBX on channel 0/1, span
2
 Jan  7 07:24:51 WARNING[180235]: Call specified, but not found?
 Jan  7 07:24:51 WARNING[180235]: Hangup on bad channel 0/1 on span 2
 Jan  7 07:24:54 WARNING[163850]: Call specified, but not found?
 Jan  7 07:24:54 WARNING[163850]: Hangup on bad channel 0/11 on span 1
 Jan  7 07:24:55 WARNING[180235]: Call specified, but not found?
 Jan  7 07:24:55 WARNING[180235]: Hangup on bad channel 0/1 on span 2
 Jan  7 08:20:24 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:20:24 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:20:42 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:20:42 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:21:03 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:21:03 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:22:43 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:22:43 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:23:01 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:23:01 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:23:23 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:23:23 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:26:09 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:26:09 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:26:17 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:26:17 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:28:23 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:28:23 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:28:29 WARNING[81925]: Maximum retries exceeded on call
1636b9b523c778f
 [EMAIL PROTECTED] for seqno 102 (Non-critical Response)
 Jan  7 08:28:30 WARNING[163850]: Unable to allocate channel structure
 Jan  7 08:28:30 WARNING[163850]: Unable to start PBX on channel 0/12, span
1
 Jan  7 08:28:31 WARNING[163850]: Call specified, but not found?
 Jan  7 08:28:31 WARNING[163850]: Hangup on bad channel 0/12 on span 1
 Jan  7 08:28:31 WARNING[180235]: Unable to allocate channel structure
 Jan  7 08:28:31 WARNING[180235]: Unable to start PBX on channel 0/2, span
2
 Jan  7 08:28:31 WARNING[180235]: Call specified, but not found?
 Jan  7 08:28:31 WARNING[180235]: Hangup on bad channel 0/2 on span 2
 Jan  7 08:28:34 WARNING[163850]: Call specified, but not found?
 Jan  7 08:28:34 WARNING[163850]: Hangup on bad channel 0/12 on span 1
 Jan  7 08:28:35 WARNING[180235]: Call specified, but not found?
 Jan  7 08:28:35 WARNING[180235]: Hangup on bad channel 0/2 on span 2
 Jan  7 08:29:18 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:29:18 NOTICE[81925]: Unable to create/find channel
 Jan  7 08:29:30 WARNING[81925]: Unable to allocate channel structure
 Jan  7 08:29:30 NOTICE[81925]: Unable to create/find channel



 ([EMAIL PROTECTED]) ~ # ps aux
 USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
 root 1  0.0  0.1  1272  476 ?S 2004   0:06 init [3]
 root 2  0.0  0.0 00 ?SW2004   0:00 [keventd]
 root 3  0.0  0.0 00 ?SWN   2004   0:00
[ksoftirqd_CPU0]
 root 4  0.0  0.0 00 ?SW2004   0:00 [kswapd]
 root 5  0.0  0.0 00 ?SW2004   0:00 [bdflush]
 root 6  0.0  0.0 00 ?SW2004   0:00 [kupdated]
 root 7  0.0  0.0 00 ?SW2004   0:00 

Re: [Asterisk-Users] Asterisk 1.0.2 - Unable to allocate channelstructure

2005-01-07 Thread Bob Goddard
On Friday 07 January 2005 16:04, Matthew Boehm wrote:
 Holy cow! Why are there so many asterisk instances running? There should
 only be 1.

 kill them all and start just 1 asterisk

Do not top post, learn to trim.

There is 1 process and many threads.
___
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


Re: [Asterisk-Users] Asterisk 1.0.2 - Unable to allocate channelstructure

2005-01-07 Thread Eric
Um, that's about normal here.  It runs like 16 threads on a fresh startup.
Maybe you don't have threading enabled on your box?


- Eric



On Fri, 7 Jan 2005 10:04:59 -0600
Matthew Boehm [EMAIL PROTECTED] wrote:

 Holy cow! Why are there so many asterisk instances running? There should
 only be 1.
 
 kill them all and start just 1 asterisk
 
 -Matthew
 
 - Original Message - 
 From: Eric [EMAIL PROTECTED]
 To: asterisk-users@lists.digium.com
 Sent: Friday, January 07, 2005 9:35 AM
 Subject: [Asterisk-Users] Asterisk 1.0.2 - Unable to allocate
 channelstructure
 
 
  Hi,
 
  This morning I had some failed calls.  On the console (and in the log)
  I saw the error Unable to allocate channel structure.  Before I
 restarted
  the process, I checked it's memory usage in ps and glanced at my free
  memory in top.  Asterisk was using a normal ammount of memory, about
  40M.  I don't think this was a system limit.  This was running Asterisk
  v1.0.2.  Below is an excerpt of my messages log as well as the output
  of ps and top, if it helps.
 
  Has anyone seen this sort of error before?  Any ideas what could be
  causing it?  The changelog for 1.0.3 doesn't list anything related
  to memory or resource allocation.. Anyone know if there was any
  work done to ast_channel_alloc() or related functions?
 
 
  Thanks.
 
  - Eric
 
 
  Jan  7 07:24:50 WARNING[163850]: Unable to allocate channel structure
  Jan  7 07:24:50 WARNING[163850]: Unable to start PBX on channel 0/11, span
 1
  Jan  7 07:24:50 WARNING[163850]: Call specified, but not found?
  Jan  7 07:24:50 WARNING[163850]: Hangup on bad channel 0/11 on span 1
  Jan  7 07:24:51 WARNING[180235]: Unable to allocate channel structure
  Jan  7 07:24:51 WARNING[180235]: Unable to start PBX on channel 0/1, span
 2
  Jan  7 07:24:51 WARNING[180235]: Call specified, but not found?
  Jan  7 07:24:51 WARNING[180235]: Hangup on bad channel 0/1 on span 2
  Jan  7 07:24:54 WARNING[163850]: Call specified, but not found?
  Jan  7 07:24:54 WARNING[163850]: Hangup on bad channel 0/11 on span 1
  Jan  7 07:24:55 WARNING[180235]: Call specified, but not found?
  Jan  7 07:24:55 WARNING[180235]: Hangup on bad channel 0/1 on span 2
  Jan  7 08:20:24 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:20:24 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:20:42 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:20:42 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:21:03 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:21:03 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:22:43 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:22:43 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:23:01 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:23:01 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:23:23 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:23:23 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:26:09 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:26:09 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:26:17 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:26:17 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:28:23 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:28:23 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:28:29 WARNING[81925]: Maximum retries exceeded on call
 1636b9b523c778f
  [EMAIL PROTECTED] for seqno 102 (Non-critical Response)
  Jan  7 08:28:30 WARNING[163850]: Unable to allocate channel structure
  Jan  7 08:28:30 WARNING[163850]: Unable to start PBX on channel 0/12, span
 1
  Jan  7 08:28:31 WARNING[163850]: Call specified, but not found?
  Jan  7 08:28:31 WARNING[163850]: Hangup on bad channel 0/12 on span 1
  Jan  7 08:28:31 WARNING[180235]: Unable to allocate channel structure
  Jan  7 08:28:31 WARNING[180235]: Unable to start PBX on channel 0/2, span
 2
  Jan  7 08:28:31 WARNING[180235]: Call specified, but not found?
  Jan  7 08:28:31 WARNING[180235]: Hangup on bad channel 0/2 on span 2
  Jan  7 08:28:34 WARNING[163850]: Call specified, but not found?
  Jan  7 08:28:34 WARNING[163850]: Hangup on bad channel 0/12 on span 1
  Jan  7 08:28:35 WARNING[180235]: Call specified, but not found?
  Jan  7 08:28:35 WARNING[180235]: Hangup on bad channel 0/2 on span 2
  Jan  7 08:29:18 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:29:18 NOTICE[81925]: Unable to create/find channel
  Jan  7 08:29:30 WARNING[81925]: Unable to allocate channel structure
  Jan  7 08:29:30 NOTICE[81925]: Unable to create/find channel
 
 
 
  ([EMAIL PROTECTED]) ~ # ps aux
  USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
  root 1  0.0  0.1  1272  476 ?S 2004   0:06 init [3]
  root 2  0.0  0.0 00 ?SW2004   0:00 [keventd]
  root 3  0.0  0.0 00 ?SWN   2004   0:00