Home » Amazon » AWS DevOps Engineer Professional v.2 » Which signal, when sent to a Docker process with the kill command, forces the full stack trace to be logged for debugging purposes?
You are running a Docker daemon on a Linux host and it becomes unresponsive. Which signal, when sent to a Docker process with the kill command, forces the full stack trace to be logged for debugging purposes?
A. -TRACE
B. -IOTRACE
C. -SIGUSER1
D. -KILLTRACE
Correct Answer: C
Explanation/Reference:
Explanation:
If the daemon is unresponsive, you can force a full stack trace to be logged by sending a SIGUSR1 signal to the daemon.
Linux:
$ sudo kill -SIGUSR1 $(pidof dockerd) Windows Server:
Download docker-signal.
Run the executable with the flag –pid=.
Reference:
https://docs.docker.com/engine/admin/#force-a-stack-trace-to-be-logged