[asterisk-users] No more room in scheduler

2010-12-11 Thread mahfoudh alfaqeeh
Dears:

Really, later I faced problem in the asterisk system which is :
Message is shown when the unique id which is generated with each caller reach 
9000 and something:

No more room in scheduler
Asked to delete sched id
.
.

after I restarted the server this message is not shown again till now (after 2 
week)

My question:
What is the reason of this error and how can I solve the problem permanently

Please I need the help  as soon as possible.
Your effort is appreciated
Thank So much..



 





  -- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] No more room in scheduler

2010-12-11 Thread Steve Murphy
On Sat, Dec 11, 2010 at 6:40 AM, mahfoudh alfaqeeh
abu_amjad2...@yahoo.comwrote:

 Dears:

 Really, later I faced problem in the asterisk system which is :
 Message is shown when the unique id which is generated with each caller
 reach
 9000 and something:

 No more room in scheduler
 Asked to delete sched id
 .
 .

 after I restarted the server this message is not shown again till now
 (after 2 week)
 
 My question:
 What is the reason of this error and how can I solve the problem
 permanently

 Please I need the help  as soon as possible.
 Your effort is appreciated
 Thank So much..


Tell us your exact version asterisk.

Cut and paste the actual, exact messages you see. No more room in
scheduler doesn't show up in 1.6.2, or trunk.
Schedulers don't have any limits; the size of the uniqueid's don't either.

Try core show threads,  core show calls   sip show channels core show
taskprocessors  from within asterisk's cli.

Try this outside asterisk:   lsof -p asterisk-pid | wc  (you may have to
install lsof via your package manager)












 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



Steve Murphy

ParseTree Corp.

57 Lane 17

Cody, WY 82414

✉  m...@parsetree.com

☎ 307-899-5535
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] No more room in scheduler

2009-09-30 Thread Tim Banks
Are you using a VPM module? The dahdi changelog mentions some recent work 
related to VPM modules and HDLC aborts.

https://issues.asterisk.org/view.php?id=15498
https://issues.asterisk.org/view.php?id=15529


I just rebuilt a server this weekend for the same problem on a single span 
card with a VPM. I usually have to restart asterisk to fix it, but I just 
noticed an instance in the logs where it recovered on its own a minute 
later:

[2009-09-29 01:12:20] NOTICE[5290] chan_dahdi.c: PRI got event: HDLC Abort 
(6) on Primary D-channel of span 1
[2009-09-29 01:19:31] ERROR[5290] chan_dahdi.c: No more room in scheduler
[2009-09-29 01:19:31] ERROR[5290] chan_dahdi.c: Asked to delete sched id 
-1???
[2009-09-29 01:19:31] ERROR[5290] chan_dahdi.c: No more room in scheduler
--snip--
[2009-09-29 01:20:25] ERROR[5290] chan_dahdi.c: No more room in scheduler
[2009-09-29 01:20:25] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 down
[2009-09-29 01:20:25] WARNING[5290] chan_dahdi.c: No D-channels available! 
 Using Primary channel 24 as D-channel anyway!
[2009-09-29 01:20:25] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 up
[2009-09-29 01:20:25] ERROR[5290] chan_dahdi.c: !! Got a UA, but i'm in 
state 7
[2009-09-29 01:20:26] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 down
[2009-09-29 01:20:26] WARNING[5290] chan_dahdi.c: No D-channels available! 
 Using Primary channel 24 as D-channel anyway!
[2009-09-29 01:20:26] ERROR[5290] chan_dahdi.c: !! Got S-frame while link 
down
[2009-09-29 01:20:26] ERROR[5290] chan_dahdi.c: !! Got S-frame while link 
down
[2009-09-29 01:20:26] ERROR[5290] chan_dahdi.c: !! Got S-frame while link 
down
[2009-09-29 01:20:26] ERROR[5290] chan_dahdi.c: !! Got S-frame while link 
down
[2009-09-29 01:20:26] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 up


I also spotted some similar log entries the day before, but surprisingly 
without a crash afterward:

[2009-09-28 01:21:59] NOTICE[5290] chan_dahdi.c: PRI got event: HDLC Abort 
(6) on Primary D-channel of span 1
[2009-09-28 01:22:01] ERROR[5290] chan_dahdi.c: ACK received for '0' 
outside of window of '20' to '21', restarting
[2009-09-28 01:22:01] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 down
[2009-09-28 01:22:01] WARNING[5290] chan_dahdi.c: No D-channels available! 
 Using Primary channel 24 as D-channel anyway!
[2009-09-28 01:22:01] VERBOSE[5290] logger.c:   == Primary D-Channel on 
span 1 up
[2009-09-28 01:22:01] ERROR[5290] chan_dahdi.c: !! Got a UA, but i'm in 
state 7


I get the crash in asterisk 1.6.0.15 and 1.6.1.6 with dahdi 2.2.0.2, 
asterisk 1.4.26.2 with zaptel, on Centos 4.8 and Centos 5.3. It always 
happens around the same time (probably the telco running tests as you 
mentioned), and I always get 99% on dahdi_test.

I'm scheduling a nightly restart for now, but I'm also considering 
ditching the VPM for a while.


Marc Smith  wrote on 09/18/2009 01:33:11 PM:
 
 Hi,
 
 I running into the following problem on my Asterisk setup:
 
 --snip--
 [Sep  3 01:40:59] NOTICE[9170] chan_dahdi.c: PRI got event: HDLC Abort
 (6) on Primary D-channel of span 3
 [Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 [Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: No more room in scheduler
 [Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: Asked to delete sched id 
-1???
 --snip--
 
 This happens once a week, at same about the same time (give or take a
 couple minutes). Always from span 3 too.
 
 It just continually spits out those messages until I restart Asterisk.
 I've seen others post about this, but haven't seen a real answer.
 
 Someone said to run a 'dahdi_test -v' when this happens; I did and I
 get 99% every time.
 
 Someone else said this is usually caused by the telco. running some
 type of test on the line, and I would agree since it happens every
 week at pretty much the same time and same day. So, yes, lets say the
 telco. is sending some type of 

[asterisk-users] No more room in scheduler

2009-09-18 Thread Marc Smith
Hi,

I running into the following problem on my Asterisk setup:

--snip--
[Sep  3 01:40:59] NOTICE[9170] chan_dahdi.c: PRI got event: HDLC Abort
(6) on Primary D-channel of span 3
[Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:07] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:08] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
[Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: No more room in scheduler
[Sep  3 01:47:09] ERROR[9170] chan_dahdi.c: Asked to delete sched id -1???
--snip--

This happens once a week, at same about the same time (give or take a
couple minutes). Always from span 3 too.

It just continually spits out those messages until I restart Asterisk.
I've seen others post about this, but haven't seen a real answer.

Someone said to run a 'dahdi_test -v' when this happens; I did and I
get 99% every time.

Someone else said this is usually caused by the telco. running some
type of test on the line, and I would agree since it happens every
week at pretty much the same time and same day. So, yes, lets say the
telco. is sending some type of signal that freaks out Asterisk/DAHDI.
I could call them and ask them to stop, but it would seem more
appropriate for Asterisk/DAHDI to just handle this and not cry.

A short term fix would be to just have a cron run around 2:00 a.m.
weekly that will restart Asterisk.

Should I open a bug for this?

asterisk-1.6.1.1
dahdi-linux-2.2.0.2
dahdi-tools-2.2.0

Linux jekyll.mcc.edu 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST
2009 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

Dell PowerEdge 2950
(2) Wildcard TE220 (4th Gen)

[r...@jekyll ~]# cat /etc/dahdi/system.conf
# 20090801 MAS
# Span 1
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
echocanceller=mg2,1-23
# Span 2
span=2,2,0,esf,b8zs
bchan=25-47
dchan=48
echocanceller=mg2,25-47
# Span 3
span=3,3,0,esf,b8zs
bchan=49-71
dchan=72
echocanceller=mg2,49-71
# Span 4
span=4,4,0,esf,b8zs
bchan=73-95
dchan=96
echocanceller=mg2,73-95
# Global
loadzone= us
defaultzone = us

[r...@jekyll ~]# cat /etc/asterisk/chan_dahdi.conf
[general]

[channels]
; Span 1
group = 1
context = from_pstn
switchtype = qsig
signalling = pri_net
channel = 1-23
context = default
; Span 2
group = 2
context = from_avaya
switchtype = qsig
signalling = pri_net
channel = 25-47
context = default
; Span 3
group = 7
context = from_pstn
switchtype = qsig
signalling = pri_cpe
channel = 49-71
context = default
; Span 4
group = 7
context = from_pstn
switchtype = qsig
signalling = pri_cpe
channel = 73-95
context = default

[r...@jekyll ~]# cat /etc/dahdi/modules
# 20090801 MAS
wct4xxp
wctc4xxp


Let me know if any more information is needed.
Any help is greatly appreciated!


Thanks,

Marc

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users