Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] reload stopping EVERYTHING on CLI and causing havoc.

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
sherwood.mcgowan at gm...
Guest





PostPosted: Thu May 22, 2008 1:02 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn?t seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn?t
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt ?Died
successfully? and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn?t work, and ALL of the above happened again.

--

How do I diagnose what?s causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 2:11 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 2:34 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

You can create queues via AMI although it won't survive a restart.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:25 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
Thanks Steve.
Using 1.4.18, and I don't think it's fixed.
The unresponsiveness is permanent - although I do try to not reload during
work hours, sometimes it's just necessary.. especially when someone asks for
a new queue.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 2:36 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

http://www.the-asterisk-book.com/unstable/asterisk-manager-api.html

QueueAdd, and the add agents...

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:34 PM, Steve Totaro
<stotaro at totarotechnologies.com> wrote:
Quote:
You can create queues via AMI although it won't survive a restart.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:25 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
Thanks Steve.
Using 1.4.18, and I don't think it's fixed.
The unresponsiveness is permanent - although I do try to not reload during
work hours, sometimes it's just necessary.. especially when someone asks for
a new queue.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


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

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

Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 2:48 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Three options.
1. Open a bug report and hope someone fixes it.
2. Use AMI AND write the new .conf entry at the same time!
3. Reload queues when empty.

I don't really understand what the issue is with number two. Although
I am not a programmer, I can see why reloading queues with callers in
the queues might be a problem.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:38 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
That's true. But that's exactly why it's not used and conf is much easier.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

You can create queues via AMI although it won't survive a restart.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:25 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
Thanks Steve.
Using 1.4.18, and I don't think it's fixed.
The unresponsiveness is permanent - although I do try to not reload during
work hours, sometimes it's just necessary.. especially when someone asks
for
Quote:
a new queue.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


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

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


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

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


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Thu May 22, 2008 2:55 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Steve Totaro wrote:
Quote:
On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan



You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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

Not fixed in 1.4, at least not as of yesterday when I updated my 1.4 branch
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Thu May 22, 2008 2:56 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Steve Totaro wrote:
Quote:
On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan



You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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

Oh and also, in my implementation there are no queues. It seems to be
not related, I've had it in EVERY version of Asterisk I've used.
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 3:00 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

On Thu, May 22, 2008 at 3:56 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Steve Totaro wrote:
Quote:
On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan



You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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

Oh and also, in my implementation there are no queues. It seems to be
not related, I've had it in EVERY version of Asterisk I've used.


I have observed it on repeated general reloads on all versions.
That's why I don't reload very much, only planned.

Thanks,
Steve Totaro
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 3:01 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Before what? Revert to that if you had no problems. You could do
realtime queues too.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:58 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
1) rains down bullets
2) more work, but surely doable
3) yes, but that's a work around to the problem and inconvenient for 24/7
production box.

Either way, the reload worked perfectly fine before - even with callers
logged in and in full production.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

Three options.
1. Open a bug report and hope someone fixes it.
2. Use AMI AND write the new .conf entry at the same time!
3. Reload queues when empty.

I don't really understand what the issue is with number two. Although
I am not a programmer, I can see why reloading queues with callers in
the queues might be a problem.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:38 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
That's true. But that's exactly why it's not used and conf is much easier.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

You can create queues via AMI although it won't survive a restart.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:25 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
Thanks Steve.
Using 1.4.18, and I don't think it's fixed.
The unresponsiveness is permanent - although I do try to not reload
during
Quote:
Quote:
work hours, sometimes it's just necessary.. especially when someone asks
for
Quote:
a new queue.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Quote:
Quote:
Sent: May 22, 2008 3:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.


------------------------------------------------------------------------
Quote:
Quote:
Quote:
Quote:

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


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

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


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

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


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

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


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

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


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Thu May 22, 2008 3:16 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Steve Totaro wrote:
Quote:
On Thu, May 22, 2008 at 3:56 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Steve Totaro wrote:

Quote:
On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:


Quote:
Mark Hamilton wrote:


Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

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


I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan



You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


Oh and also, in my implementation there are no queues. It seems to be
not related, I've had it in EVERY version of Asterisk I've used.



I have observed it on repeated general reloads on all versions.
That's why I don't reload very much, only planned.

Thanks,
Steve Totaro

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

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

My problem exists even when issuing a restart now or stop now command at
the CLI.
Back to top
bweschke at gmail.com
Guest





PostPosted: Thu May 22, 2008 3:19 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Sherwood McGowan wrote:
Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn?t seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn?t
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt ?Died
successfully? and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn?t work, and ALL of the above happened again.

--

How do I diagnose what?s causing this?

Thanks,

Mark.

------------------------------------------------------------------------

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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and so
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps, but
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


Sounds like you're waiting on a mutex locked somewhere within the queue infrastructure. You'll want to take a look at DEBUG_THREAD and follow on research behind that.


http://lists.digium.com/pipermail/asterisk-dev/2003-November/002384.html
--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 22, 2008 3:21 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Until you provide enough info to properly open a bug report and follow
up on it until it gets fixed.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 4:07 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
Before adding one agent to a queue.
I guess realtime queues is something I should be looking into..

Other than that, this is bad. How long will Asterisk users have to look for
band-aid answers?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 4:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

Before what? Revert to that if you had no problems. You could do
realtime queues too.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:58 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
1) rains down bullets
2) more work, but surely doable
3) yes, but that's a work around to the problem and inconvenient for 24/7
production box.

Either way, the reload worked perfectly fine before - even with callers
logged in and in full production.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: May 22, 2008 3:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

Three options.
1. Open a bug report and hope someone fixes it.
2. Use AMI AND write the new .conf entry at the same time!
3. Reload queues when empty.

I don't really understand what the issue is with number two. Although
I am not a programmer, I can see why reloading queues with callers in
the queues might be a problem.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:38 PM, Mark Hamilton <mark.h at cage151.com> wrote:
Quote:
That's true. But that's exactly why it's not used and conf is much
easier.
Quote:
Quote:

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Quote:
Quote:
Sent: May 22, 2008 3:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

You can create queues via AMI although it won't survive a restart.

Thanks,
Steve Totaro

On Thu, May 22, 2008 at 3:25 PM, Mark Hamilton <mark.h at cage151.com>
wrote:
Quote:
Quote:
Quote:
Thanks Steve.
Using 1.4.18, and I don't think it's fixed.
The unresponsiveness is permanent - although I do try to not reload
during
Quote:
Quote:
work hours, sometimes it's just necessary.. especially when someone asks
for
Quote:
a new queue.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Quote:
Quote:
Sent: May 22, 2008 3:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and
causing
Quote:
havoc.

On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Mark Hamilton wrote:
Quote:

Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.


------------------------------------------------------------------------
Quote:
Quote:
Quote:
Quote:

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and
so
Quote:
Quote:
Quote:
Quote:
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps,
but
Quote:
Quote:
Quote:
Quote:
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan


You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mark.h at cage151.com
Guest





PostPosted: Thu May 22, 2008 3:28 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Same here.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sherwood
McGowan
Sent: May 22, 2008 4:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

Steve Totaro wrote:
Quote:
On Thu, May 22, 2008 at 3:56 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Steve Totaro wrote:

Quote:
On Thu, May 22, 2008 at 2:02 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:


Quote:
Mark Hamilton wrote:


Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop now,
except it kept showing that on root prompt after doing a service
asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use, and
it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.


------------------------------------------------------------------------
Quote:
Quote:
Quote:
Quote:
Quote:

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

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


I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and
so
Quote:
Quote:
Quote:
Quote:
did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps,
but
Quote:
Quote:
Quote:
Quote:
there have been a couple occasions where NOTHING would allow the server
to restart save for a reboot. Even killall asterisk didn't kill the
process....

Sherwood McGowan



You are using Asterisk 1.2.x? I have seen this many, many times.

Sometimes the CLI becomes unresponsive, sometimes queues crap out or
stops delivering calls to agents, sometimes it just takes a bit and
then becomes responsive again.

The rule of thumb is don't reload queues when there are people in
queue, at least that seems to eliminate the problems I have seen.
Makes sense too.

Not sure if it is fixed in 1.4.

Thanks,
Steve Totaro

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

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


Oh and also, in my implementation there are no queues. It seems to be
not related, I've had it in EVERY version of Asterisk I've used.



I have observed it on repeated general reloads on all versions.
That's why I don't reload very much, only planned.

Thanks,
Steve Totaro

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

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

My problem exists even when issuing a restart now or stop now command at
the CLI.

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
bweschke at gmail.com
Guest





PostPosted: Thu May 22, 2008 3:44 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

BJ Weschke wrote:
Quote:
Sherwood McGowan wrote:
Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn?t seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn?t
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt ?Died
successfully? and all that it usually says when you issue a stop
now, except it kept showing that on root prompt after doing a
service asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use,
and it still didn?t work, and ALL of the above happened again.

--

How do I diagnose what?s causing this?

Thanks,

Mark.

------------------------------------------------------------------------


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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and
so did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps,
but there have been a couple occasions where NOTHING would allow the
server to restart save for a reboot. Even killall asterisk didn't
kill the process....

Sherwood McGowan


Sounds like you're waiting on a mutex locked somewhere within the
queue infrastructure. You'll want to take a look at DEBUG_THREAD and
follow on research behind that.

http://lists.digium.com/pipermail/asterisk-dev/2003-November/002384.html

Sorry about that. Gave you some 'dated' info there in that link. Try
this instead maybe for 1.4...
Tips for Asterisk 1.4

Two things you need to make sure you enable when you compile asterisk:

DEBUG_THREADS
DONT_OPTIMIZE

These can be toggled under the "Compiler Flags" options when you do a
"make menuselect". Make sure that you have them turned on (I.E. an
Asterisk next to them).

Then, follow the guidelines for obtaining a backtrace with GDB. These
can be found in the file "asterisk/doc/backtrace.txt".

I would suggest that you issue the following, to make your life easy;

script backtrace.txt <- This will start a typescript session, which
captures the Input / Output from the session into a file called
"backtrace.txt"

Once you get into gdb, then issue: "set pagination off" to turn of paging.

Then, get your backtrace, exit out of GDB and come find someone on
#asterisk-dev on irc.freenode.org to take a look at your backtrace or
the asterisk-dev mailing list.


Backtracing a core dump file in /tmp

1. start Asterisk with safe_asterisk
2. enter "gdb asterisk core.xxxx"
3. enter "bt" while in gdb (or do a "bt full")
4. enter "thread apply all bt"

Naturally you'll need to have gdb installed on your system





--
--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
Back to top
mark.h at cage151.com
Guest





PostPosted: Thu May 22, 2008 4:15 pm    Post subject: [asterisk-users] reload stopping EVERYTHING on CLI and causi Reply with quote

Ok, I will try this out tonight.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of BJ Weschke
Sent: May 22, 2008 4:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reload stopping EVERYTHING on CLI and causing
havoc.

BJ Weschke wrote:
Quote:
Sherwood McGowan wrote:
Quote:
Mark Hamilton wrote:

Quote:
Hi,

Yesterday I made a change in queues.conf and so tried doing a reload
app_queue.so in the CLI. (Using 1.4.1Cool. It didn't seem to do
anything, infact all action on CLI stopped.

Then, I did a reload. Same thing.

After that there was no other way.. because even stop now wouldn't
work, so I did a service asterisk restart

And then asterisk kept giving the same thing on prompt "Died
successfully" and all that it usually says when you issue a stop
now, except it kept showing that on root prompt after doing a
service asterisk restart.

Did a killall asterisk, and finally it stopped.

Then started asterisk service. It was fine.

Did a full restart at night, and it was fine.

NOW, I wanted to do a reload again today mid-day when in full use,
and it still didn't work, and ALL of the above happened again.

--

How do I diagnose what's causing this?

Thanks,

Mark.

------------------------------------------------------------------------

Quote:
Quote:
Quote:


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

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

I've had this problem before, haven't debugged it. I definitely look
forward to hearing what is said about this.

Example from my recent experience, I wanted to restart the server and
so did

pbx0*CLI> restart now

But nothing happened...system continued to allow calls to take place.
I've found that sometimes exiting and reconnecting to the CLI helps,
but there have been a couple occasions where NOTHING would allow the
server to restart save for a reboot. Even killall asterisk didn't
kill the process....

Sherwood McGowan


Sounds like you're waiting on a mutex locked somewhere within the
queue infrastructure. You'll want to take a look at DEBUG_THREAD and
follow on research behind that.

http://lists.digium.com/pipermail/asterisk-dev/2003-November/002384.html

Sorry about that. Gave you some 'dated' info there in that link. Try
this instead maybe for 1.4...
Tips for Asterisk 1.4

Two things you need to make sure you enable when you compile asterisk:

DEBUG_THREADS
DONT_OPTIMIZE

These can be toggled under the "Compiler Flags" options when you do a
"make menuselect". Make sure that you have them turned on (I.E. an
Asterisk next to them).

Then, follow the guidelines for obtaining a backtrace with GDB. These
can be found in the file "asterisk/doc/backtrace.txt".

I would suggest that you issue the following, to make your life easy;

script backtrace.txt <- This will start a typescript session, which
captures the Input / Output from the session into a file called
"backtrace.txt"

Once you get into gdb, then issue: "set pagination off" to turn of paging.

Then, get your backtrace, exit out of GDB and come find someone on
#asterisk-dev on irc.freenode.org to take a look at your backtrace or
the asterisk-dev mailing list.


Backtracing a core dump file in /tmp

1. start Asterisk with safe_asterisk
2. enter "gdb asterisk core.xxxx"
3. enter "bt" while in gdb (or do a "bt full")
4. enter "thread apply all bt"

Naturally you'll need to have gdb installed on your system





--
--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/




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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services