Upgraded to 0.8.6f, now RRDtool hangs when displaying graphs

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

Moderators: Developers, Moderators

Post Reply
User avatar
chkaotic
Posts: 11
Joined: Wed Oct 06, 2004 3:17 pm
Location: Wichita, KS

Upgraded to 0.8.6f, now RRDtool hangs when displaying graphs

Post by chkaotic »

Okay, I upgraded our cacti server to 0.8.6f, and how I am having issues displaying graphs. Here is what happens:

If I go to graph management and open a graph, it will sit there like its waiting (or in the process of) loading the graph image file, and it will do this forever. If I hit "stop" or hit [ESC], the graph shows up.

If I try debug, then the entire page hangs like it can't talk to RRDtool.. again, if I hit [ESC] or stop the page, sometimes it comes up with a blank RRDtool debug info ("RRDtool says:") and sometimes it just stops completely and doesnt load the page.

Here is what I have found:


Every time I tried to view a graph, a new instance of CMD.EXE was started, and this process never stopped. I cannot stop the process myself, either. I even tried altering the path variable for rrdtool to do a "START /WAIT" but to no avail.

There are no errors in the logfile, and as I said, the graphs *do* come up when you hit esc.. but this doesnt work very well when you're actually in the 'graphs' tab and it auto-reloads..


Anyone have any idea why rrdtool is creating cmd.exe instances that will not shut down?


Win2000 server
cacti 0.8.6f
net-snmp 5
rrdtool 1.2



Edit: I just tried reverting back to RRDtool 1.0, and aside from the error telling me it cant use the newer .rrd files, it does the exact same thing.. creates a cmd.exe instance that i cannot close from task manager, and hangs.
^
chkaotic
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Try a different font file. Other than that, I don't have a clue. I must install IIS one of these days. Use Apache you know.

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?
User avatar
chkaotic
Posts: 11
Joined: Wed Oct 06, 2004 3:17 pm
Location: Wichita, KS

Post by chkaotic »

TheWitness wrote:Try a different font file. Other than that, I don't have a clue. I must install IIS one of these days. Use Apache you know.

TheWitness
Thanks, in my adventures to re-upgrade back to rrd 1.2, I realized if I copied the .ttf file from the fonts folder to the rrd folder and pointed to it instead of the one in the winnt/fonts folder.. it works fine..
^
chkaotic
User avatar
chkaotic
Posts: 11
Joined: Wed Oct 06, 2004 3:17 pm
Location: Wichita, KS

Post by chkaotic »

chkaotic wrote:
TheWitness wrote:Try a different font file. Other than that, I don't have a clue. I must install IIS one of these days. Use Apache you know.

TheWitness
Thanks, in my adventures to re-upgrade back to rrd 1.2, I realized if I copied the .ttf file from the fonts folder to the rrd folder and pointed to it instead of the one in the winnt/fonts folder.. it works fine..
Okay, so I came back from the weekend, and the same thing started happening again. I have tried putting font files in different locations of the hdd, also assigned the service account full permissions to the .ttf files, and still it keeps creating instances of CMD.EXE that wont close, and doesnt display the graph until I hit stop or [esc].

Any other ideas as to what it might be?


Edit: Another thing I found.. although I can't go in and kill all the CMD.EXE instances, I killed the instance of dllhost and the problem stopped, all the cmd.exe instances closed themselves out.
^
chkaotic
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I had this problem a while ago. Sadly it came and went by its own. Now I run a script which kills extra processes once an hour, so it never happens again.

1) Are you using cmd.php or cactid.exe for polling?
2) Did you change any security settings in IIS for your cacti website?
3) Turn on debugging in cacti and see what it's trying to poll and hanging on.
4) You're using rrdtool cygwin build from the the cacti.net website and not the Win32 build, right?
User avatar
chkaotic
Posts: 11
Joined: Wed Oct 06, 2004 3:17 pm
Location: Wichita, KS

Post by chkaotic »

BSOD2600 wrote:I had this problem a while ago. Sadly it came and went by its own. Now I run a script which kills extra processes once an hour, so it never happens again.

1) Are you using cmd.php or cactid.exe for polling?
2) Did you change any security settings in IIS for your cacti website?
3) Turn on debugging in cacti and see what it's trying to poll and hanging on.
4) You're using rrdtool cygwin build from the the cacti.net website and not the Win32 build, right?
1) Using cmd.php.. nowhere near 300 seconds yet
2) No changes have been made other than upgrading cacti and rrdtool
3) Its not hanging on polling, just on displaying graphs.. but I will see if I can find anything in the logs for that
4) yes, cygwin build.. tried the other before I saw the post..
^
chkaotic
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, only when displaying graphs. I had this problem with an older version of rrdtool 1.2.x (I *think* it was 1.2.10). Since it happens with both rrdtool 1.0 and 1.2, it would leave me to believe it's some sort of security problem on your server.

1) The website using the Network service account when running?
2) CMD.exe give the webuser and/or the cacti user read/execute rights?
3) You follow any other security guidelines, when configuring your server in general?
that_kid
Posts: 29
Joined: Fri Mar 18, 2005 10:29 pm

Post by that_kid »

I'm having the same problems. Polling is fine, i'm using catid but when I go to look at a graph rrd hangs. Usually I can restart the server and all is well for a while.
yubo6@yahoo.com
Posts: 6
Joined: Wed Mar 22, 2006 12:18 pm

Anybody has resolved this problem yet?

Post by yubo6@yahoo.com »

I got everything worked for a while. One time I clicked turn on debug mode on Edit graph page (under Graph Management) then I got the problem. The graph will not display. It will display if I click stop button on the browser. I have done uninstall/install several times now and the problem is still with me. Please help.

Win2003 server
cacti 0.8.6h
snmp: Windows version
rrdtool 1.2: downloaded pre-pateched from cacti.net site.
poller: cmd.php
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Start your own thread!

You likely have a permission issue with rrdtool.exe or cmd.exe. Re-read my install guide. Use FileMon (as the readme sticky says) to track down any access denied errors.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests