-
If
status-porthas been specified in the configuration file of TiDB Lightning, skip this step. Otherwise, you need to send the USR1 signal to TiDB Lightning to enablestatus-port.Get the process ID (PID) of TiDB Lightning using commands like
ps, and then run the following command:kill -USR1 <lightning-pid>Check the log of TiDB Lightning. The log of
starting HTTP server/start HTTP server/started HTTP servershows the newly enabledstatus-port. -
Access
http://<lightning-ip>:<status-port>/debug/pprof/goroutine?debug=2to get the goroutine information.