From: SourceForge.net <no...@so...> - 2005-01-31 11:43:54
|
Bugs item #1113114, was opened at 2005-01-31 05:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=1113114&group_id=71730 Category: Blade Center Plugin Group: None Status: Open Resolution: None Priority: 5 Submitted By: peter dinh phan (pdphan) Assigned to: peter dinh phan (pdphan) Summary: snmp_bc threaded env: threads hangs. Initial Comment: 1. openhpi.conf is configured with multiple bc handles. Running in SMP threaded environment, the main thread hang with either Linux kernel 2.4 or 2.6. 2. Trace; for hpiinv with debug-enabled, trace-enabled, bc_lock debug-enabled, uid_lock debug-enabled; shows: safhpi.c:2535:saHpiIdrFieldGet: Access saHpiIdrFieldGet from plugin. BC_LOCK Thread: 0x804b008 - snmp_bc_inventory.c:250:snmp_bc_get_idr_field: Attempt to lock custom_handle 0x808d4d0, lock count 0 BC_LOCK Thread: 0x804b008 - snmp_bc_inventory.c:250:snmp_bc_get_idr_field: Got the lock because no one had it. Lockcount 1 BC_LOCK Thread: 0x804b008 - snmp_bc_inventory.c:250:snmp_bc_get_idr_field: custom_handle 0x808d4d0 got lock, lock count 1 event.c:72:oh_event_thread_loop: TIMEDOUT: Woke up, am looping again event.c:50:oh_event_thread_loop: Thread Harvesting events event.c:175:oh_harvest_events: harvesting for 1 BC_LOCK Thread: 0x8094978 - snmp_bc.c:121:snmp_bc_get_event: Attempt to lock custom_handle 0x8053cc8, lock count 0 BC_LOCK Thread: 0x8094978 - snmp_bc.c:121:snmp_bc_get_event: Got the lock because no one had it. Lockcount 1 BC_LOCK Thread: 0x8094978 - snmp_bc.c:121:snmp_bc_get_event: custom_handle 0x8053cc8 got lock, lock count 1 snmp_bc_sel.c:468:snmp_bc_selcache_sync: EL Sync: there are no new entry indicated. BC_LOCK Thread: 0x8094978 - snmp_bc.c:141:snmp_bc_get_event: Attempt to unlock custom_handle 0x8053cc8, lock count 1 BC_LOCK Thread: 0x8094978 - snmp_bc.c:141:snmp_bc_get_event: Released the lock, lockcount 0 BC_LOCK Thread: 0x8094978 - snmp_bc.c:141:snmp_bc_get_event: custom_handle 0x8053cc8 released lock, lock count 0 event.c:149:harvest_events_for_handler: Handler is out of Events event.c:175:oh_harvest_events: harvesting for 2 BC_LOCK Thread: 0x8094978 - snmp_bc.c:121:snmp_bc_get_event: Attempt to lock custom_handle 0x808d4d0, lock count 1 BC_LOCK Thread: 0x8094978 - snmp_bc.c:121:snmp_bc_get_event: Going to block for a lock now. Lockcount 1 3. Problem: Dont know why "Thread: 0x804b008" does not complete it tasks and free the lock? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=1113114&group_id=71730 |