Giter Club home page Giter Club logo

Comments (9)

sjohner avatar sjohner commented on July 22, 2024

Same issue here. Using Ubuntu 15.10, no SCOM management groups connected.

omsagent 3200 0.0 0.1 355952 10560 ? Sl 22:44 0:01 _ /opt/omi/bin/omiagent 10 13 --destdir / --providerdir /opt/omi/lib --idletimeout 90 --loglevel WARNING
omsagent 3428 0.0 0.0 0 0 ? Z 22:48 0:00 _ [python]
omsagent 3447 0.0 0.0 0 0 ? Z 22:48 0:00 _ [python]
omsagent 3812 0.0 0.0 0 0 ? Z 22:53 0:00 _ [python]
omsagent 3815 0.0 0.0 0 0 ? Z 22:53 0:00 _ [python]
omsagent 4141 0.0 0.0 0 0 ? Z 22:58 0:00 _ [python]
omsagent 4143 0.0 0.0 0 0 ? Z 22:58 0:00 _ [python]
omsagent 4443 0.0 0.0 0 0 ? Z 23:03 0:00 _ [python]
omsagent 4445 0.0 0.0 0 0 ? Z 23:03 0:00 _ [python]
omsagent 4873 0.0 0.0 0 0 ? Z 23:08 0:00 _ [python]
omsagent 4875 0.0 0.0 0 0 ? Z 23:08 0:00 _ [python]
omsagent 5231 0.0 0.0 0 0 ? Z 23:14 0:00 _ [python]
omsagent 5233 0.0 0.0 0 0 ? Z 23:14 0:00 _ [python]
omsagent 5524 0.0 0.0 0 0 ? Z 23:19 0:00 _ [python]
omsagent 5526 0.0 0.0 0 0 ? Z 23:19 0:00 _ [python]
omsagent 5813 0.0 0.0 0 0 ? Z 23:24 0:00 _ [python]
omsagent 5815 0.0 0.0 0 0 ? Z 23:24 0:00 _ [python]
omsagent 5838 0.6 0.4 1206560 40192 ? Sl 23:24 0:01 /opt/microsoft/omsagent/ruby/bin/ruby /opt/microsoft/omsagent/bin/omsagent -d /var/opt/microsoft/omsagent/run/omsagent.pid -o /var/opt/microsoft/omsagent/log/omsagent.log --no-supervisor

Re-installed OMS agent without success. 5min after installation, first zombie processes show up. Is this related to the killing of omsagent every 5min?

Feb 22 22:48:50 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 22:53:52 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 22:58:55 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 23:03:57 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 23:08:59 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 23:14:02 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL
Feb 22 23:19:04 donald systemd[1]: omsagent.service: Main process exited, code=killed, status=9/KILL

Seems as if the zombie processes result from client.sh script

omsagent 4443 0.0 0.0 0 0 ? Z 23:03 0:00 _ [python]
omsagent 4445 0.0 0.0 0 0 ? Z 23:03 0:00 _ [python]
omsagent 4873 0.0 0.0 0 0 ? Z 23:08 0:00 _ [python]
omsagent 4875 0.0 0.0 0 0 ? Z 23:08 0:00 _ [python]
omsagent 5231 0.0 0.0 0 0 ? Z 23:14 0:00 _ [python]
omsagent 5233 0.0 0.0 0 0 ? Z 23:14 0:00 _ [python]
omsagent 5524 0.0 0.0 0 0 ? Z 23:19 0:00 _ [python]
omsagent 5526 0.0 0.0 0 0 ? Z 23:19 0:00 _ [python]
omsagent 5813 0.2 0.1 51392 13008 ? S 23:24 0:00 _ python /opt/microsoft/omsconfig/Scripts/client.py 11
omsagent 5815 0.2 0.1 51392 12972 ? S 23:24 0:00 _ python /opt/microsoft/omsconfig/Scripts/client.py 11
omsagent 5838 0.7 0.4 1190020 32396 ? Sl 23:24 0:00 /opt/microsoft/omsagent/ruby/bin/ruby /opt/microsoft/omsagent/bin/omsagent -d /var/opt/microsoft/omsagent/run/omsagent.pid -o /var/opt/microsoft/omsagent/log/omsagent.log --no-supervisor

from oms-agent-for-linux.

sjohner avatar sjohner commented on July 22, 2024

any update on this?

from oms-agent-for-linux.

jeffaco avatar jeffaco commented on July 22, 2024

We're testing a new kit to resolve this problem. We'll loop back when we know we have the problem fixed and have something to post.

Thanks for your patience.

from oms-agent-for-linux.

agup006 avatar agup006 commented on July 22, 2024

Hi @sjohner,

we have verified the resolution of this issue with a private build. This fix is included in the next release, and we are happy to distribute a private to you if needed.

from oms-agent-for-linux.

jeffaco avatar jeffaco commented on July 22, 2024

Since this issue is resolved, I'm going to go ahead and close it.

@sjohner: If you need a private, let Anurag know.

from oms-agent-for-linux.

sjohner avatar sjohner commented on July 22, 2024

Great, thanks you guys!

@agup006 can you make any comment about the timeline of the next release?

from oms-agent-for-linux.

c-arshaikh avatar c-arshaikh commented on July 22, 2024

Problem not resolved yet. I have installed python 2.7.15 (most updated) and OMSAgent-1.4.1. Still zombie process against omsagent stick with in memory (RHEL7.4)

from oms-agent-for-linux.

silverl avatar silverl commented on July 22, 2024

I saw the same today. I put a /etc/cron.daily in place to restart it nightly and kill all processes. Stopping omsagent service does not clean up all processes. My cron script looks like this:

#!/bin/bash
systemctl stop 'omsagent*'
pkill -u omsagent
systemctl start 'omsagent*'

from oms-agent-for-linux.

c-arshaikh avatar c-arshaikh commented on July 22, 2024

I have ansible in environment, normally I executes ad-hoc command 'kill $(ps -eo stat,ppid|grep -w Z|awk '{print $2}'|tr "\n" " ")' to clean up all dead processes if any. My concern is to mitigate this issue from root cause as I already updated newer version on the OMSAgent and associated dependencies.

from oms-agent-for-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.