[solved] Lots of BOOST: Poller[0] PROGERR: ERRNO:'2'

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

[solved] Lots of BOOST: Poller[0] PROGERR: ERRNO:'2'

Post by ksj »

Getting these errors for every rrd written. Disk I/O is currently horrible. Boost version is 4.2. Permissions are fine as the rrd does get written. Any ideas?

08/28/2010 11:10:58 AM - BOOST: Poller[0] PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'pclose(): supplied argument is not a valid stream resource' IN FILE:'E:\inetpub\wwwroot\cacti\plugins\boost\setup.php' LINE NO:'1633'

08/28/2010 11:10:58 AM - BOOST: Poller[0] PROGERR: ERRNO:'8' TYPE:'Notice' MESSAGE:'Undefined variable: fp' IN FILE:'E:\inetpub\wwwroot\cacti\plugins\boost\setup.php' LINE NO:'1633'

Win2008r2 IIS 7.5, Cacti 0.8.7e, Win32 rrdtool 1.2.30, php 5.2.14, mysql 5.0.88, Spine 0.8.7e, cygwin 1.7.6, PIA 2.5

TIA
Last edited by ksj on Mon Aug 30, 2010 10:00 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Whats you system size and poller interval. Show some stats from your log.

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?
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

Post by ksj »

08/28/2010 01:57:49 PM - SYSTEM STATS: Time:167.0999 Method:spine Processes:1 Threads:24 Hosts:602 HostsPerProcess:602 DataSources:132355 RRDsProcessed:0
08/28/2010 01:56:47 PM - SYSTEM BOOST STATS: Time:5349.1000 RRDUpdates:2329951

Polling is every 5 minutes. Boost configured to run every 2 hours or 2M records. Boost gets 3G, PHP is set for 2G, and Direct population of poller_output_boost is enabled.

The system has 500Gb of storage using 10K rpm disks, 16G of RAM and 4 processor cores.

As I say, disk IO is super slow so I'm not surprised at the time it took to write the updates. There are no errors in the log and the only warnings are about recache events for a couple devices.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Code: Select all

du -hs rra
Please. The rrdupdates are too slow.
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?
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

Post by ksj »

Thanks

e:\inetpub\wwwroot\cacti> du -hs rra

167G rra
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You should get off windows. Although those rrd's are pretty big. The other solution is to go to a PCIe based SSD.

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?
ksj
Posts: 16
Joined: Fri Jun 25, 2010 2:07 am

Post by ksj »

Always check everything 3 times. In my case 4 or more is necessary I guess :oops:. This is more like what I was expecting:

08/30/2010 07:18:32 PM - SYSTEM BOOST STATS: Time:929.9500 RRDUpdates:4126888

This host is a HyperV VM btw. Newer versions of Windows aren't all that bad wrt performance IMO...
User avatar
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: [solved] Lots of BOOST: Poller[0] PROGERR: ERRNO:'2'

Post by GlueGuy »

I'm seeing this error too on a much smaller set of RRAs. Anything I can do about this? Not clear if it actually affects anything. I have this for total RRA space:
# du -hs rra
2.4G rra
My stats look like this:
12/30/2011 11:00:26 AM - SYSTEM BOOST STATS: Time:3.4800 RRDUpdates:4370
12/30/2011 11:00:22 AM - SYSTEM THOLD STATS: Time:0.0171 Tholds:5 Hosts:0
12/30/2011 11:00:22 AM - SYSTEM STATS: Time:21.0237 Method:spine Processes:1 Threads:12 Hosts:464 HostsPerProcess:464 DataSources:4729 RRDsProcessed:0
Here's my setup:
Cacti Version - 0.8.7g
Plugin Architecture - 2.9
Poller Type - Cactid v
Server Info - Linux 2.6.18-274.12.1.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.77
RRDTool - 1.4.4
SNMP - 5.3.2.2
Plugins
  • Large Site Performance Booster (boost - v4.2)
    Bloom - Cacti Migration Tool (Bloom - v0.6.5)
    Network Discovery (discovery - v1.1)
    docs
    Host Info (hostinfo - v0.2)
    Login Page Mod (loginmod - v1.0)
    Device Tracking (mactrack - v1.1)
    Device Monitoring (monitor - v1.2)
    Realtime Graph Viewer (realtime - v0.43)
    Cacti-ReportIt (reportit - v0.7.3)
    Router Configs (routerconfigs - v0.1)
    Global Plugin Settings (settings - v0.7)
    Network Tools (tools - v0.3)
    Update Checker (update - v0.4)
    WMI Query (wmi - v0.1)
---------
The Glue Guy
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests