On Alain suggestion, today I have added the following line:
taskset -cp 13-31 ${$}
into the metatron top level script: /virgo/ext/metatron/metatron-1.6/bin/metatron in order to force all metatron nodes threads to run only on the CPU ids from 13 to 31. This is order to achive a better CPU load balancing on the heavily loaded olserver52 machine.
After restarting two crashed nodes (SUS_NI and NARM_LOCK) it looks like the affinity is correctly set for the corresponding threads:
virgod@olserver52[~]: ps -ef | grep SUS_NI
root 37144 1 0 14:18 ? 00:00:00 sudo -i -u virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/Metatron.cfg SUS_NI
virgod 37146 37144 0 14:18 ? 00:00:00 /bin/bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/Metatron.cfg SUS_NI
virgod 37207 37146 1 14:18 ? 00:00:07 python -u -m guardian.__main__ SUS_NI
virgod 37224 37207 16 14:18 ? 00:02:06 python -u -m guardian.__main__ SUS_NI
virgod@olserver52[~]: taskset -pc 37146
pid 37146's current affinity list: 13-31
virgod@olserver52[~]: taskset -pc 37207
pid 37207's current affinity list: 13-31
virgod@olserver52[~]: taskset -pc 37224
pid 37224's current affinity list: 13-31