[asterisk-bugs] [Asterisk 0011694]: Asterisk crashes when connecting the 10th simultaneous ODBC pooled connections
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Jan 7 15:30:53 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11694
======================================================================
Reported By: falves11
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 11694
Category: Resources/res_odbc
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 96645
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-06-2008 09:44 CST
Last Modified: 01-07-2008 15:30 CST
======================================================================
Summary: Asterisk crashes when connecting the 10th
simultaneous ODBC pooled connections
Description:
After so much work now I nailed the ODBC problem.
I traced how many open connection I have in my SQL server from Asterisk
every second, and inf act, I see 1,2,3,4,5,6,7,8,9,0, and Asterisk crashes.
The capture below is obtained by setting verbose level to 1, and it can be
seen clearly that at the 10th ODBC connection Asterisk is unable to
connect. Yet, the command odbc show gives this output, which proves that
theoretically there is a 1000 limit on the connections.
Name: global
DSN: mssql
Pooled: Yes
Limit: 1000
Connections in use: 1
- Connection 1: connected
======================================================================
----------------------------------------------------------------------
Corydon76 - 01-07-08 15:30
----------------------------------------------------------------------
How many channels are you running at once? You should only hit
MAX_AUTOMONS when you have 256 simultaneous channels, minimum.
Issue History
Date Modified Username Field Change
======================================================================
01-07-08 15:30 Corydon76 Note Added: 0076453
======================================================================
More information about the asterisk-bugs
mailing list