[Opendnssec-develop] Re: [OpenDNSSEC] #243: Ods-signerd - drudger - seems unstable
OpenDNSSEC
owner-dnssec-trac at kirei.se
Tue May 24 14:20:33 UTC 2011
#243: Ods-signerd - drudger - seems unstable
--------------------------------------+-------------------------------------
Reporter: nick.vandenheuvel@… | Owner: matthijs
Type: defect | Status: new
Priority: major | Component: Signer
Version: 1.3.0rc1 | Resolution:
Keywords: |
--------------------------------------+-------------------------------------
Comment (by matthijs):
Trying to figure out what is happening here.
Basically, when calling hsm_create_context, the hsm main context is
cloned. hsm_create_context() can return NULL if either the main context is
NULL, or one of the sessions failed to clone.
Cloning a session may fail if:
* hsm_get_slot_id() does not return HSM_OK, or
* libhsm could not retrieve the session handle and module, or
* a new session could not be created.
I am guessing that the problem is either in libhsm or you are hitting some
limitation from the HSM.
The fact that this bug sometimes is triggered and sometimes not, makes me
think that there is a race condition.
There are a couple of threads that try to create their own context.
Thought: Could it be that libhsm cannot handle multiple cloning operations
at the same time?
--
Ticket URL: <http://trac.opendnssec.org/ticket/243#comment:1>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC
More information about the Opendnssec-develop
mailing list