Questions tagged [memory-usage]
The amount of memory required by a program or the system for a specific task.
605
questions
0
votes
3
answers
95
views
How do I reserve Debian 12 Memory for kernel and for XFCE desktop to prevent out of memory errors?
on debian 12
CAN NOT PREVENT terminal python program from crashing desktop
grub command
GRUB_CMDLINE_LINUX="quiet splash memmap=15G$10G"
sudo update-grub
wrote these scripts
#!/bin/bash
# ...
1
vote
0
answers
16
views
Can memory compaction cause a high perceived memory usage?
This is a bit of a long shot, but we're currently experiencing some issues with one of our Dockerized Java applications: Stackoverlow question
We've set the docker memory limit to 2GB, which is way ...
0
votes
0
answers
278
views
Discover process that exhausted my memory and CPU limits on Ubuntu
I have a DigitalOcean droplet running Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-89-generic x86_64). My website went down at approximately Fri Dec 01 6:48 AM GMT. From var/log/apache2/access.log, I ...
2
votes
1
answer
949
views
optimizing PHP-FPM and Apache conf - how much RAM is actually used by each process?
I am preparing a new server (v5) to replace one that I currently have in production (v4). These machines run Ubuntu. The v5 server has PHP-FPM 8.2 and Apache 2.4.52 in mpm_event mode. I recall from ...
0
votes
1
answer
30
views
Pin point performance issue in the past
I experienced a decrease of performance on my server and I was wondering if there is a possibility to lookback in time on a rhel8 machine. Where I can pinpoint which process claimed a lot of resources ...
12
votes
2
answers
2k
views
Limit the RAM available to RHEL8
We have some tests we need to run in a server with 32Gb RAM.
All the servers we have access to have 64GB and we can't physically change this.
Is there some way of telling RHEL to use only some fixed ...
0
votes
0
answers
201
views
How to isolate Docker containers so that they are not sharing memory from a shared object / dynamic library?
I have a third party application that our pipeline runs on a a build server, within a dedicated Docker container, spun up fresh each time, just for this job. The application is very memory & CPU ...
0
votes
1
answer
531
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
85
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
66
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
54
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
757
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
490
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
329
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
476
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
78
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
1k
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
1
answer
107
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
1
answer
158
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
630
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
694
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
3k
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
2k
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
2k
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 ...
7
votes
2
answers
4k
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
365
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
3k
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
425
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
849
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 ...
3
votes
2
answers
14k
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
1k
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
1k
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
547
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
3k
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
690
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&...
1
vote
1
answer
3k
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 ...
3
votes
2
answers
5k
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
614
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
...
2
votes
0
answers
526
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
101
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
1k
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
1k
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
419
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
42
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
314
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
113
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
459
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
106
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
218
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 ...