[Unbound-users] Multiple libunbound instances
W.C.A. Wijngaards
wouter at nlnetlabs.nl
Wed Oct 24 09:45:08 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Murray,
On 10/23/2012 08:47 PM, Murray S. Kucherawy wrote:
> Hi there,
>
> Is it safe to call ub_ctx_create() multiple times in a single
> process?
This should work. Every context is unique, has its own locks, its own
backend-process-or-thread if async resolving, and its own config options.
> More generally, I've observed a case where a process creates a
> distinct ub_ctx for each module in a single-process plugin
> architecture, and this appears to interfere with normal operation
> once both of them are actually active. Is this a known issue?
Not sure, you may be running out of file descriptors if you open many
of them (depending on the options).
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQh7ikAAoJEJ9vHC1+BF+NP1QP/26ViYn6iHxs+Zif9lWduHlN
C1qUQHzWcOrKt1qDRPPCTKm8NmUlBop3hNAXPC/pPqHaYJnHLrqqwatg/D+fS11p
owOdggsLJ7zeyx6rYwS3hQya4SrpQbe+PprmF0uxf4tEnr+elakcY44KU7m1N3Ej
7jM1FQVOvBFUzWqWfZjyZAQcpG8xbcQhVftonvyTIeBGyIO1mZQR4NCz/0iTyUKu
CYfeLvpBmozb0I9kgTVrwczHtKZllKthk+H8Adw3bI0rIxiNPZhvnjD5qfhre66w
OqB9PFC7ID4Ru8RQBX/8zkx9x3J0/ySwdiUEtWO4kqKUfUPemKjl/Gbi6JMhEyEp
O5wgt2f/MJH8xLMNFqKj6roe9Re+L5gpEBb9MFr44MDf8Kh+KWu1ZK2tY0KeygcZ
0t0+cDvzMTqX+NPZ47vHBS0Lk2GZkWlmSVnfUV6zzjXjBcRIr1AZcqb80cg31eyi
OM1MzexKeaeZ65aoKBGOCKyq8gMZDDj2Qie/8XWKlnqQyOp06OXn4W9KAcLvw9w1
LBJr7EyXAv1baA2gXwYGe0yZsCo2QsUrFLzDgkZewL/MGtwgYop6qs2r+VVcxDRZ
LeZMkHMIxN+uJEgFOqIRjBJp2o5OS9NiQd5GH98K4fC3H1Hbw8bgVud5hLuXOzmR
rX9eMtLsyqF1XFp252xq
=IhOH
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list