ConfD User Community

Does confd process is dependent on boost c++ libraries?

We are using confd 6.6.1 version and recently we have upgraded the libboost library to the latest version. We are experiencing high CPU usage compared to old build. Does boost library has any impact on confd binary?

I believe this would be outside the scope of the ConfD daemon, since this is an external library used by your applications/ConfD clients, and not the ConfD binary.

You can check with ldd

(star confd and get path of ConfD binary with ps -elf | grep confd)

$ ldd lib/confd/erts/bin/confd (0x00007ffc3e143000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b560000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b558000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b408000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b3e0000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b3d0000) => /lib/x86_64-linux-gnu/ (0x00007f9b1b1d8000)
	/lib64/ (0x00007f9b1b998000)

As @nabil suggested, your application can depend on boost. ConfD C API library (libconfd) does not:

$ ldd lib/ (0x00007fffa93ab000) => /lib/x86_64-linux-gnu/ (0x00007f1762038000) => /usr/lib/x86_64-linux-gnu/ (0x00007f1761df0000) => /lib/x86_64-linux-gnu/ (0x00007f1761bf8000)
	/lib64/ (0x00007f1762340000) => /lib/x86_64-linux-gnu/ (0x00007f1761bf0000)

@nabil @mnovak Thanks for the clarification. Yes the scope of libboost is being used by one of our applications.