[asterisk-users] Mysql identifier not found
Jonas Kellens
jonas.kellens at telenet.be
Sat May 5 05:06:38 CDT 2012
I ask this because I find the MySQL status information a bit alarming
(2946 connections) :
mysql> status
--------------
mysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using
readline 5.1
Connection id: 2922
Current database:
Current user: root at localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.0.95 Source distribution
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
UNIX socket: /var/lib/mysql/mysql.sock
Uptime: 6 hours 54 min 31 sec
Threads: 3 Questions: 4919496 Slow queries: 0 Opens: 47 Flush
tables: 1 Open tables: 41 Queries per second avg: 197.800
--------------
mysql> show status like 'Conn%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Connections | 2946 |
+---------------+-------+
1 row in set (0.00 sec)
Jonas.
On 05/05/2012 11:53 AM, Jonas Kellens wrote:
> Hello,
>
> notice in the console output beneath that there is a resultid 6 but it
> can not be cleared :
>
>
> [May 5 11:46:27] -- Executing [s at sub:3]
> MYSQL("SIP/vart-00000336", "Connect connid localhost dialplan host
> Asterisk") in new stack
> [May 5 11:46:27] -- Executing [s at sub:4]
> MYSQL("SIP/vart-00000336", "Query resultid 4 DELETE FROM pickuptbl
> WHERE pickmark LIKE "%SIP/vart2-00000336%"") in new stack
> [May 5 11:46:27] -- Executing [s at sub:5]
> MYSQL("SIP/vart-00000336", "Clear 6") in new stack
> [May 5 11:46:27] WARNING[17803]: app_mysql.c:194 find_identifier:
> Identifier 6, identifier_type 2 not found in identifier list
> [May 5 11:46:27] WARNING[17803]: app_mysql.c:510 aMYSQL_clear:
> Invalid result identifier 6 passed in aMYSQL_clear
> [May 5 11:46:27] -- Executing [s at sub:6]
> MYSQL("SIP/vart-00000336", "Disconnect 4") in new stack
> [May 5 11:46:27] -- Executing [s at sub:7]
> Return("SIP/vart-00000336", "") in new stack
>
>
> How come ??
>
>
> Kind regards,
> Jonas.
>
>
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120505/187653b2/attachment.htm>
More information about the asterisk-users
mailing list