CACTID Issues - Windows [RESOLVED]
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Try this version. Compile it in debug first.
TheWitness
TheWitness
- Attachments
-
- cactid086.zip
- (329.06 KiB) Downloaded 105 times
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Got this on the first run
06/22/2007 04:25:18 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Poller then goes on to "hang" until 292 seconds is reached (nothing in the logs though, or the stackdump file)
06/22/2007 04:25:18 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
Poller then goes on to "hang" until 292 seconds is reached (nothing in the logs though, or the stackdump file)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Larry,
I have had to go back to the "I" version of the poller I was running before - CACTID is crashing out more often than not !
I am going to clear the log, but PM'd you a copy if you'd like to review it ?
I have had to go back to the "I" version of the poller I was running before - CACTID is crashing out more often than not !
I am going to clear the log, but PM'd you a copy if you'd like to review it ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, this is my fault. I forget that MySQL is not thread safe. I will revise the code and get an update here quickly. Sorry about that...
TheWitness
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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Here is the revised sql.c file.
TheWitness
TheWitness
- Attachments
-
- sql.zip
- (2.75 KiB) Downloaded 108 times
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Larry,
Thought I'd post the results of the "J" poller so far. As it stands, there hasn't been any instance where I have had to manually kill processes, so this is working well. However, the poller has exceed the 292 seconds a couple of times (see graph).
Although I compiled CACTID in debug mode, I don't seem to have a core file - any ideas ? I can post a copy of the log if required.
Thought I'd post the results of the "J" poller so far. As it stands, there hasn't been any instance where I have had to manually kill processes, so this is working well. However, the poller has exceed the 292 seconds a couple of times (see graph).
Although I compiled CACTID in debug mode, I don't seem to have a core file - any ideas ? I can post a copy of the log if required.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mcutting etal,
I have FOUND the segfault issue in cactid. My stress testing has revealed 100% success in 10k poller runs.
I will publish the revised code for testing soon enough. My goal with the next release is to support at least 10k devices and over 100k data sources.
So, when I post, that will be a preview of that single server performance. This is without the new revised architecture (that I have still not started on) that will allow you to scale Cacti to over 100k devices.
TheWitness
I have FOUND the segfault issue in cactid. My stress testing has revealed 100% success in 10k poller runs.
I will publish the revised code for testing soon enough. My goal with the next release is to support at least 10k devices and over 100k data sources.
So, when I post, that will be a preview of that single server performance. This is without the new revised architecture (that I have still not started on) that will allow you to scale Cacti to over 100k devices.
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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mcutting,
Attached is Beta code. I still have to verify the following:
1) Concurrent script flag is working (controls concurrent scripts)
2) Spike detection is working
3) Reindex shortcutting is working
Other than that, there is a new requirement for "Thread Safe" mysql. It will not compile without it. You may have to re-configure/compile the mysql client libraries with the thread safe option. Run "./configure --help" for more information.
Regards,
Larry
Attached is Beta code. I still have to verify the following:
1) Concurrent script flag is working (controls concurrent scripts)
2) Spike detection is working
3) Reindex shortcutting is working
Other than that, there is a new requirement for "Thread Safe" mysql. It will not compile without it. You may have to re-configure/compile the mysql client libraries with the thread safe option. Run "./configure --help" for more information.
Regards,
Larry
- Attachments
-
- cactid086.zip
- (329.58 KiB) Downloaded 137 times
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Thanks Larry.
I am currently recompiling / configuring the MySQL libraries using
./configure --without-server --enable-thread-safe-client
Will let you know how I get on
I am currently recompiling / configuring the MySQL libraries using
./configure --without-server --enable-thread-safe-client
Will let you know how I get on
Last edited by mcutting on Mon Jul 02, 2007 6:48 am, edited 1 time in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Ok. MySQL reconfigured and recompiled. CACTID new source configured and compiled. Poller is now in place, and running. First pass = 24 seconds - a speed increase of 10 seconds on the predecessor !!!!
Looks good so far - I will keep an eye on things...
Looks good so far - I will keep an eye on things...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 0 guests