Giter Site home page Giter Site logo

Comments (5)

ifutant avatar ifutant commented on May 21, 2024

Hello we are experiencing a similar issue. Restarting the service via '/opt/omi/bin/service_control restart' resolves the high cpu condition for a few days until it dramatically rises once again.

# /opt/omi/bin/omiserver --version /opt/omi/bin/omiserver: OMI-1.2.0-35 - Thu Mar 2 17:03:20 PST 2017 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 51594 root 20 0 58176 13384 1680 R 100.0 0.2 10500:12 omiserver

$ ps -p 51594 -o %cpu %CPU 43.8

$ cat /var/opt/microsoft/omsagent/run/omsagent.pid 52379 $ ps -p 52379 -o %cpu %CPU 0.1

# cat /var/opt/microsoft/scx/log/scx.log

[scx.core.common.pal.system.process.processinstance:434:54076:140657149300480] Proc status reader failed to load. 2017-08-14T00:40:11,157Z Warning [scx.core.common.pal.system.process.processinstance:434:54076:140657149300480] Proc status reader failed to load.

No entries in the omi logs.
/var/opt/omi/log
-rw-r--r--. 1 root root 0 Jul 27 02:44 omiagent.root.root.log
-rw-r--r--. 1 root root 0 Apr 5 20:11 omiserver.log

image
scx.log.txt

from powershell-dsc-for-linux.

sadjadbp avatar sadjadbp commented on May 21, 2024

same issue here. even uninstalled by running ./opt/microsoft/scx/bin/uninstall and deleted the whole /opt folder but it got installed again and went to 50 percent cpu uage and also network output is very high like 600mb in average.

in VM extensions azure poratnel OMSAgent is in transition state. When uninstall it, it's ok for some hours then again it goes into this state.

from powershell-dsc-for-linux.

robinduckett avatar robinduckett commented on May 21, 2024

Problem still exists, extremely frustrating.

from powershell-dsc-for-linux.

DivyaGe avatar DivyaGe commented on May 21, 2024

Hi ,
I am also facing the same issue and OMI server is consuming ~76% of the memory in the machine due to which other services on my machines keeps failing.

High CPU usage by OMI server

cat /var/opt/microsoft/scx/log/scx.log

2017-08-09T01:53:03,298Z Info [scx.core.providers:254:14852:139877299783744] SCX Provider Module loaded
2017-09-27T15:46:50,928Z Warning [scx.core.common.pal.system.process.processinstance:434:14852:139877126536960] Proc status reader failed to load.
2017-10-12T07:12:50,427Z Warning [scx.core.common.pal.system.process.processinstance:434:14852:139877126536960] Proc status reader failed to load.
2017-11-04T18:48:50,363Z Warning [scx.core.common.pal.system.process.processinstance:434:14852:139877126536960] Proc status reader failed to load.
2017-11-27T12:38:50,781Z Warning [scx.core.common.pal.system.process.processinstance:434:14852:139877126536960] Proc status reader failed to load.

#OMI server memory usage
76.1 14789 root /opt/omi/bin/omiserver -d

#/opt/omi/bin/omiserver --version
/opt/omi/bin/omiserver: OMI-1.2.0-35 - Thu Mar 2 17:03:20 PST 2017

#/var/opt/omi/log/
total 24K
-rw-r--r--. 1 root root 21K Sep 4 13:14 omiserver.log
-rw-r--r--. 1 root root 0 Aug 22 2016 omiagent.root.root.log

Has anybody able to solve this issue yet ?
Appreciate the help

from powershell-dsc-for-linux.

paulcallen avatar paulcallen commented on May 21, 2024

@palladia

What version of OMI is installed on these machines? Running /opt/omi/bin/omicli id can help with that. Certainly, most of the comments implies it is an older version of OMI.

errno 24 = Too many open files

We did fix an issue related to this some time ago, maybe around OMI version 1.3.*. Of course there may be more issues we are not aware of.

lsof | grep omi may help to determine what files are actually being leaked.

I would recommend upgrading OMI Home Page. New packages are available there, or instructions on getting them from the Microsoft package repository. OMI does support upgrade.

from powershell-dsc-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.