Questions tagged [memory-usage]
The amount of memory required by a program or the system for a specific task.
600
questions
0
votes
1
answer
52
views
which memory limit applies when php performs a MySQL query
If I run php as FPM, I can set my memory limit in php.ini or .user.ini. PHP can perform a MySQL query, and I can set memory limits in /etc/my.cnf for for instance the innodb buffer pool. If PHP runs ...
0
votes
0
answers
22
views
How to find memory consuming request in mongodb
There is a small(4 replicas) mongodb cluster(replicaset). Every node is 24GB ram with 8GB wiredtiger cache size.
Cluster is used by many (about 100) applications which do few hundred requests per ...
0
votes
0
answers
26
views
VPS memory full, no process using it, no ballooning, no tmpfs
I'm using a 512MB VPS which is just running Apache (no traffic) and a crontab backup to Onedrive using Restic every couple couple of hours.
I'm experiencing high memory and moderate swap consumption, ...
0
votes
0
answers
6
views
Is that possible to monitor mysql in cloudwatch?
I have some server in EC2, In that i have configured memory/disk usage metric in cloudwatch it is showing overall usage but i want to check memory of particular path How to check that? Is that ...
1
vote
1
answer
158
views
High process memory usage (VmRSS) on rocky 8 vs. centos 7.7 for essentially everything
We're migrating some servers from centos 7.7ish to Rocky linux 8, and we're finding just about every process is using 20-50% more memory, causing machines to lock up.
For example, sh on centos:
# sh -...
0
votes
1
answer
76
views
PHP-fpm consuming most memory
My Memory and swap memory is being used mostly by php-fpm which results in slow response from server. below is the output of top command. Kindly suggest
Also my php-fpm conf file settings are as ...
1
vote
1
answer
66
views
Linux: How to check total number of bytes written to memory by a process
Note: I know about the commands like top but I am interested in knowing the number of bytes written to memory and also rewrites (number of times storing to the memory happened)
0
votes
1
answer
107
views
Process memory-usage mismatch in a Kubernetes sidecar container
I have a sidecar container with the following resources:
resources:
limits:
memory: 512Mi
requests:
memory: 64Mi
However, when I run top, I see this:
envoy & pilot-agent seem to be ...
0
votes
2
answers
49
views
Varnish 6 bans_persisted_bytes ballooning, but memory usage is fine
In a Varnish 6 server I'm responsible for, there are short bursts of very many bans. These are the result of an application I am not able to modify. This has caused RAM usage to very quickly balloon ...
0
votes
1
answer
393
views
Using `top` command shows PHP FPM processes using more memory than available
I've read this answer about understanding top, as well as man top, but I think I still have trouble turning the presented data from top into actual information.
I'm logged on an Amazon EC2 instance ...
0
votes
0
answers
110
views
Azure Service Plans - Windows VS Nix high memory usage
We're seeing HUGE differences between Windows app service plan usage and Linux app service plan usage, when both apps are idle.
The difference is circa 300mb, which when we're talking a few app ...
0
votes
1
answer
63
views
Do I need more memory?
I am running a website from an AWS EC2 instance (potentially multiple via Elastic Beanstalk) which over the last 24 hours shows memory percentage used consistently at 60 percent baseline, climbing to ...
0
votes
0
answers
25
views
How to perform postmoterm analysis of high usage of CPU/RAM and nonresponsiveness on Ubuntu?
Recently one of my dev server experienced very high usage of CPU (1 out of 2 cores completely used) and RAM(near 100%), and system didn't respond to either SSH, web requests(by apache), nor websocket(...
0
votes
1
answer
52
views
Identifying source of memory drain on Windows Server 2019
Every Saturday night around midnight the server in question experiences a sudden loss of available memory. Over the course of about 35-40 minutes the available memory drops until the OS is unable to ...
0
votes
2
answers
271
views
High iowait, swap nearly always fully in use
I'm often experiencing slowness on a large server that is used by several users simultaneously, with many CPUs (72) and a decent amount of ram (125gb).
Granted, the server runs a lot of stuff so gets ...
0
votes
1
answer
351
views
DIMM cards + what is the meaning of - Configured Clock Speed
we add the following DIMM card in our DELL server ( 16G memory ) , OS is RHEL 7.6 version
as we can see the speed is - 2400MHz
but the - Configured Clock Speed: is only 1866MHz
so I guess that value ...
1
vote
3
answers
1k
views
How to monitor memory usage continuously with Linux?
I have a daemon service application runing a Ubuntu server(20.04.1).
The total phisical memory is 2G, and the swap space is 4G.
Sometime my service was killed by OS quietly, eventhough I add ...
2
votes
1
answer
988
views
Limit php-fpm memory usage on a constrained server
I "move" this question from superuser as I think it's more appropiate here. I've actually found sort-of duplicate questions, but none has solved my problem.
General scope
I have a Nextcloud (...
0
votes
1
answer
953
views
Why does writing to a workbook of a few MB with Python's openpyxl module eat Gigabytes of RAM?
I found an old code on a legacy server that writes from a dataset of roughly 20 columns and >60K rows item by item to an Excel file using openpyxl. It does this by filling each cell on its own (the ...
6
votes
2
answers
2k
views
High swap usage on Ubuntu server
This is what the free command reports on a server that is running a Spring Boot application behind an Nginx reverse proxy:
$ free -h
total used free shared buff/...
1
vote
1
answer
210
views
Why is my server's RAM usage growing all day, then dropping at midnight?
My server has started showing new behavior with regard to memory usage.
It used to stay steadily around 40% usage, but now it steadily rises up all day, reaches about 58% at midnight, then instantly ...
0
votes
1
answer
1k
views
PHP FPM cycles causing huge RAM consumption
A couple of ubuntu servers, using php8.0 / php8.1, with NGINX as a webserver, causing the problem, that my memory is filling up - based on the incoming traffic (req/s), so i have to restart the fpm ...
2
votes
1
answer
270
views
oom_reaper: MongoDb out of memory
We run a small mongodb replica set on three bare metal servers (no virtualization, no docker/kubernetes) with Debian 11 and mongodb 5.0.6:
machineA: 128GB RAM, 1TB disk, PRIMARY
machineB: 128GB RAM, ...
0
votes
1
answer
588
views
Where is my RAM? Memory leak?
I have a bunch of servers. It's a mix of baremetal, VMs. All running Ubuntu Bionic.
This issue has been observed on both types.
FYI, I have read similar questions and I've read the answers. I believe ...
2
votes
2
answers
8k
views
Free up memory in Windows Server 2019 for SQL Server instance?
We have Windows Server 2019 Standard (x64) with 64GB memory.
The screenshot below shows the memory usage at 96% with the SQL Server Windows NT running and using 344.5 MB.
This is the Task Manager ...
1
vote
0
answers
657
views
Memory usage: big difference in `free -m` and htop as well calculation of used memory in htop compared from /proc/meminfo
I'm aware of this question https://stackoverflow.com/questions/41224738/how-to-calculate-system-memory-usage-from-proc-meminfo-like-htop
Answer seems outdated regarding memory usage and this question ...
0
votes
1
answer
723
views
Determine how many memory each process use - Windows
On a Windows 2019 server equiped with 24 GiB of memory, only about 1 GiB is free.
But when I use Task Manager or Process Explorer, no process use more than some MiB.
If I add the memory used by each ...
0
votes
1
answer
382
views
Nagios check_nt MEMUSAGE average
there is a method to check the memory (RAM) usage by the average in windows? (Like CPULOAD -l minutes)
1
vote
1
answer
2k
views
How can I see the memory content of nginx process?
Nginx 1.20.1 server working as a reverse proxy consuming a lot o memory and making the service stop requiring a system reboot. ModSecurity library is also configured on Nginx.
You can see in the next ...
0
votes
2
answers
456
views
MySQL "Cannot allocate memory for the buffer pool" at 73% memory usage?
I am hosting a WordPress website on a DigitalOcean droplet (1GB RAM). The website's MySQL database crashes occasionally, which causes the website to show "Error establishing database connection&...
0
votes
1
answer
2k
views
How does memory and memoryReservation work for Tasks running on EC2 ECS?
EC2 ECS lets you specify memory and memoryReservation for both ECS tasks and the containers running within those tasks. I understand that memory and memoryReservation on the container settings map to ...
1
vote
2
answers
2k
views
Limiting ARC Size for the proposed system
I have a pool of 5 x enterprise 12Gps SSD that I use for internal storage for a proxmox server. This pool is used to stand up VMs and containers.
The problem is that it is eating up a lot of my ...
0
votes
1
answer
368
views
PHP5 to PHP7 unexpected increase in memory usage inside container
Last week we updated several wordpress sites which are running Alpine Linux as containers inside a host (Ubuntu 20.04) through LXD.
A summary of the update is as follows:
Alpine Linux v3.8 -> 3.14
...
1
vote
0
answers
428
views
apache httpd using a lot of RAM memory and producing spikes in short time intervals
I have a problem with one of my servers.
Web server works well in 'normal' time period but one or two times per day there are spikes in RAM memory usage.
I put the Zabbix monitoring tool there, and ...
-1
votes
1
answer
93
views
Obtaining the CPU L2 shared memory percentual of usage on Linux machine
On Linux based systems, how can I estimate or maybe read the CPU L2 shared memory % of usage?
2
votes
1
answer
670
views
What does buffered, cached, free, slab and used mean when monitoring memory use on GKE?
I am running some compute nodes on GKE and when I look on their memory usage in metrics explorer I see:
It is clear to me what used and free mean. But how about the other states?
The official ...
0
votes
0
answers
999
views
My Ubuntu 20.04 server is using A LOT of memory
I run a web-app on this server, and I run node.js programs with Elasticsearch. My server has 16GB of memory, but it constantly uses over 15GB at all times. I know that I can limit my Elasticsearch ...
0
votes
1
answer
191
views
Show guest memory utilisation in vCenter
Is it possible to record and show the amount of memory that a Windows guest OS is using in vCenter? In this blog post VMware recommends using the guest OS memory counter for capacity planning. However,...
-3
votes
1
answer
40
views
Is there a program to diagnose and summarize why my mchine is slow? [closed]
Is there a program that will tell me why my server is slow? What is being over utilized? CPU / Memory / Disk / Network ... and what processes are driving that utilization? I want a program that can ...
0
votes
1
answer
206
views
Benchmark script performance against CPU/RAM consumption for different parameters
I have an image processing shell script that can be provided with different sets of parameters that all produce a valid output for me. I'm trying to identity the set of parameters that has the lowest ...
1
vote
0
answers
75
views
Assigning CPU and MEM usage variables in PBS/TORQUE
I asked this question at meta.stackoverflow.com; they said it was the wrong forum
I am using the FALCON assembler (for genomes by PacBio; https://github.com/PacificBiosciences/pb-assembly) and it's ...
0
votes
2
answers
319
views
Why cannot use buff/cache?
It seems mysqld allocates too much memory as buff/cache:
free -m
total used free shared buff/cache available
Mem: 990 448 96 36 ...
1
vote
0
answers
56
views
ASP.NET Core 2.0 Application Restart - Memory Usage
I have an ASP.NET Core 2.0 (NopCommerce 4.0) application on IIS v.1607
When my process arrives at (approximately) 1300MB of memory, the web site stops responding, and after some minutes the ...
2
votes
2
answers
2k
views
MariaDB memory spikes and crash
We are running a MariaDB 10.5.8 server on GKE with 16Gb of RAM. The server have multiple times a day unexpected memory usage spikes that crash the server
1day memory usage graph
(orange line is k8s ...
0
votes
0
answers
161
views
Why apache2 ocuppied too many memory and took a long time to release the memory?
I have installed ubuntu 16.04 with 16GB Memory and 8 CPU. When I start an apache program, it occupied lots of Memory and took long time to release.
For example, start the program first time, the ...
3
votes
0
answers
525
views
What is using (kernel) memory?
I know this kind of questions about memory usage have been asked several times, but unfortunately none seem to answer our current problem.
We are currently running an AWS EC2 instance with the ...
1
vote
2
answers
984
views
Mysql filling all the buff/cache memory
The more time the server run, the more buff/cache Mysql processes use, i'm at 95% right now and only a server reboot free the buff/cache memory. None of the mysql commands free it on the go.
Is it a ...
0
votes
0
answers
43
views
Messagebus is using more than 4 GB RAM
I have just checked my Server and it is running relativly low on RAM. There are currently no users on anyone of the Services Installed (Jitsi, Rocket.Chat, OnlyOffice Workspace) as they're all still ...
1
vote
1
answer
1k
views
Memory used but not reported on Linux
I have 2 servers running the same applications, but one is miss-reporting memory by around 400mb (out of 1GB) and I cannot figure out where that memory is being used. I've compared the output of /proc/...
-1
votes
1
answer
255
views
Server memory slowly increasing linerarly over time
I am running an Ubuntu 14.04 LTS server with a number of processes on it, mostly Apache and MySQL to support some small websites and projects I am hosting. However, over the past two months I have ...