Comments (5)
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
from powershell-dsc-for-linux.
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.
Problem still exists, extremely frustrating.
from powershell-dsc-for-linux.
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.
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)
- No Restriction to Root Group
- Module signature validation is enabled by default
- Clarify core C library version requirements.
- selinux prevents logroate on omsconfig logs
- prefer python3 over python2 HOT 4
- I can't generate a .mof file with DSC using Rocky8.4 HOT 1
- Question -OMS and DSC installation for Rhel8.2 HOT 1
- DSC Engine Error for RHEL8.2
- Question : Using nxService resource we can reload systemd services ?
- DSC Extension for linux. Error in the dsc.py
- nxFile doesn't create file if it's deleted HOT 1
- Getting error Could not find the type of DSC resource class MSFT_nxPackageResource. HOT 1
- DSC limited to 23KB even w/ partial conf
- dsc v1.2.4 does not run to completion when a SetScript (from nxScript) returns non-zero exit code
- Received "Two successive configuration applications from OMS Settings failed" error on linux server with OMS agent
- periodic dsc_host segfault HOT 1
- Support for Oracle Linux 8
- Kali command lines
- Git-DsCResource not working after updating pwsh to 7.4 HOT 1
- Linux NX module DSC issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell-dsc-for-linux.