Before I begin I would just like to say a huge thanks for all your work on the boost plugin and Cacti in general. It is a pretty awesome product and you guys do a awesome job dealing with all the user issues that arise.
Now on to the nitty gritty.
I seem to be having an issue with the boost server, where it occasionally loses connection to the MySQL DB. This in turn means I have issue viewing graphs as all my Cacti functions are split between separate servers.
The MySQL error type I get in the logs is type '2006'. I have had a look around and it was suggested on some forums that the max_allowed_packet was not large enough on the mysql server. I have since increased the size of this to 64M. I did not think that would be the issue, as it is such a small select. This did not solve the issue and I now think that for some reason invalid information is being passed to MySQL and the connection is then being dropped.
I have had a look through the Cacti code, and I can see that should a result not contain any data, the code does a db_close and then attempts a db_connect_real. I think this is where the issue comes in and the connection is not properly torn down. If I kill the boost_server at any time while I have this issue, once it restarts and creates a new connection it works as expected. I can see there is something wrong with the connection in my logs as I get a MySQL error type '0'.
I am then unable to connect from the Web interface to the boost_server for on demand updates. It looks like boost loses all of its settings and then blocks the web server IP as it is no longer authorized to communication with the boost server.
I was just wondering if you had any idea where I could look to get this issue sorted. Please give me a shout if you need any more info. I hope you can help and thanks again for all the hard work.
Cacti Setup:
Cacti Version: 0.8.7g
Plugin Architecture Version: 2.8
Boost Version: 4.2
PHP: 5.2.14
MySQL: 5.0.77
Centos 5.5
1 x rrdupdate server, boost server
1 x Web frontend using rrd files from update server over nfs mount.
1 x poller Server
1 x DB server
DB connections are only reaching a quarter of the max connections so I do not think it is a connection limit issue with MySQL.
Code: Select all
grep -r ERROR /var/www/cacti/log/cacti.log
10/01/2010 07:56:02 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:02 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:03 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:04 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:05 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:07 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:56:09 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"
10/01/2010 07:59:54 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'0', SQL:"SHOW TABLES LIKE '%boost%'"