0.8.7 Spine Buffer Overflow

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

pheezy
Cacti User
Posts: 61
Joined: Thu Oct 26, 2006 5:30 pm

0.8.7 Spine Buffer Overflow

Post by pheezy »

Hi, I upgraded to 0.8.7 and Spine from latest 0.8.6 and cactid, however my graphs are all empty. After following the debug NaN's in cacti documentation I discovered the following. What can I do to fix this? This is on RHEL5 x86_64. I should mention I have SELinux disabled.
[root@adm03 rra]# /usr/bin/spine --verbosity=5 4 4
SPINE: Using spine config file [/etc/spine.conf]
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_webroot''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_cactilog''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is /var/www/cacti/script_server.php
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/www/cacti/log/cacti.log
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_destination''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_php_binary''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'availability_method''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_recovery_count''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_failure_count''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_method''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_retries''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_timeout''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_perror''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pwarn''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pstats''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_threads''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The threads variable is 4
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'poller_interval''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'concurrent_processes''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'script_timeout''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The script timeout is 25
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'php_servers''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 4
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action FROM poller_item WHERE action=2 AND host_id BETWEEN 4 AND 4 LIMIT 1'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: StartHost='4', EndHost='4', TotalPHPScripts='0'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_get_size''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 5
11/09/2007 09:02:30 AM - SPINE: Poller[0] Version 0.8.7 starting
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
11/09/2007 09:02:30 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.3.1
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.3.1
11/09/2007 09:02:30 AM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id FROM host WHERE disabled='' AND id BETWEEN 4 AND 4 ORDER BY id'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=0 AND rrd_next_step < 0 GROUP BY snmp_port'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context FROM poller_item WHERE host_id=0 and rrd_next_step <=0 ORDER by snmp_port'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-300 WHERE host_id=0'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-300 WHERE rrd_next_step < 0 and host_id=0'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
11/09/2007 09:02:30 AM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=4'
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
11/09/2007 09:02:30 AM - SPINE: Poller[0] Host[4] SNMP Result: Host responded to SNMP
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE host SET status='3', status_event_count='0', status_fail_date='2007-09-28 11:30:00', status_rec_date='2007-10-01 14:30:00', status_last_error='Host did not respond to SNMP', min_time='0.299930', max_time='2.650980', cur_time='0.493050', avg_time='1.162535', total_polls='13134', failed_polls='900', availability='93.1476' WHERE id='4''
11/09/2007 09:02:30 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT data_query_id, action, op, assert_value, arg1 FROM poller_reindex WHERE host_id=4'
11/09/2007 09:02:30 AM - SPINE: Poller[0] Host[4] RECACHE: Processing 2 items in the auto reindex cache for 'adm05'
*** buffer overflow detected ***: /usr/bin/spine terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x3fbcce0b3f]
/lib64/libc.so.6[0x3fbcce039b]
/lib64/libc.so.6(__snprintf_chk+0x7b)[0x3fbcce026b]
/usr/bin/spine[0x409875]
/usr/bin/spine[0x409b83]
/lib64/libpthread.so.0[0x3fbd8061b5]
/lib64/libc.so.6(clone+0x6d)[0x3fbcccd36d]
======= Memory map: ========
00400000-00412000 r-xp 00000000 fd:00 8767791 /usr/bin/spine
00611000-00613000 rw-p 00011000 fd:00 8767791 /usr/bin/spine
00613000-00615000 rw-p 00613000 00:00 0
00812000-00814000 rw-p 00012000 fd:00 8767791 /usr/bin/spine
12156000-1227f000 rw-p 12156000 00:00 0
40000000-40001000 ---p 40000000 00:00 0
40001000-40a01000 rw-p 40001000 00:00 0
40a01000-40a02000 ---p 40a01000 00:00 0
40a02000-41402000 rw-p 40a02000 00:00 0
30e8600000-30e8729000 r-xp 00000000 fd:00 9084921 /usr/lib64/mysql/libmysqlclient_r.so.15.0.0
30e8729000-30e8929000 ---p 00129000 fd:00 9084921 /usr/lib64/mysql/libmysqlclient_r.so.15.0.0
30e8929000-30e8970000 rw-p 00129000 fd:00 9084921 /usr/lib64/mysql/libmysqlclient_r.so.15.0.0
30e8970000-30e8971000 rw-p 30e8970000 00:00 0
387e800000-387e823000 r-xp 00000000 fd:00 8757771 /usr/lib64/libk5crypto.so.3.0
387e823000-387ea23000 ---p 00023000 fd:00 8757771 /usr/lib64/libk5crypto.so.3.0
387ea23000-387ea25000 rw-p 00023000 fd:00 8757771 /usr/lib64/libk5crypto.so.3.0
387f800000-387f829000 r-xp 00000000 fd:00 8757862 /usr/lib64/libgssapi_krb5.so.2.2
387f829000-387fa28000 ---p 00029000 fd:00 8757862 /usr/lib64/libgssapi_krb5.so.2.2
387fa28000-387fa2a000 rw-p 00028000 fd:00 8757862 /usr/lib64/libgssapi_krb5.so.2.2
387fc00000-387fc07000 r-xp 00000000 fd:00 8757686 /usr/lib64/libkrb5support.so.0.1
387fc07000-387fe06000 ---p 00007000 fd:00 8757686 /usr/lib64/libkrb5support.so.0.1
387fe06000-387fe07000 rw-p 00006000 fd:00 8757686 /usr/lib64/libkrb5support.so.0.1
3880000000-3880084000 r-xp 00000000 fd:00 8757773 /usr/lib64/libkrb5.so.3.2
3880084000-3880284000 ---p 00084000 fd:00 8757773 /usr/lib64/libkrb5.so.3.2
3880284000-3880288000 rw-p 00084000 fd:00 8757773 /usr/lib64/libkrb5.so.3.2
3881800000-3881843000 r-xp 00000000 fd:00 13926403 /lib64/libssl.so.0.9.8b
3881843000-3881a43000 ---p 00043000 fd:00 13926403 /lib64/libssl.so.0.9.8b
3881a43000-3881a49000 rw-p 00043000 fd:00 13926403 /lib64/libssl.so.0.9.8b
3884a00000-3884a0d000 r-xp 00000000 fd:00 13926402 /lib64/libgcc_s-4.1.1-20070105.so.1
3884a0d000-3884c0c000 ---p 0000d000 fd:00 13926402 /lib64/libgcc_s-4.1.1-20070105.so.1
3884c0c000-3884c0d000 rw-p 0000c000 fd:00 13926402 /lib64/libgcc_s-4.1.1-20070105.so.1
3c4fc00000-3c4fc8f000 r-xp 00000000 fd:00 8768107 /usr/lib64/libnetsnmp.so.10.0.1
3c4fc8f000-3c4fe8f000 ---p 0008f000 fd:00 8768107 /usr/lib64/libnetsnmp.so.10.0.1
3c4fe8f000-3c4fe93000 rw-p 0008f000 fd:00 8768107 /usr/lib64/libnetsnmp.so.10.0.1
3c4fe93000-3c4fec7000 rw-p 3c4fe93000 00:00 0
3fbc800000-3fbc81a000 r-xp 00000000 fd:00 13926674 /lib64/ld-2.5.so
3fbca19000-3fbca1a000 r--p 00019000 fd:00 13926674 /lib64/ld-2.5.so
3fbca1a000-3fbca1b000 rw-p 0001a000 fd:00 13926674 /lib64/ld-2.5.so
3fbcc00000-3fbcd44000 r-xp 00000000 fd:00 13926675 /lib64/libc-2.5.so
3fbcd44000-3fbcf44000 ---p 00144000 fd:00 13926675 /lib64/libc-2.5.so
3fbcf44000-3fbcf48000 r--p 00144000 fd:00 13926675 /lib64/libc-2.5.so
3fbcf48000-3fbcf49000 rw-p 00148000 fd:00 13926675 /lib64/libc-2.5.so
3fbcf49000-3fbcf4e000 rw-p 3fbcf49000 00:00 0
3fbd000000-3fbd002000 r-xp 00000000 fd:00 13926678 /lib64/libdl-2.5.so
3fbd002000-3fbd202000 ---p 00002000 fd:00 13926678 /lib64/libdl-2.5.so
3fbd202000-3fbd203000 r--p 00002000 fd:00 13926678 /lib64/libdl-2.5.so
3fbd203000-3fbd204000 rw-p 00003000 fd:00 13926678 /lib64/libdl-2.5.so
3fbd400000-3fbd482000 r-xp 00000000 fd:00 13926676 /lib64/libm-2.5.so
3fbd482000-3fbd681000 ---p 00082000 fd:00 13926676 /lib64/libm-2.5.so
3fbd681000-3fbd682000 r--p 00081000 fd:00 13926676 /lib64/libm-2.5.so
3fbd682000-3fbd683000 rw-p 00082000 fd:00 13926676 /lib64/libm-2.5.so
3fbd800000-3fbd815000 r-xp 00000000 fd:00 13926682 /lib64/libpthread-2.5.so
3fbd815000-3fbda14000 ---p 00015000 fd:00 13926682 /lib64/libpthread-2.5.so
3fbda14000-3fbda15000 r--p 00014000 fd:00 13926682 /lib64/libpthread-2.5.so
3fbda15000-3fbda16000 rw-p 00015000 fd:00 13926682 /lib64/libpthread-2.5.so
3fbda16000-3fbda1a000 rw-p 3fbda16000 00:00 0
3fbe000000-3fbe014000 r-xp 00000000 fd:00 8752855 /usr/lib64/libz.so.1.2.3
3fbe014000-3fbe213000 ---p 00014000 fd:00 8752855 /usr/lib64/libz.so.1.2.3
3fbe213000-3fbe214000 rw-p 00013000 fd:00 8752855 /usr/lib64/libz.so.1.2.3
3fbf000000-3fbf014000 r-xp 00000000 fd:00 13926684 /lib64/libnsl-2.5.so
3fbf014000-3fbf213000 ---p 00014000 fd:00 13926684 /lib64/libnsl-2.5.so
3fbf213000-3fbf214000 r--p 00013000 fd:00 13926684 /lib64/libnsl-2.5.so
3fbf214000-3fbf215000 rw-p 00014000 fd:00 13926684 /lib64/libnsl-2.5.so
3fbf215000-3fbf217000 rw-p 3fbf215000 00:00 0
3fc0c00000-3fc0c11000 r-xp 00000000 fd:00 13926689 /lib64/libresolv-2.5.so
3fc0c11000-3fc0e11000 ---p 00011000 fd:00 13926689 /lib64/libresolv-2.5.so
3fc0e11000-3fc0e12000 r--p 00011000 fd:00 13926689 /lib64/libresolv-2.5.so
3fc0e12000-3fc0e13000 rw-p 00012000 fd:00 13926689 /lib64/libresolv-2.5.so
3fc0e13000-3fc0e15000 rw-p 3fc0e13000 00:00 0
3fc1800000-3fc1802000 r-xp 00000000 fd:00 13926690 /lib64/libcom_err.so.2.1
3fc1802000-3fc1a01000 ---p 00002000 fd:00 13926690 /lib64/libcom_err.so.2.1
3fc1a01000-3fc1a02000 rw-p 00001000 fd:00 13926690 /lib64/libcom_err.so.2.1
3fc2400000-3fc2525000 r-xp 00000000 fd:00 13926691 /lib64/libcrypto.so.0.9.8b
3fc2525000-3fc2724000 ---p 00125000 fd:00 13926691 /lib64/libcrypto.so.0.9.8b
3fc2724000-3fc2743000 rw-p 00124000 fd:00 13926691 /lib64/libcrypto.so.0.9.8b
3fc2743000-3fc2747000 rw-p 3fc2743000 00:00 0
3fcea00000-3fcea05000 r-xp 00000000 fd:00 13926688 /lib64/libcrypt-2.5.so
3fcea05000-3fcec04000 ---p 00005000 fd:00 13926688 /lib64/libcrypt-2.5.so
3fcec04000-3fcec05000 r--p 00004000 fd:00 13926688 /lib64/libcrypt-2.5.so
3fcec05000-3fcec06000 rw-p 00005000 fd:00 13926688 /lib64/libcrypt-2.5.so
3fcec06000-3fcec34000 rw-p 3fcec06000 00:00 0
2aaaaaaab000-2aaaaaaae000 rw-p 2aaaaaaab000 00:00 0
2aaaaaabf000-2aaaaaac7000 rw-p 2aaaaaabf000 00:00 0
2aaaaaada000-2aaaaaae4000 r-xp 00000000 fd:00 13926428 /lib64/libnss_files-2.5.so
2aaaaaae4000-2aaaaace3000 ---p 0000a000 fd:00 13926428 /lib64/libnss_files-2.5.so
2aaaaace3000-2aaaaace4000 r--p 00009000 fd:00 13926428 /lib64/libnss_files-2.5.so
2aaaaace4000-2aaaaace5000 rw-p 0000a000 fd:00 13926428 /lib64/libnss_files-2.5.so
2aaaaace5000-2aaaae1da000 r--p 00000000 fd:00 8752547 /usr/lib/locale/locale-archive
2aaaae1da000-2aaaae1de000 r-xp 00000000 fd:00 13926426 /lib64/libnss_dns-2.5.so
2aaaae1de000-2aaaae3dd000 ---p 00004000 fd:00 13926426 /lib64/libnss_dns-2.5.so
2aaaae3dd000-2aaaae3de000 r--p 00003000 fd:00 13926426 /lib64/libnss_dns-2.5.so
2aaaae3de000-2aaaae3df000 rw-p 00004000 fd:00 13926426 /lib64/libnss_dns-2.5.so
7fff22675000-7fff2268b000 rw-p 7fff22675000 00:00 0 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso]
Aborted
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Interesting, try the 0.8.7a under the Announcements forum and post back if this is still occurring. I will look into this more prior to the next release on Monday.

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?
pheezy
Cacti User
Posts: 61
Joined: Thu Oct 26, 2006 5:30 pm

Post by pheezy »

0.8.7a spine now runs for me and does not segfault as the previous version. Thanks for the fix.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Just in case, can you recompile the old version of spine (don't install it) and then do the following:

Code: Select all

gdb spine
break *0x409875
break *0x409b83
When you type the break commands it will provide you lines in the various files. I need to know the file name and line number for each. This is a pretty high priority for me at the moment.

Thanks,

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?
dvlskh
Posts: 1
Joined: Tue Dec 18, 2007 10:03 am

Post by dvlskh »

TheWitness wrote: When you type the break commands it will provide you lines in the various files. I need to know the file name and line number for each. This is a pretty high priority for me at the moment.
TheWitness
See poller.c, lines 101 and 485:

Code: Select all

101:  char sysUptime[40];

483: }else{
484:   poll_result = snmp_get(host, reindex->arg1);
485:   snprintf(sysUptime, BUFSIZE, "%s", poll_result);
486: }
Line 485 is source of troubles.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

That would be pretty easy to fix.

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?
Suzumushi
Posts: 8
Joined: Thu May 12, 2005 9:14 am

Post by Suzumushi »

*** glibc detected *** ./spine: free(): invalid next size (fast): 0x00000000006e67c0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b79fd63aaad]
/lib/libc.so.6(cfree+0x76)[0x2b79fd63c796]
./spine[0x40bb7c]
./spine[0x40bee5]
./spine[0x4090d2]
./spine[0x409ca3]
/lib/libpthread.so.0[0x2b79fcf20037]
/lib/libc.so.6(clone+0x6d)[0x2b79fd68e25d]


and information you have requested

localhost scripts # gdb spine
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break *0x40bb7c
Breakpoint 1 at 0x40bb7c: file ping.c, line 359.
(gdb) break *0x40bee5
Breakpoint 2 at 0x40bee5: file ping.c, line 71.
(gdb) break *0x4090d2
Breakpoint 3 at 0x4090d2: file poller.c, line 389.
(gdb) break *0x409ca3
Breakpoint 4 at 0x409ca3: file poller.c, line 53.


meaby it will help
system info:
gentoo
localhost scripts # uname -a
Linux localhost 2.6.23-gentoo-r3 #3 SMP Mon Dec 17 22:42:53 Local time zone must be set--see zic i686 Intel(R) Xeon(R) CPU X5355 @ 2.66GHz GenuineIntel GNU/Linux

12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 40
12/22/2007 12:58:22 AM - SPINE: Poller[0] Version 0.8.7b starting
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
12/22/2007 12:58:22 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.4.1
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.4.1
12/22/2007 12:58:22 AM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Routine Starting
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server About to FORK Child Process
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Child FORK Success
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SS[0] Confirmed PHP Script Server running
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id FROM host WHERE disabled='' ORDER BY id'
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/22/2007 12:58:22 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1

best regards
Sobczak Wojciech
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Change line 247 from a cacti_log() to a die() and see if this error goes away. If not, then there is defineatly something wrong elsewhere. Neither of the aformentioned free from your backtrace would cause a problem unless there was something else going on.

I will keep looking. Please post a response.

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?
Suzumushi
Posts: 8
Joined: Thu May 12, 2005 9:14 am

Post by Suzumushi »

Hello,
it didn't helped, gdb showc exactly the same

file ping.c, line 359.
file ping.c, line 71.
file poller.c, line 389.
file poller.c, line 53.

:(

best regards
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

dvlskh wrote:
TheWitness wrote: When you type the break commands it will provide you lines in the various files. I need to know the file name and line number for each. This is a pretty high priority for me at the moment.
TheWitness
See poller.c, lines 101 and 485:

Code: Select all

101:  char sysUptime[40];

483: }else{
484:   poll_result = snmp_get(host, reindex->arg1);
485:   snprintf(sysUptime, BUFSIZE, "%s", poll_result);
486: }
Line 485 is source of troubles.
Call me stupid, but change "sysUptime[40]" to "sysUptime[BUFSIZE]" and that will be the fix. I thought you did that (understood) that already.

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?
Suzumushi
Posts: 8
Joined: Thu May 12, 2005 9:14 am

Post by Suzumushi »

Hello, i made chenges You requested already
unfortunatley it didn't help
when trying to pool one of active hosts:

localhost cacti-spine-0.8.7a # ./spine --verbosity=5 70 70
SPINE: Using spine config file [spine.conf]
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_webroot''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_cactilog''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /var/www/localhost/htdocs/cacti-0.8.7a/script_server.php
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/www/localhost/htdocs/cacti/log/cacti.log
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_destination''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
ERROR: Spine Log File Could Not Be Opened/Created
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_php_binary''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'availability_method''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 3
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_recovery_count''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 2
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_failure_count''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 5
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_method''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_retries''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 2
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_timeout''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_perror''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pwarn''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pstats''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_threads''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'poller_interval''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'concurrent_processes''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 8
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'script_timeout''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The script timeout is 30
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'php_servers''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT action FROM poller_item WHERE action=2 AND host_id BETWEEN 70 AND 70 LIMIT 1'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: StartHost='70', EndHost='70', TotalPHPScripts='0'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_get_size''
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 40
12/23/2007 04:03:10 PM - SPINE: Poller[0] Version 0.8.7b starting
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
12/23/2007 04:03:10 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.4.1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.4.1
12/23/2007 04:03:10 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT id FROM host WHERE disabled='' AND id BETWEEN 70 AND 70 ORDER BY id'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=0 AND rrd_next_step < 0 GROUP BY snmp_port'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context FROM poller_item WHERE host_id=0 and rrd_next_step <=0 ORDER by snmp_port'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-300 WHERE host_id=0'
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-300 WHERE rrd_next_step < 0 and host_id=0'
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DEBUG: The POPEN returned the following File Descriptor 6
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1276] WARNING: Result from SCRIPT not valid. Partial Result:
Notice: Undefined o...
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1276] SCRIPT: /usr/bin/php -q /var/www/localhost/htdocs/cacti-0.8.7a/scripts/query_host_cpu.php get usage 0, output: U
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DEBUG: The POPEN returned the following File Descriptor 6
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1277] WARNING: Result from SCRIPT not valid. Partial Result:
Notice: Undefined o...
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1277] SCRIPT: /usr/bin/php -q /var/www/localhost/htdocs/cacti-0.8.7a/scripts/query_host_cpu.php get usage 1, output: U
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DEBUG: The POPEN returned the following File Descriptor 6
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1278] WARNING: Result from SCRIPT not valid. Partial Result:
Notice: Undefined o...
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1278] SCRIPT: /usr/bin/php -q /var/www/localhost/htdocs/cacti-0.8.7a/scripts/query_host_cpu.php get usage 2, output: U
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DEBUG: The POPEN returned the following File Descriptor 6
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1279] WARNING: Result from SCRIPT not valid. Partial Result:
Notice: Undefined o...
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DS[1279] SCRIPT: /usr/bin/php -q /var/www/localhost/htdocs/cacti-0.8.7a/scripts/query_host_cpu.php get usage 3, output: U
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (1276,'cpu','2007-12-23 16:03:10','U'),(1277,'cpu','2007-12-23 16:03:10','U'),(1278,'cpu','2007-12-23 16:03:10','U'),(1279,'cpu','2007-12-23 16:03:10','U')'
12/23/2007 04:03:10 PM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
12/23/2007 04:03:10 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=70'
*** glibc detected *** ./spine: free(): invalid next size (fast): 0x00000000006dfbb0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b646f8deaad]
/lib/libc.so.6(cfree+0x76)[0x2b646f8e0796]
./spine[0x40bb45]
./spine[0x40bea5]
./spine[0x4090d2]
./spine[0x409ca3]
/lib/libpthread.so.0[0x2b646f1c4037]
/lib/libc.so.6(clone+0x6d)[0x2b646f93225d]
======= Memory map: ========
00400000-00412000 r-xp 00000000 08:01 866157 /var/www/localhost/htdocs/cacti-0.8.7a/spine/cacti-spine-0.8.7a/spine
00611000-00612000 r--p 00011000 08:01 866157 /var/www/localhost/htdocs/cacti-0.8.7a/spine/cacti-spine-0.8.7a/spine
00612000-00613000 rw-p 00012000 08:01 866157 /var/www/localhost/htdocs/cacti-0.8.7a/spine/cacti-spine-0.8.7a/spine
00613000-00731000 rw-p 00613000 00:00 0 [heap]
40000000-40001000 ---p 40000000 00:00 0
40001000-40801000 rw-p 40001000 00:00 0
2aaaaaab1000-2aaaaaabd000 r-xp 00000000 08:01 589418 /lib64/libgcc_s.so.1
2aaaaaabd000-2aaaaacbc000 ---p 0000c000 08:01 589418 /lib64/libgcc_s.so.1
2aaaaacbc000-2aaaaacbd000 r--p 0000b000 08:01 589418 /lib64/libgcc_s.so.1
2aaaaacbd000-2aaaaacbe000 rw-p 0000c000 08:01 589418 /lib64/libgcc_s.so.1
2b646e416000-2b646e431000 r-xp 00000000 08:01 766510 /lib64/ld-2.6.1.so


and gdb output
localhost cacti-spine-0.8.7a # gdb spine
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break *0x40bb45
Breakpoint 1 at 0x40bb45: file ping.c, line 359.
(gdb) break *0x40bea5
Breakpoint 2 at 0x40bea5: file ping.c, line 71.
(gdb) break *0x4090d2
Breakpoint 3 at 0x4090d2: file poller.c, line 389.
(gdb) break *0x409ca3
Breakpoint 4 at 0x409ca3: file poller.c, line 53.


don't know where problem could be
meaby with OS as this is gentoo 64 bit, i will try to bring up fresh debian instead on another machine and give it try again, but this will be after chritstmas.

so Merry Christmas to all cacti Devels :)

best regerds
Suzumushi
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok. As this is not being reported elsewhere, I am curious as to why Gen2. The code looks sound, but sometimes it is dificult to ferret these OS dependent things out.

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?
myfreeke
Cacti User
Posts: 82
Joined: Tue Dec 04, 2007 10:24 pm

Post by myfreeke »

help me


error log


12/24/2007 09:18:36 PM - SYSTEM STATS: Time:4.1516 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:18:36 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:18:26 PM - SYSTEM STATS: Time:4.1504 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:5
12/24/2007 09:18:26 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:18:16 PM - SYSTEM STATS: Time:4.1892 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:15
12/24/2007 09:18:16 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:18:06 PM - SYSTEM STATS: Time:4.1577 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:18:06 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:56 PM - SYSTEM STATS: Time:4.1546 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:16
12/24/2007 09:17:56 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:46 PM - SYSTEM STATS: Time:4.1566 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:17:46 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:36 PM - SYSTEM STATS: Time:4.1497 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:17:36 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:26 PM - SYSTEM STATS: Time:4.1595 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:17:26 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:16 PM - SYSTEM STATS: Time:4.1498 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:17:16 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:17:06 PM - SYSTEM STATS: Time:4.1558 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:17:06 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:56 PM - SYSTEM STATS: Time:4.1425 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:5
12/24/2007 09:16:56 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:46 PM - SYSTEM STATS: Time:4.1575 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:16:46 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:36 PM - SYSTEM STATS: Time:4.1501 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:16:36 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:26 PM - SYSTEM STATS: Time:4.1623 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:13
12/24/2007 09:16:26 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:16 PM - SYSTEM STATS: Time:4.1965 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:5
12/24/2007 09:16:16 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:16:06 PM - SYSTEM STATS: Time:4.1906 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:9
12/24/2007 09:16:06 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:56 PM - SYSTEM STATS: Time:4.1509 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:15:56 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:46 PM - SYSTEM STATS: Time:4.1651 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:15
12/24/2007 09:15:46 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:36 PM - SYSTEM STATS: Time:4.1519 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:12
12/24/2007 09:15:36 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:26 PM - SYSTEM STATS: Time:4.1649 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:10
12/24/2007 09:15:26 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:16 PM - SYSTEM STATS: Time:4.1625 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:11
12/24/2007 09:15:16 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:15:06 PM - SYSTEM STATS: Time:4.1735 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:63 RRDsProcessed:11
12/24/2007 09:15:06 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:14:56 PM - SYSTEM STATS: Time:4.1878 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:65 RRDsProcessed:11
12/24/2007 09:14:56 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:14:46 PM - SYSTEM STATS: Time:4.1702 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:65 RRDsProcessed:9
12/24/2007 09:14:46 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
12/24/2007 09:14:46 PM - SPINE: Poller[0] Host[87] DS[1816] WARNING: Result from SNMP not valid. Partial Result: /usr/local/mrtg/Xian...
12/24/2007 09:14:36 PM - SYSTEM STATS: Time:4.1707 Method:spine Processes:1 Threads:1 Hosts:45 HostsPerProcess:45 DataSources:65 RRDsProcessed:17
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Spine does not work well with 10 second polling intervals. You need to change two lines of code in spine.c and then recompile. Instead of providing lines, use the attached spine.c and recompile.

TheWitness
Attachments
spine.c
(21.28 KiB) Downloaded 780 times
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?
myfreeke
Cacti User
Posts: 82
Joined: Tue Dec 04, 2007 10:24 pm

Post by myfreeke »

thanks ! i try again
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests