The awslogs agent spawns the zombie process again
I am running awslogs agent on ubuntu 16.
when i start the awslogs agent two processes were created.
$ sudo systemctl start awslogs
root 25973 1 0 Feb13 ? 00:00:00 /bin/sh /var/awslogs/bin/awslogs-agent-launcher.sh --start --background --pidfile --user awslogs --chuid awslogs &
root 25976 25973 0 Feb13 ? 02:16:01 /var/awslogs/bin/python /var/awslogs/bin/aws logs push --config-file /var/awslogs/etc/awslogs.conf --additional-configs-dir /var/awslogs/etc/config
and when i stop awslogs only one process is killed. another process is still alive.
$ sudo systemctl stop awslogs
root 25976 25973 0 Feb13 ? 02:16:01 /var/awslogs/bin/python /var/awslogs/bin/aws logs push --config-file /var/awslogs/etc/awslogs.conf --additional-configs-dir /var/awslogs/etc/config
when I start the awslogs agent again, two processes are created. therefore, the entire count of the process is 3.
+3
source to share
No one has answered this question yet
Check out similar questions: