I run with php option mysql.trace_mode=On and get the following warnings:
Warning: mysql_query() [http://www.mysql.com/doc]: Your query requires a full tablescan (table rights, 3 rows affected). Use EXPLAIN to optimize your query. in /www/zabbix/include/db.inc.php on line 63
Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0
This one I usually get when I bail out of a function and forget the close and disconnect. On a production server it eventually results in a significant memory hit.
This appear immediately after login and on most (all?) following pages.
Warning: mysql_query() [http://www.mysql.com/doc]: Your query requires a full tablescan (table rights, 3 rows affected). Use EXPLAIN to optimize your query. in /www/zabbix/include/db.inc.php on line 63
Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0
This one I usually get when I bail out of a function and forget the close and disconnect. On a production server it eventually results in a significant memory hit.
This appear immediately after login and on most (all?) following pages.
Comment