Omiagent is consuming almost all the memory in centos VM - memory-leaks

On Azure a few of my VMs are suffering from the omiagent suddenly consuming too much memory up to 60-70% or more.
What can I do to prevent that.
Right now all I can do is restart omiagent.
sudo scxadmin -restart
Do you have any tips or solution ?
Thanks in advance
Cyril

Related

Rapid gain in storage use with gitlab not exchanging any files

I am currently running Gitlab CE. I have an issue where it is constantly gaining space,
There is 1 current user (myself). But sitting idle it gains 20gb of usage in under an hour for no apparent reason (not pushing or pulling or even using it, the service is simply live and idle) until eventually it fills my drive (411gb of free space before the installation of Gitlabs. takes less than 24hrs to fill it.).
I cannot locate the source of the issue, google seems to like referring me to size limitations, and that is fine if I needed to increase that which I don't, i have tried to disable some metrics and the safety features such as "Health checks" in an attempt to stop it from doing this but with no success
I have to keep reinstalling it to negate the idle data usage. There is a reason for me setting it up, but I cannot deploy this the way it is. Have any of you experienced this issue? Is there a way around this?
The system current running it: Fedora 36 running the installation on a 500GB SSD, 8 core Ryzen 7 Processor.
any advice to solve this problem would be great. Please note I am not an expert.
Answer to this question:
rsync was scheduled automatically and was in a loop.
Removed rsync, reinstalled it, rescheduled rsync to go on my schedule, removed the older 100 or so back ups and my space has been returned.
for those that are running rsync, just check that it is not running too closely and is detecting that its own backups are there. as the back ups i found were corrupted.

What causes frequent GCP Ubuntu server restarts?

I have an e2-medium GCP Compute Engine instance running my application, for a while now. It has worked just well, however recently I have experienced frequent auto restarts (3 times in the space of 2 weeks), nothing in the logs points me to the reason for this, but it keeps repeating itself. Can someone please tell me what could be the problem?
VM's in GCP are not guaranteed to be up 100% of the time. Restarts could be cause by anything from hardware failures to Google performing some maintenance on it's physical servers (hardware repairs or Software patching).

Azure Redis timing out

We've been having problems with Redis in Azure lately. A lot of timeout errors. I had a read of http://azure.microsoft.com/blog/2015/02/10/investigating-tim…
Looking at one of the CPU points I've done a "INFO CPU" and here's what it tells me:
used_cpu_sys:88.72
used_cpu_user:94.69
used_cpu_avg_ms_per_sec:0
server_load:0.45
event_wait:9
event_no_wait:19
Am I right thinking that the CPU is being killed by the OS? Server load is almost nothing but the CPU usage is high. Any ideas how to diagnose further and fix that?
there are several reason for TimeOut Exception using Redis on Azure.
Here a good post that should help you
http://azure.microsoft.com/blog/2015/02/10/investigating-timeout-exceptions-in-stackexchange-redis-for-azure-redis-cache/

Azure - Windows Azure Virtual Machine Issue

I had a virtual machine fail, is there anyway to figure out why the machine became unresponsive? I have no way of connecting to the VM, as RDP does not appear to be responding. What are the options in this case, and or preventative measures that can be put in place to prevent this from happening in the future?
Thanks,
Steve Armitage
If you're in a situation like this there's not much you can do but contact Microsoft Support. I've always found them helpful, but you do need to be aware that root cause analysis of a problem can sometimes take a while. As far as preventing this problem from happening again, that depends on the problem. I've encountered two such cases, once it was because of a memory leak in our code so it was something I could fix, the other it was something only MS could fix so it's hard to say.

IIS w3wp process hanging og blocking access to the website

Every night my IIS hangs with 3 w3wp.exe processen in the task manager list. It is not possible to kill the w3wp task using the most memory. Not even iisreset helps. I have to reboot the machince to get rid of the w3wp prosess.
Any suggestions?
Added: I have reduced the maxmemory of the default app pool to 120, but still the process goes above 200mb.
In the app-pool, set a limit on memory use, that will restart the app. when it uses too much memory. Might help.
From the screen shot, I cannot see problems such as high CPU utilization or huge memory usage.
You can learn how to use Debug Diagnostics to capture a hang dump and then analyse the dump with Debug Diagnostics. Its report should provide you some hints.
http://www.microsoft.com/downloadS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en
If you cannot do that yourself, I suggest you contact our Microsoft Support team.
I did not find a permament solution to my problem, but when i removed some web sites from my vps and reduced the max memory allowed for the default app pool the situation improved. I also removed the admin website which ran under its own appPool.

Resources