Upgraded to 0.8.6f, now RRDtool hangs when displaying graphs
Moderators: Developers, Moderators
Upgraded to 0.8.6f, now RRDtool hangs when displaying graphs
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.
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
chkaotic
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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..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
^
chkaotic
chkaotic
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].chkaotic wrote: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..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
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
chkaotic
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) 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?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1) Using cmd.php.. nowhere near 300 seconds yetBSOD2600 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?
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
chkaotic
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?
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?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 6
- Joined: Wed Mar 22, 2006 12:18 pm
Anybody has resolved this problem yet?
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
Win2003 server
cacti 0.8.6h
snmp: Windows version
rrdtool 1.2: downloaded pre-pateched from cacti.net site.
poller: cmd.php
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.
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.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 3 guests