CACTID Issues - Windows [RESOLVED]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

mcutting wrote:
mcutting wrote:Cool - can I be one of the testers if you are going to put it back in ?

Thanks Larry.
Hi Larry - any possibility that an "i" version of the poller could be released that has sh.exe rolled in (as "g" does, which works fine) ?

Thanks
BUMP - Larry - any joy with this one ? Sorry - I know you are busy !

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

In San Jose this week and in the process of buying a house. I have to work on Cactid this week likely though. I'll keep you posed.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks Larry - much appreciated.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:In San Jose this week and in the process of buying a house. I have to work on Cactid this week likely though. I'll keep you posed.

Larry
Hi Larry,

Any news on the above please ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

MCutting,

I have decided to use the "cygwin" official popen as a default. The attached source and configure.ac script will implement it by default. You can still use nifty popen using the flag "--enable-nifty-popen". I want you to test without it of course.

Test this version and let me know what you find.

Larry
Attachments
cactid086-testing.zip
(327.75 KiB) Downloaded 112 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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Larry. Thanks for the files. I compiled these from home against the version of Cygwin I already have with no problems.

I have tested the poller, and it seems to be stable (so far). I noticed that sh.exe is still called in this version - the "G" version of the poller doesn't seem to do this - is there a reason why ?

I will continue to monitor the "I" version of the poller over the next few hours to see if it locks up or not...

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The reason that it continues to call sh.exe is that I have dropped nifty popen in favor of the standard "popen" in Cygwin which requires sh.exe. However, I am hoping there is some form of magic that will take place such that we don't see any more hung processes.

Could you also note if you are getting all the cmd.exe's as well? I have a theory, that you will need to confirm.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Larry - thanks for the quick response.

I can confirm that the cmd.exe processes are running (with around 4 cmd.exe processes when the poller runs). The process sh.exe has only hung twice since I switched to the new version this morning.

Overall, this is MUCH more stable than the one on the CACTI website (compiled with latest version of Cygwin 1.5-24).
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, hung at all is not acceptable...

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

When I say "hung", the poller does eventually timeout after 292 seconds (only done this twice in 9 hours, and still looking good). However, the sh.exe process doesn't close properly (I have to kill it) - but the cactid.exe processes seem to close fine.

To give you an idea, I have enclosed a screen shot of the poller stats. From 05:00 this morning, I switched to the "I" poller...

As you can see, I am averaging between 30 and 60 seconds. I'm a bit disappointed, as I was hoping to enjoy the low poller times that everyone else seems to get. Hopefully, from the graph, you can get an indication of how the poller is behaving. The peaks (292 seconds) is where I have to kill process "sh.exe".

The stats previous to 05:00 are from the "G" poller, which as you can see, is extremely stable.

Another thing that is quite annoying is that if I run the poller from the command line, it is on average 6 seconds faster than the scheduled task
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Larry,

The poller has run stable for 24 hours now. What was your theory you mentioned in the previous post ?

For the fun of it, I compiled a version of cactid with the nifty popen enabled - the strange thing is that sh.exe is still called...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

My theory is that when the poller times out for some reason, that when I signal things to end, that the timed out shell processes do now receive a term signal as they should.

I would like to get the Cacti logs from you system from around the two abends of the sh.exe process. If you could send them, that would be great.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Larry,

Unfortunately, I canned the logs around this time (they were quite large). However, the poller has exceeded 292 seconds twice since we spoke last, and I do have the logs for these (although they are MEDIUM, and not DEBUG). Would these help at all ?

I should also point out that process sh.exe has not hung since I switched to the new version you kindly provided. The version on the website for the "I" based poller hangs more often than not - this is what made me choose the "G" poller instead.

Overall, CACTID seems to be quite stable so far.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, please send them along with a copy of your stat's graph.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Larry - I just PM'd you these details.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests