hi there,
Ive recently installed cacti 0.8.7g with spine 0.8.7g and using spine poller.
no rrds are being process.
the crontab is:
*/5 * * * * /usr/local/websites/php/bin/php /usr/local/cacti/poller.php > /dev/null 2>&1
Ive changed the polling interval to 1 minute with no positive results.
when i do ./spine -V 5 this is what i get:
SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine parent)
my log looks like this:
10/12/2010 02:47:00 PM - SYSTEM STATS: Time:58.8987 Method:spine Processes:2 Threads:10 Hosts:163 HostsPerProcess:82 DataSources:3272 RRDsProcessed:0
10/12/2010 02:47:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
10/12/2010 02:46:00 PM - SYSTEM STATS: Time:57.9902 Method:spine Processes:2 Threads:10 Hosts:163 HostsPerProcess:82 DataSources:3272 RRDsProcessed:0
10/12/2010 02:46:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
10/12/2010 02:45:00 PM - SYSTEM STATS: Time:58.9498 Method:spine Processes:2 Threads:10 Hosts:163 HostsPerProcess:82 DataSources:3272 RRDsProcessed:0
10/12/2010 02:45:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
10/12/2010 02:44:00 PM - SYSTEM STATS: Time:58.9199 Method:spine Processes:2 Threads:10 Hosts:163 HostsPerProcess:82 DataSources:3272 RRDsProcessed:0
10/12/2010 02:44:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
10/12/2010 02:43:00 PM - SYSTEM STATS: Time:58.9400 Method:spine Processes:2 Threads:10 Hosts:163 HostsPerProcess:82 DataSources:3272 RRDsProcessed:0
10/12/2010 02:43:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
thanks and let me know if you can suggest anything
this is the debug output:
Starting program: /usr/local/spine/bin/spine -V 5
[Thread debugging using libthread_db enabled]
SPINE: Using spine config file [../etc/spine.conf]
[New Thread 0x40800940 (LWP 11340)]
[Thread 0x40800940 (LWP 11340) exited]
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/local/cacti/script_server.php
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /usr/local/cacti/log/cacti.log
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 2 (BOTH)
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/local/websites/php/bin/php
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 5
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 10
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The threads variable is 4
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The polling interval is 60 seconds
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 2
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The script timeout is 30
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 2
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
10/12/2010 06:17:02 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
Program received signal SIGSEGV, Segmentation fault.
0x000000306dc7273e in free () from /lib64/libc.so.6
Spine not processing RRDs
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Spine not processing RRDs
Please apply the spine 0.8.7g patches from the main site. Make sure that if you are running a version of Cacti prior to 0.8.7g that you have the Pre_G variable set. Also, make sure your 'max_connections' setting in my.cnf is high enough. The calculation method is:
max_connections >= processes * (script_servers + threads)
TheWitness
max_connections >= processes * (script_servers + threads)
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?
Re: Spine not processing RRDs
hey there thanks for the reply. I did install the patches and the max connections is set high enough, there are no change though.
ive tried reinstalling the spine to no avail. This is the debug output:
tarting program: /usr/local/spine/bin/spine -V 5
[Thread debugging using libthread_db enabled]
SPINE: Using spine config file [../etc/spine.conf]
[New Thread 0x40800940 (LWP 12221)]
[Thread 0x40800940 (LWP 12221) exited]
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/local/cacti/script_server.php
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /usr/local/cacti/log/cacti.log
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 2 (BOTH)
ERROR: Spine Log File Could Not Be Opened/Created
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/local/websites/php/bin/php
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_retries variable is 5
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 10
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The threads variable is 4
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The polling interval is 60 seconds
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 4
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The script timeout is 30
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
ive tried reinstalling the spine to no avail. This is the debug output:
tarting program: /usr/local/spine/bin/spine -V 5
[Thread debugging using libthread_db enabled]
SPINE: Using spine config file [../etc/spine.conf]
[New Thread 0x40800940 (LWP 12221)]
[Thread 0x40800940 (LWP 12221) exited]
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/local/cacti/script_server.php
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /usr/local/cacti/log/cacti.log
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 2 (BOTH)
ERROR: Spine Log File Could Not Be Opened/Created
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/local/websites/php/bin/php
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_retries variable is 5
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 10
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The threads variable is 4
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The polling interval is 60 seconds
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 4
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The script timeout is 30
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 2
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
10/13/2010 11:21:47 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 30
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Spine not processing RRDs
Permissions.ERROR: Spine Log File Could Not Be Opened/Created
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?
Re: Spine not processing RRDs
its working now. My problem was the mysql-devel did not match my mysql version. thnx!
Who is online
Users browsing this forum: No registered users and 0 guests