ConfD 8.0.6 system processes consuming a lot of CPU

Hello DMAP community, I hope someone can help me with a issue regarding ConfD consuming a lot of the system CPU.

We have noted that since we updated our ConfD from 7.2.6 to 8.0.6, two new processes are now running on our systems: 1_scheduler and 2_scheduler.

PID PPID VIRT RES %CPU %MEM TIME+ S COMMAND
4964 4894 125.1m 86.9m 66.7 4.4 0:21.75 R 2_scheduler
4960 4894 125.1m 86.9m 58.3 4.4 0:36.11 R 1_scheduler

We checked whether these processes already exist on ConfD 7.2.6, and it did not exist.

We ran the system with the same configuration database on both ConfD version, with 7.2.6 we did not note any CPU issue, but when running in ConfD 8.0.6, the CPU was often at 100% of usage, due mainly to these two processes.

I would like to know if this is a known problem in ConfD 8.0.6, if there is something that can be configured in order to keep the old behavior (i.e not running these processes), or an explanation on what are those two processes.

The system in which the problem happened is the following:

2x e5500 (32bit powerpc)

/ # lscpu
Architecture: ppc
CPU op-mode(s): 32-bit
Byte Order: Big Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
Model: 2.1 (pvr 8024 1021)
Model name: e5500
BogoMIPS: 50.00
L1d cache: 64 KiB
L1i cache: 64 KiB
L2 cache: 512 KiB
L3 cache: 256 KiB

Evening Hugo,

Can you please check what smp-flags are being set for ConfD 7.2.6?

Between version 7.x and 8.x some changes were introduced in this subsystem.

If you want to explicitly only run one scheduler - try passing --smp 1 to the script which
starts ConfD, see the -h option for confd-executable script.

Kind regards,

Fabian

Below are the smp-flags being set for ConfD 7.2.6

./confd.smp -S 2 -K false -MHe true -- -root /opt/confd/lib/confd
    -progname confd -- -home /root -- -smp enable
    -boot confd -noshell -noinput -foreground
    -yaws embedded true -ignore_initial_validation
    -stacktrace_depth 24 -shutdown_time 30000
    -conffile <path_to_confd.conf> -start_phase0 -max_fds 8192

Below are the flags being set for ConfD 8.0.6:

./confd.smp -S 2 -K false -MHe true -- -root /opt/confd/lib/confd
    -progname confd -- -home /root -- -boot confd -noshell
    -noinput -foreground -yaws embedded true -ignore_initial_validation
    -stacktrace_depth 24 -shutdown_time 30000
    -conffile <path_to_confd.conf> -start_phase0 -max_fds 8192 --

Now that you asked for these information that i noticed the absence of -smp parameter on the execution of the confd 8.0.6, we will check it.

Despite the difference, there is any known issue regarding cpu usage on ConfD 8.0.6 scheduler?

Morning Hugo,
Currently there is not a known issue.

Were you able to try the system with --smp 1?

As a side note: The executables are the Erlang-processes and these are standard.

Could you describe what is happening in the system while you see the high-cpu-load? Is it
during boot-phase, while loading a configuration, or constant?

Kind regards,

Fabian