Server: Dual Processor Dual Core E5520 Xeon, 8GB RAM
Webserver: IIS 6
Cacti: 0.8.7g
Spine: 0.8.7g
MySQL: 5.1.57 (32 Bit)
PHP: 5.3.3
RRDTool: 1.2.15-cygwin-1.5.20
Net-SNMP: 5.5.0.2
Plugin Architecture: 2.9
1 Minute Polling, 1 Minute Scheduled Task
I about have everything with the install working, but I have an occasional gap in my graphs. I used to have many more gaps but to reduce the gaps I've changed several things. I went from 5 minute task to 1 minute task. This reduced the gaps to less than 5 minutes. I also removed boost & changed from spine to cmd.php and 1 process, 1 thread. And I increased memory_limit in php.ini from 128M to 1G. Since I've only had one 3 minute gap since the last 24 hours. Here's my cacti logs and event in windows. I assume this is mysql/memory related but not sure what to try to fix it, maybe you guys can help.
The gap was for 3 minutes from 1:15am to 1:17am. It recovered at 1:18am. I have logs from 1:15am then it skips to 1:18am. See below:
1:15am
Code: Select all
07/07/2011 01:15:09 AM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Thu, 07 Jul 11 01:15:09 -0400: 1 maps were run in 2 seconds with 0 warnings.
07/07/2011 01:15:09 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: Wrote map to D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.png and D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.thumb.png
07/07/2011 01:15:08 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
07/07/2011 01:15:07 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: Map: D:\Inetpub\cacti.accessatc.net\plugins\weathermap\configs\ATC Ring.conf -> D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.html & D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.png
07/07/2011 01:15:07 AM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information
07/07/2011 01:15:07 AM - SYSTEM THOLD STATS: Time:0.3358 Tholds:65 Hosts:0
07/07/2011 01:15:07 AM - SYSTEM STATS: Time:6.1588 Method:cmd.php Processes:1 Threads:N/A Hosts:22 HostsPerProcess:22 DataSources:602 RRDsProcessed:311
Here's 1:18am
Code: Select all
07/07/2011 01:18:09 AM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Thu, 07 Jul 11 01:18:09 -0400: 1 maps were run in 1 seconds with 0 warnings.
07/07/2011 01:18:09 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: Wrote map to D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.png and D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.thumb.png
07/07/2011 01:18:09 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
07/07/2011 01:18:08 AM - WEATHERMAP: Poller[0] [Map 7] ATC Ring.conf: Map: D:\Inetpub\cacti.accessatc.net\plugins\weathermap\configs\ATC Ring.conf -> D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.html & D:\Inetpub\cacti.accessatc.net\plugins\weathermap\output\bdcb4a3925ba195ecce6.png
07/07/2011 01:18:08 AM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information
07/07/2011 01:18:08 AM - SYSTEM THOLD STATS: Time:0.3302 Tholds:65 Hosts:0
07/07/2011 01:18:07 AM - SYSTEM STATS: Time:7.0571 Method:cmd.php Processes:1 Threads:N/A Hosts:22 HostsPerProcess:22 DataSources:602 RRDsProcessed:311
[b]07/07/2011 01:18:00 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 602, Data Sources: 5min_cpu(DS[8]), traffic_in(DS[9]), traffic_out(DS[9]), traffic_in(DS[10]), traffic_out(DS[10]), traffic_in(DS[11]), traffic_out(DS[11]), traffic_in(DS[12]), traffic_out(DS[12]), traffic_in(DS[13]), traffic_out(DS[13]), traffic_in(DS[14]), traffic_out(DS[14]), traffic_in(DS[15]), traffic_out(DS[15]), traffic_in(DS[16]), traffic_out(DS[16]), traffic_in(DS[17]), traffic_out(DS[17]), traffic_in(DS[18]), traffic_out(DS[18]), Additional Issues Remain. Only showing first 20[/b]
07/07/2011 01:18:00 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '300' second Scheduled Task, but 120 seconds have passed since the last poll!
I'm not sure if this has anything to do with the gap as I see several of the messages throughout the windows event viewer, it shows these in at 1:17am
Code: Select all
1:17:12am
Source: userenv
Windows cannot unload your classes registry file - it is still in use by other applications or services. The file will be unloaded when it is no longer in use.
1:17:12am
Source: userenv
Windows saved user ATCRAD2\Cacti registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.
This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.
1:17:23am
Source: userenv
Windows unloaded user S-1-5-21-1783885167-3162585954-3309554527-1015_Classes registry when it received a notification that no other applications or services were using the profile.
1:17:34
Source: MSSQL$RADB
A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 28851 seconds. Working set (KB): 16080, committed (KB): 91816, memory utilization: 17%%.