Questions tagged [memory]

Synonym for: RAM - Acronym for: Random Access Memory, a type of computer data storage.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

ESXi 6.5 - Guest Mem% doesnt match with Guest Resource Monitor memmory usage inside VMs

I have strange issue with ESXi Host : in preview of VM, it shows not valid Memmory usage informations when compared to Resource monitor inside Guest OS, as example : VM name Assigned memory / ESXi ...
3 votes
2 answers
4k views

php-fpm: why do I have a process memory usage higher than memory_limit

I know that there are a lot of related subjects, but I did not found my answer. I have a dedicated server with 32Go of RAM (but I want php-fpm to use only 12Go max), and I have a php-fpm (7.2.13) ...
1 vote
3 answers
1k 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
69 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 ...
1 vote
0 answers
24 views

Why are compact_stall increasing on a system with Transparent Hugetable defrag set to 'defer'?

We're running a reverse proxying application within docker that is very network intensive. Dockerd is occasionally allocating memory using madv_hugepage, and we've observed this sometimes causes ...
9 votes
4 answers
31k views

MySQL memory usage is too high

I'm running Ubuntu 16.04 on a system with 64Gb RAM + 64Gb of swap partition. It's not a dedicated server so there're other processes running at the same time. Anyway when MySQL daemon is stopped, the ...
-1 votes
0 answers
19 views

Win 11: Pagefile disabled but virtual memory still exists [migrated]

On Windows 11 system, I disabled pagefile. Subsequently, 'Performance Options' shows 'Total paging file size for all drives: 0MB'. However, the virtual memory is still not set to zero and affects the ...
-1 votes
0 answers
30 views

What are the kinds of server workloads where LRDIMMs are better to avoid?

Reading articles like this and this, I started wondering if there is a more clear and simplified description on which "high speed and low latency" kinds of workloads LRDIMMs would not be ...
3 votes
2 answers
4k views

Slab reclaimable memory is not freed when needed

Correct me if I am wrong, but to my understanding slab reclaimable holds cached kernel objects which can be freed if needed. So if application needs to allocate more space, even if the 'free' memory ...
4 votes
1 answer
8k views

What is Slab, SReclaimable and SUnreclaim? What does Slab solve and how does it behave under load?

I have a server with 32 gigabytes of ram, with htop reporting 29 gigs used, with 4 gigs of swap in use as well. cat /proc/meminfo returns around 13 gigabytes of memory listed as SReclaiable. What ...
3 votes
1 answer
7k views

CentOS, kernel: out of memory

Hope you can help me with the following problem. We are running a CrushFTP service on a CentOS release 6.6 (Final) system. But nearly every week the service crashes. So I take a look at the logs and ...
92 votes
16 answers
70k views

Why drop caches in Linux?

In our servers we have a habit of dropping caches at midnight. sync; echo 3 > /proc/sys/vm/drop_caches When I run the code it seems to free up lots of RAM, but do I really need to do that. Isn't ...
0 votes
0 answers
23 views

How to change the batch size of pcp in linux kernel?

I increased the pcp->high via echo 8 > /proc/sys/vm/percpu_pagelist_fraction command, but the pcp->batch value still remains at 63. vm stats threshold: 125 cpu: 383 count: 103931 ...
2 votes
1 answer
564 views

Many segfaults, RAM failing?

I have a Proxmox installation that is unstable, both the host and LXC containers crash. I to find the fault I have tried swapping RAM, CPU and MB. I also did a fresh reinstall. But I'm still getting ...
4 votes
1 answer
1k views

ProLiant Gen8 Microsoft BIOS records 8GB put POST only shows 4GB

I've got a HP Proliant Micro Gen 8 server. I've had it a while with 1 4GB RAM stick installed. I've now installed another 4GB RAM stick, its the same type, except its not an HP genuine stick (...
0 votes
0 answers
77 views

Memory mapped files filesystem access over NFS performance

I'm debugging a system that is accessing files on AWS EFS, where the EFS reaches is peak throughput because of IO operations. I noticed that the application is sometime reading memory mapped files in ...
0 votes
1 answer
908 views

KVM: qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory

When trying to start a VM (1GB allocated) I have run into memory allocation issue even though I have more than enough memory on the system (16GB): error: Failed to start domain exampleVM error: ...
0 votes
1 answer
183 views

Almalinux 9 Failed to allocate memory

I have SingleStore DB CLI (Cluster in a Box) deployed in a AWS EC2 Instance r6i.4xlarge with Almalinux 9 OS. At the moment of load data by pipelines the following error appears: line 34: ER_MEMSQL_OOM ...
6 votes
2 answers
5k views

Cannot allocate available memory (even half!) on AWS EC2 instance

I have two slightly different AWS EC2 instances of the same type with a huge amount of memory (c4.8xlarge with 60GB of RAM). One of those instances is just a copy which has been launched from a backup ...
81 votes
3 answers
158k views

How does vm.overcommit_memory work?

When I use the default settings: vm.overcommit_memory = 0 vm.overcommit_ratio = 50 I can read these values from /proc/meminfo file: CommitLimit: 2609604 kB Committed_AS: 1579976 kB But when ...
1 vote
0 answers
76 views

How can I approach system-wide, per-process resource monitoring on Windows Server 2016 Datacenter?

Context: My team hosts multiple applications on a Windows Server 2016 box. For planning purposes, I'm interested in profiling CPU and RAM usage per application over time. Most of these apps are .NET ...
0 votes
1 answer
405 views

MS Exchange 2016 and high memory usage

Our MS Exchange 2016 instalation has a high memory usage in store worker and sometines this stop to receive then email from another server. What may be wrong in our instalation?
6 votes
1 answer
589 views

Does Windows zero out the memory pool after a driver frees it?

I am researching the possibility of overcommitting memory on a host where many Windows servers are running. The virtual machines are QEMU/KVM backed and managed by Libvirt. My current observation is ...
5 votes
1 answer
107 views

PowerEdge FX2s ram types

I have a PowerEdge FX2s modular server with two PowerEdge FC630 Blades. Does the RAM type in both blades need to be identical in terms of: 2133P / 2400T ? Ranks ? Module sizes symmetry ? I am new in ...
2 votes
1 answer
778 views

Calculation of Xeon server memory bandwidth

I am looking at a dual socket server based on the Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz The configuration looks like this. 4 memory channels per socket DIMMs are 8x32 GB DDR4 2133/1866 modules ...
2 votes
1 answer
6k views

AWS High Memory Usage. How to detect the cause?

I'm using Amazon EC2 instance t2.small. And the memory usage is always increasing up to > 90% usage. Memory usage > 90 % $ free -m total used free shared buffers ...
26 votes
3 answers
40k views

Linux not freeing large disk cache when memory demand goes up

Running Ubuntu on a 2.6.31-302 x86-64 kernel. The overall problem is that I have memory in the 'cached' category that keeps on going up and will not be freed or used even when our application needs it....
4 votes
1 answer
6k views

MariaDB using much more memory than it should

We are using MariaDB 10.3.32 on a Ubuntu 20.04.4 machine with 6 GB of memory, about 20 applications running on it. Databases are all InnoDB. Even with mostly default settings (see on the bottom), ...
8 votes
1 answer
4k views

linux guarantee or reserve memory for a specific process

Is there a way to reserve a specific amount of memory for a specific service/process? I would like to guarantee that OpenSSH always has enough memory available to it that it can accept a new SSH ...
1 vote
1 answer
146 views

Memory consumption on virtual server too large for applications being run

I have a Linux Ubuntu virtual server at Digital Ocean with the following specs: 1 vCPU, 2GB of memory, and 25GB of SSD storage. The server is running a single WordPress website with around 400 unique ...
29 votes
13 answers
58k views

Memory usage per user in Linux?

Let's say i have 20 users logged on my linux box. How can I know how much memory each of them is using?
3 votes
1 answer
354 views

What granularity does memory channel interleaving occur when enabled in BIOS?

Memory channel interleaving is a method of setting a physical address area which can be enabled in BIOS, so that all memory channels are alternately used to achieve best bandwidth and latency. I want ...
0 votes
0 answers
131 views

stressapptest shows FAIL result but memtest86 can't detect any error

I have a question about DIMM test (stressapptest and memtest86). I am using AMD Threadripper with 4x16GB Samsung ECC memory. stressapptest obviously designates there is something problem and this is ...
1 vote
1 answer
557 views

Is it safe to set RAM frequency beyond Intel's POR?

Memory in our SuperMicro servers runs on a somewhat lower frequency than it could and it seems to be artificially limited by the Enforce POR BIOS setting. SuperMicro warns on their website that "...
0 votes
0 answers
97 views

systemd show the maximum memory a .service has used

I can see the current memory usage of a systemd service with systemctl show -p MemoryCurrent update-data.service (after I've set MemoryAccounting=yes). Is there anyway to see, from systemd, the ...
4 votes
3 answers
1k views

What are the options to monitoring page cache usage?

In essence the Page Cache is a part of Virtual File System (VFS) which main purpose, as you can guess, is improving IO latency of read and write operations. In computing, a page cache, sometimes also ...
82 votes
9 answers
222k views

Dump a linux process's memory to file

Is it possible to dump the current memory allocated for a process (by PID) to a file? Or read it somehow?
0 votes
0 answers
116 views

production kafka clusters + How to optimize Page Cache

one of the importance things in Kafka production cluster is the page cache here is a good explains what is page cache PageCache is a typical read/write cache. The operating system uses the free ...
3 votes
3 answers
684 views

Why is this server reporting high memory usage

It seems that given the memory percentage of the processes listed, my server should not be at 98% memory usage. Why is the cumulative memory usage so high? top - 14:34:50 up 14 days, 22:54, 3 users, ...
0 votes
3 answers
5k views

HP Proliant ML110 G6 RAM Upgrade Issues

We have an HP Proliant ML110 G6 server running here at work which presently has only 8Gb RAM installed. The RAM presently in the system is Integral IN3T4GEZBIX or in other words PC3-10600 unbuffered, ...
0 votes
0 answers
20 views

Large consumption of resources when stopping Apache

During the stop of the apache service, the httpd -prefork processes take 100% load on all cores and take up all available memory, as a result of which the oom killer is triggered. Stop command: ...
2 votes
1 answer
3k views

udisks-daemon eating up all my memory

I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory. Is this just really aggressive caching or a memory ...
1 vote
4 answers
15k views

Ansible throws an “ ERROR! A worker was found in a dead state ” error

When I run a playbook that simply copies a directory from one place to another, ansible throws ERROR! A worker was found in a dead state Error. After some googling, it looks like this is caused by ...
1 vote
1 answer
5k views

How can I optimize ksm for my machine - 100% CPU usage and limited KSM Sharing (Proxmox)

KSM is constantly at 100% CPU usage which makes me believe I need to optimize the /etc/ksmtuned.conf configuration but I am not exactly sure what to set it as for this machine. As you can see from the ...
4 votes
1 answer
12k views

qemu process memory usage greater than guest memory usage

I have a physical machine with 24 GB RAM hosting a few VMs using libvirt-qemu. When creating VMs, I assign a lot of memory and no swap, so that the total of assigned memory can be greater than the ...
0 votes
1 answer
353 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
237 views

MCE Errors but no edac-util errors?

I have an older HP Z440 tower with 4x8GB ECC DDR4, running Proxmox VE 6.4. Recently, it started showing MCE errors every few seconds. I installed rasdaemon and can see that they are memory read errors....
-1 votes
1 answer
215 views

sharing the memory of a program between ec2 instances [duplicate]

Is it possible to combine the memory of ec2 instances? For example, let's say that I run a program that requires 2gb ram to run on one ec2 with 1gb ram instance, can I somehow share that program's ...
0 votes
1 answer
110 views

kernel messages are complained about memory.inspite all DIMM cards was replaced

we have few DELL machines ( with RHEL 7.6) , and as we replaced the DIMM cards on machines because the Erros that we seen from kernel messages after some time we checked again the kernel messages and ...
0 votes
2 answers
4k views

issue with server reached max_children setting, consider raising it

I have recently migrated 30 websites from my old server to new one, and now running on nginx as previously was running on apache. Everything works fine for all websites except for 1 website. I don't ...

1
2 3 4 5
41