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
amazon-web-services amazon-cloudwatch


source to share


No one has answered this question yet

Check out similar questions:

3
Cloudwatch agent errors with: No parameter 'file' under: 'loggers'
2
Handle signals to make graceful output with nodejs app on Elastic Beanstalk?
2
How to remove awslogs-agent-setup.py?
1
Amazon AWS - Gunicorn Starts Downloading
1
awslogs-agent-setup.py doesn't work on Ubuntu 17.10 (tricky)
1
Kinesis agent reports error from python stream data
1
The awslogs agent can't keep up
0
Moving Existing Directories to New EBS Volume on AWS (Red Hat)
0
User ec2 is not allowed to write to web folder
0
How to set up a service that will run a jar file on an aws ec2 ubuntu 16.04 instance



All Articles
Loading...
X
Show
Funny
Dev
Pics