Has anyone brought up cacti on a multi-processor box? I have a DL580 and I can run cacti and as long as I run the cmd poller, it works without any problems. As soon as I run cactid, it starts dropping graphs and I get "cannot connect to mysql" error messages back.
IIS6
PHP 3.39
cacti 0.8.6b
cactid
rrdtool 1.048
MultiProcessor Box
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Willie,
I posted another version of sql.c today to resolve the issue (I hope). This may be an issue with multiple clients using the same destination port for communications to MySQL. There are some MySQL notes relative to multiple clients using the same destination port/same connection, but I am not too sure if that is the real problem bacause i expect that the client is using x separate connections to communicate with the server 1 for each process x number of concurrent threads.
So, for example, if you have 4 concurrent processes with 15 threads each, you should take up a maximum of 60 concurrent connections to MySQL (plus Poller.php and Script Server connections). This may be overloading the server.
This would be especially true if you had multiple pollers working at the same time. We will definately have to add usage notes when the system realy starts accelerating into the twilight spere with multiple pollers.
I am also considering taking the RRD Update process offline since it appears that the poller only takes a little time to complete and that the RRDUpdate process takes more than 50% of each polling cycle. That way if there is a problem with disk, you don't loose any data.
The proposed solution would be to run an RRDUpdate process 7X24 with it's entire existance being for updating the RRD files.
TheWitness
I posted another version of sql.c today to resolve the issue (I hope). This may be an issue with multiple clients using the same destination port for communications to MySQL. There are some MySQL notes relative to multiple clients using the same destination port/same connection, but I am not too sure if that is the real problem bacause i expect that the client is using x separate connections to communicate with the server 1 for each process x number of concurrent threads.
So, for example, if you have 4 concurrent processes with 15 threads each, you should take up a maximum of 60 concurrent connections to MySQL (plus Poller.php and Script Server connections). This may be overloading the server.
This would be especially true if you had multiple pollers working at the same time. We will definately have to add usage notes when the system realy starts accelerating into the twilight spere with multiple pollers.
I am also considering taking the RRD Update process offline since it appears that the poller only takes a little time to complete and that the RRDUpdate process takes more than 50% of each polling cycle. That way if there is a problem with disk, you don't loose any data.
The proposed solution would be to run an RRDUpdate process 7X24 with it's entire existance being for updating the RRD files.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Willie,
I have to convince Ian first. The first change that I will be proposing is a configurable rrd procceses in poller.php. Once I get the multiple poller UI down, I will go after this one. When I say multiple poller UI, I don't mean operational, just the UI for adding and removing pollers. The change to support multiple RRD processes should be strait forward.
Larry
I have to convince Ian first. The first change that I will be proposing is a configurable rrd procceses in poller.php. Once I get the multiple poller UI down, I will go after this one. When I say multiple poller UI, I don't mean operational, just the UI for adding and removing pollers. The change to support multiple RRD processes should be strait forward.
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests