[Opendnssec-user] ods-signerd 1.4.0a1 running out of memory and crashing on null context

Matthijs Mekking matthijs at nlnetlabs.nl
Thu Jun 21 13:24:39 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Follow up, focusing on the crashing on null context.

In a previous mail I said:

    I am not sure how to deal with a failing libhsm. We could abort the
    drudger, stop the signer, retry until eternity,

I have now implemented I think a reasonable strategy in trunk, r6450.
If this happens, the signer will fail the sign task, back off the task
and reload the engine. This will stop workers and drudgers, reopen the
connection to the HSM and start workers and drudgers again. The next
time, the backed off task runs (or another task that is scheduled
earlier), the drudgers try to create a new context and do the sign jobs.

Let me know if you are satisfied with this approach.

Best regards,
  Matthijs

On 05/21/2012 11:11 PM, Paul Wouters wrote:
> 
> On restarting the signer I got :
> 
> ods-signerd: signer/rrset.c:667: rrset_sign: assertion ctx failed
> 
> (note that the machine is using ldns 1.6.13rc1)



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP4yCXAAoJEA8yVCPsQCW5XJcIAMe+7B79rQhZYTDA6AxBWFpC
+oQ5o4P8JghpN7jMY3tOuQpkW/JlOMLTi2zXFWDcPaLvhSvmVAdSquS2AIsMo8CG
Lw0YWkUCmJ3pvJVxIdOr0wl1fVSzPuzAEbpjuzUv8LMBIF6rA+1ExAQCwMcFvaGu
MO990Ff0iE9PBBZcAaLy59cPk4hFAGhdNbk1hWCZ1QzEdh8gZgcUR7NNRdzRevUs
6JxUYnzmyyS798VPlFn1uHh15ZjH/eatfMsLN92+QDOf++qJUI9JrOYtYHySOR4S
E6/H6pf9/ZgdAmwaD/GfJUoWgUdOA29XuH+q0ffNwxVuAdeIVW1gIS6lfAZDOCg=
=INVZ
-----END PGP SIGNATURE-----



More information about the Opendnssec-user mailing list