This Article states steps to capture thread dump to help engineering with troubleshooting in case of indefinitely long running tasks created by SDDC LCM.
IF there are long running tasks created by lcm service
Please run the below command at multiple interval of time to help understand the state of the system for the duration of long run task
sudo -u vcf_lcm jcmd `pgrep -u vcf_lcm java` Thread.print > /tmp/lcm-thread-dump.out
Restarting LCM service shall fix the problem for the time being. Please make sure to capture thread dumps before restarting LCM service
Login as root
systemctl restart lcm