[solved] Client issue

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

Moderators: Developers, Moderators

Post Reply
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

[solved] Client issue

Post by mbails »

This may or may not be Cacti related however it only happens when working with Cacti.

When using the Cacti website with Internet Explorer, Firefox, or Chrome, the browser will hang and the client uses connectivity to the network.

This only happens with Cacti and no other website.

Any clues on why? It's driving me batty.

Matt
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What version of cacti, web server, php, etc?
What are you doing in cacti?
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

Post by mbails »

BSOD2600 wrote:What version of cacti, web server, php, etc?
What are you doing in cacti?
Cacti: 0.8.7b
Web Server: IIS 6
PHP: 5.2.5

It seems random in Cacti nothing specific. I can usually work in Cacti for 5 to 10 minutes before it happens.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Any errors in the event logs?
Any errors in IIS error logs?
Try turning on php error logging and see what it spits out.
Any other websites running on that server?
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

Post by mbails »

BSOD2600 wrote:Any errors in the event logs?
Any errors in IIS error logs?
Try turning on php error logging and see what it spits out.
Any other websites running on that server?
Nothing in the event logs. Nothing of in the IIS logs. No other websites running.



Working on getting the PHP error logging turned on.
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

Post by mbails »

[23-Mar-2009 11:02:30] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\Inetpub\wwwroot\cacti\lib\rrd.php on line 106

[23-Mar-2009 11:02:31] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\Inetpub\wwwroot\cacti\lib\rrd.php on line 106

[23-Mar-2009 11:05:03] PHP Fatal error: Maximum execution time of 299 seconds exceeded in C:\Inetpub\wwwroot\cacti\lib\rrd.php on line 58
[23-Mar-2009 11:05:11] PHP Fatal error: Maximum execution time of 293 seconds exceeded in C:\Inetpub\wwwroot\cacti\script_server.php on line 105
[23-Mar-2009 11:05:26] PHP Fatal error: Maximum execution time of 293 seconds exceeded in C:\Inetpub\wwwroot\cacti\script_server.php on line 105
[23-Mar-2009 11:11:48] PHP Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\cacti\plugins\thold\thold_functions.php on line 88
[23-Mar-2009 11:16:18] PHP Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\cacti\plugins\thold\thold_functions.php on line 88
[23-Mar-2009 11:21:09] PHP Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\cacti\plugins\thold\thold_functions.php on line 88
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I've seen something similar to this in my past Cacti on Windows days.

The errors you've included looks like either IIS or MySQL crashing out. I had this issue ages ago, and it turned out that it was a known bug in MySQL, which was resolved in the next release. Some versions (depending on extensions enabled) are also known to do this under Windows.

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
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Besides the possible issues mcutting mentioned, a few others.

1) rrd timing out could signify issues with the rrdtool version/build you're using. What is it? any problems with the disk I/O? ran a chkdsk lately?

2) script_server.php timeouts show that some of your script(s) are not functioning properly and timing out. You need to find out what they are (look in the poller cache) and diagnose.

3) Using the plugin arch can also throw in other unforeseen issues.

4) lastly, you should be using cacti 0.8.7d + patches.
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

Post by mbails »

Thanks mcutting and BSOD.

Let me run some of this stuff down and see if it helps.
mbails
Posts: 31
Joined: Thu Jan 24, 2008 12:52 pm
Location: Phoenix
Contact:

Post by mbails »

Cleaning up the scripts and running a chkdsk /f seems to have resolved the issue. I've been working in Cacti for over an hour without being kicked out.

Thanks for the help.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest