Use mallctl() instead of setting malloc_conf
It was discovered that named
could crash when the allocation fails.
This should not happen, as we are correctly setting xmalloc:true
in
malloc_conf
configuration string for jemalloc.
In this commit, we use mallctl() calls with a second call as verification that the new configuration values has been set.
Closes #2921 (closed)