ports/151770: spine 0.8.7g hangs up after one host poll

Boris Kovalenko boris at tagnet.ru
Wed Oct 27 06:20:05 UTC 2010


>Number:         151770
>Category:       ports
>Synopsis:       spine 0.8.7g hangs up after one host poll
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 27 06:20:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Boris Kovalenko
>Release:        7.2-R amd64
>Organization:
JSC "TAGNet"
>Environment:
FreeBSD oms.tagnet.ru 7.2-RELEASE FreeBSD 7.2-RELEASE #2: Mon Sep 28 15:53:50 YEKST 2009     root at jails.tagnet.ru:/usr/obj/usr/src/sys/JAILS  amd64
>Description:
Spine hangs up after host poll (see debug output). IMHO the problem is in poller.c line 68: thread_mutex_lock(LOCK_THREAD)

[root at oms ~]# spine -H 0 -V 5]
SPINE: Using spine config file [/usr/local/etc/spine.conf]
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/local/share/cacti/script_server.php
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /usr/local/share/cacti/log/cacti.log
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/local/bin/php
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The threads variable is 8
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The script timeout is 60
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 4
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: Host List to be polled='0', TotalPHPScripts='0'
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
10/27/2010 12:15:49 PM - SPINE: Poller[0] Version 0.8.7g starting
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: Spine is running asroot.
10/27/2010 12:15:49 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
10/27/2010 12:15:49 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
10/27/2010 12:15:49 PM - SPINE: Poller[0] NOTE: Spine did not detect multithreaded device polling.
10/27/2010 12:15:49 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g manner
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
10/27/2010 12:15:49 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
10/27/2010 12:15:49 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function

>How-To-Repeat:
Install and run cacti-spine 0.8.7g on FreeBSD 7.2R-amd64 jailed enviroment
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list