Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is it my weird config ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
thp at westhawk.co.uk
Guest





PostPosted: Tue Jun 24, 2008 6:44 am    Post subject: [asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is Reply with quote

Is anyone using 1.4.21 with cdr_odbc and IAX channels successfully?

I'm getting lockups where asterisk stops responding (to anything).

Foolishly I've built a box with 2 new things on it, 1.4.21 and Oracle
as
the odbc server.

If others are running it fine against MySql or postgres , I'll focus
on the oracle side.
I was just wondering if it was a side effect of the new IAX threading
in 1.4.21.

Tim.
Back to top
michiel at vanbaak.info
Guest





PostPosted: Tue Jun 24, 2008 7:09 am    Post subject: [asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is Reply with quote

On 12:44, Tue 24 Jun 08, Tim Panton wrote:
Quote:
Is anyone using 1.4.21 with cdr_odbc and IAX channels successfully?

I'm getting lockups where asterisk stops responding (to anything).

Foolishly I've built a box with 2 new things on it, 1.4.21 and Oracle
as
the odbc server.

If others are running it fine against MySql or postgres , I'll focus
on the oracle side.
I was just wondering if it was a side effect of the new IAX threading
in 1.4.21.

Looks like this one:
Issue 12925 [Channels/chan_iax2] IAX2
channel gets stuck, causes CLI to get stuck, * won't restart
http://bugs.digium.com/view.php?id=12925

--

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"
Back to top
thp at westhawk.co.uk
Guest





PostPosted: Tue Jun 24, 2008 7:20 am    Post subject: [asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is Reply with quote

On 24 Jun 2008, at 13:09, Michiel van Baak wrote:

Quote:
On 12:44, Tue 24 Jun 08, Tim Panton wrote:
Quote:
Is anyone using 1.4.21 with cdr_odbc and IAX channels successfully?

I'm getting lockups where asterisk stops responding (to anything).

Foolishly I've built a box with 2 new things on it, 1.4.21 and
Oracle
as
the odbc server.

If others are running it fine against MySql or postgres , I'll focus
on the oracle side.
I was just wondering if it was a side effect of the new IAX threading
in 1.4.21.

Looks like this one:
Issue 12925 [Channels/chan_iax2] IAX2
channel gets stuck, causes CLI to get stuck, * won't restart
http://bugs.digium.com/view.php?id=12925

--

Thanks! There was I blaming oracle.

I'll downgrade.

Tim.
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Jun 24, 2008 7:27 am    Post subject: [asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is Reply with quote

On Tuesday 24 June 2008 06:44:21 Tim Panton wrote:
Quote:
Is anyone using 1.4.21 with cdr_odbc and IAX channels successfully?

I'm getting lockups where asterisk stops responding (to anything).

Foolishly I've built a box with 2 new things on it, 1.4.21 and Oracle
as
the odbc server.

If others are running it fine against MySql or postgres , I'll focus
on the oracle side.
I was just wondering if it was a side effect of the new IAX threading
in 1.4.21.

I'm not aware of anything that would cause conflicts between the threading
in IAX and the locking in cdr_odbc. However, if you're getting a lockup, try
recompiling with DONT_OPTIMIZE and DEBUG_THREADS, then get the output
of 'core show locks' when the problem occurs and open an issue on
http://bugs.digium.com with that output uploaded as a file.

--
Tilghman
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Jun 24, 2008 8:49 am    Post subject: [asterisk-users] Lockups with IAX2 and cdr_odbc in 1.4.21 is Reply with quote

On Tuesday 24 June 2008 07:46:33 Tim Panton wrote:
Quote:
On 24 Jun 2008, at 13:27, Tilghman Lesher wrote:
Quote:
On Tuesday 24 June 2008 06:44:21 Tim Panton wrote:
Quote:
Is anyone using 1.4.21 with cdr_odbc and IAX channels successfully?

I'm getting lockups where asterisk stops responding (to anything).

Foolishly I've built a box with 2 new things on it, 1.4.21 and
Oracle
as
the odbc server.

If others are running it fine against MySql or postgres , I'll focus
on the oracle side.
I was just wondering if it was a side effect of the new IAX threading
in 1.4.21.

I'm not aware of anything that would cause conflicts between the
threading
in IAX and the locking in cdr_odbc. However, if you're getting a
lockup, try
recompiling with DONT_OPTIMIZE and DEBUG_THREADS, then get the output
of 'core show locks' when the problem occurs and open an issue on
http://bugs.digium.com with that output uploaded as a file.

A bit more experimentation and I've learnt the following:
1) it isn't present in 1.4.4
2) it still happens in 1.4.21 if I disable cdr_odbc - but less often.
3) it freezes the CLI - so I don't think 'core show locks' will work.

There are very few things that can actually freeze the CLI. I suspect what is
more likely is that the last command executed on the CLI depends upon a lock
that it cannot get, and since the CLI runs commands synchronously, it would
appear that everything is locked up.

You should still be able to get a 'core show locks' by doing:
asterisk -rx 'core show locks'
as that will ensure that no other commands are run before this on that
particular remote console.

--
Tilghman
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
Page 1 of 1

 
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