Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [memory-usage]

The amount of memory required by a program or the system for a specific task.

0
votes
0answers
8 views

More efficient sitemap to handle google crawling

My server running apache is getting slammed by googlebot. I have sitemap index which points to several sitemaps with 50000 entries each. Google is requesting the sitemaps so aggressively (several ...
0
votes
0answers
8 views

How do I find memory leak of my application? [migrated]

I have written a windows service using .NET technologies. I am using `JetBrains dotMemory' tool to understand the memory leak. I am getting below report but as a new bee I am not sure how to read ...
0
votes
1answer
13 views

How can I predict whether or not memory will bottleneck a CPU

My question is general, though I have a specific example. My question is this: How can I predict whether a powerful CPU will be fully exploited in a scenario with memory that is (relatively) low? My ...
0
votes
0answers
23 views

Windows high active memory for mapped files on database files

When we read all data from a database we're seeing excess memory usage on our database server. Could not find the memory allocated to any processes but using rammap can see that windows is showing ...
0
votes
0answers
46 views

MySQL's innodb_buffer_pool_size doesn't seem to have any effect on RAM usage

(I have checked similar questions, none of them cover my situation) I'm trying to increase MySQL 5.7 memory usage on my Ubuntu 16.04. Before my changes mysqld was using about 8% of RAM out of 8GB ...
0
votes
1answer
73 views

php memory_limit vs kubernetes resource memory limit

I'm new to Kubernetes and I'm trying to figure out what resource limits I should set for my php webapp. My first guess is that if I have configured php fpm to use a maximum of 256M of memory then ...
0
votes
0answers
5 views

-/+ buffers/cache getting increased [duplicate]

I have a Linux system in which I am running some load . After 24 hrs of load I can see that there is an increase in the -/+ buffers/cache of 180 MB. -/+ buffers/cache: 3540 12410 Will it be the ...
1
vote
0answers
28 views

`systemctl show` outputs incorrect MemoryCurrent value

on one box, systemctl show get an incorrect value for unit memory usage: $ systemctl show crond | grep MemoryCurrent MemoryCurrent=18446744073709551615 18446744073709551615 == UINT64_MAX, this must ...
0
votes
0answers
135 views

Swap unused, high memory usage and swappiness at 100

I'm running a server with a number of game servers on it. My memory usage is very high, however there is almost no swap usage in comparison. My swappiness is set to 100 total ...
0
votes
0answers
101 views

Linux Mint Startup error due to insufficient disk space

Can you help me please to solve this issue? I am on Linux Mint 18.3. I use it for java script development. I have just Chrome, node and Visual Studio Code. Just couple days ago disk analyzer told me,...
0
votes
0answers
18 views

Does Apache httpd support special large pages/huge pages of memory?

Various applications support special large pages/huge pages of memory under various operating systems like Linux and Windows, e.g. Oracle with its SGA, Java using XX:+UseLargePages etc. I didn't find ...
0
votes
1answer
129 views

AWS Instance with 30 GB RAM, still running out of Memory and High CPU usage with small app

EDIT (15th June 2018) - I have resolved the issue. It was Postgres where some queries were taking more than 15 seconds. Most of the queries were for the same type of pages so I just removed that. This ...
0
votes
0answers
58 views

How to collect Process memory dumps in Windows

I am looking for a way to collect process dumps of user process in Windows using powershell. Essentially, when process is going beyond specified memory limit or process is about to get suspended ...
1
vote
0answers
19 views

Hugepages seems to be stuck

I'm running certain applications over DPDK, to be memory conservative, I'm continuously adjusting the number of hugepages by setting "nr_hugepages" echo 8192> /sys/kernel/mm/hugepages/hugepages-...
0
votes
1answer
23 views

used (linux) memory not equal to sum of VmHWM? finding missing memory

I have a server (virtual) running Linux (Ubuntu 16.04 amd64). It has 8gb memory allocated, and it's all being used, but i don't know by what. root@server:~# free -k total used ...
0
votes
0answers
98 views

CPU and Memory Utilization from F5 Device ( ADC Load Balancer ) - Node (Server) wise

Can somebody help me out to retrieve the CPU and Memory utilization details for the list of nodes available in the F5 inventory using SNMP ( from F5 )
0
votes
0answers
19 views

How much memory is usually allocated for mbufs in VxWorks and how to check this?

I would like to know how much memory is allocated for mbufs in my VxWorks distribution. I use it as a DHCP server and for other small tasks and it seems to run out of mbufs. How can I see how much ...
2
votes
1answer
292 views

What is the unit of a “page” in /proc/<pid>/statm

According to the linux man pages of proc(5): /proc/[pid]/statm Provides information about memory usage, measured in pages. The columns are: size (1) total program size (...
0
votes
0answers
29 views

Memory utilization in Centos OS 6.6 (Virtual and RSS)

My C++11 application run for days without reboot to perform fluid simulation. After running it for 6days, this is the memory footprint: RSS 54MB VSZ 5.6GB Why virtual memory increased to 5.6GB? There ...
1
vote
1answer
129 views

Page cache usage listed in cgroup's memory.stat file

A cgroup's memory.stat file lists the page cache usage for that cgroup (in cache and total_cache fields). How is the page cache usage derived? For example, file a.txt is opened by both cgroup A and B....
1
vote
1answer
168 views

The memory usage reported in cgroup differs from the free command

Why would the free command be reporting a much different mem usage number vs cgroup? $ free -b total used free shared buff/cache available Mem: 2096914432 ...
1
vote
2answers
237 views

Nginx high memory usage duplicate SSL

We have an NGINX running with a lot of virtual hosts (~600) Unfortunately the NGINX workers are each using a large chunk of residential memory (~6GB) When inspecting the memory (strings) it yields ...
1
vote
0answers
17 views

Cache memory with Chroots

I have a server with many chroots, each one used by a different group of users. Most of them use Jupyter Notebooks that store variables in memory for as long the notebooks remain open. The output of ...
0
votes
0answers
788 views

“bash: fork: Cannot allocate memory” for any command - how to prevent this at OS level?

I was testing how an Ubuntu 16.04 machine handles low memory conditions and had several suspended jobs that that used up almost all the RAM on the server. I was still able to run normal bash commands ...
2
votes
3answers
278 views

Easiest way to see linux memory usage when a process is killed

I've got a build server where dmesg is reporting that it is having to kill processes because it is running out of memory. As the system is running many builds and other processes concurrently, I need ...
0
votes
1answer
56 views

Cannot explain memory occupancy in linux

I'm working on a debian 9.3, the free command return total used free shared buff/cache available Mem: 131940516 100433176 29189576 33940 ...
0
votes
0answers
197 views

Memory error on GCP Compute Engine virtual machine

I created a virtual machine on GCP Compute Engine with Windows Server 2016, with n1-highmem-4 (4 vCPUs, 2.2 GHz CPU, 26 GB memory) and 50GB of disk size at europe-west2 datacenter location. I ...
1
vote
0answers
67 views

Inaccurate memory usage reading under OpenVZ?

I have got an OpenVZ-based VPS running CentOS 7.4 (Linux hostname 2.6.32-042stab116.2 #1 SMP Fri Jun 24 15:33:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux). The workload is a single Java application. ...
0
votes
0answers
40 views

Memory and NIC requirements for 650 Concurrent Connections [duplicate]

I need to spec out a server that could have a maximum concurrent connection of 650. This is a MySQL server that on avg should be handling 3 read/writes per second. My thought was that any (modern) ...
0
votes
0answers
96 views

PHP memory_get_usage compared to oom-killer logs

On one of our servers, we get some PHP processes killed very often. I added some logs in the PHP scripts to try understand where all this memory goes, but the numbers I find on PHP side do not relate ...
0
votes
0answers
27 views

how much of a process's memory is actively used?

I've got a process that locks several gigs of memory using mlock(). Is there a way to tell how much of that memory is "actively" used versus how much, say, has not been accessed in the past x number ...
0
votes
1answer
79 views

How to determine which processes have unevictable memory?

looking at /proc/meminfo, I can see the total amount of unevictable and mlocked memory on the system: Unevictable: 23265536 kB Mlocked: 23265536 kB How do I determine which processes are ...
1
vote
1answer
680 views

htop shows 33% memory usage, but its Mem bar is full

When I run htop on a remote computer its Mem bar shows that memory is full and even swap shares 2.3G(also I can see the system works very slow). But htop's MEM% column shows about 33% memory usage. ...
6
votes
4answers
678 views

How is RAM and CPU allocated if no manual changes are applied to an Ubuntu Server

We have an Ubuntu Server (16.04) running R-Studio Server where we do statistical simulations. Those simulations are sometimes heavy on RAM and CPU so i would like to know how memory and RAM is ...
1
vote
1answer
90 views

dd using all memory and swap

I have a dedicated Centos 6.9 linux server with a company that crashed due to hardware failure and has been restored with the old HDD's on a usb caddy. I am trying to move lvm partitions over to the ...
1
vote
0answers
48 views

Azure memory peak

We're hosting a site on Azure as an App Service and today we had an unexpected memory behavior. We had about 200 concurrent users (which for our application means about 3K requests/min) and it was ...
0
votes
0answers
349 views

What is the issue with Windows Search service using 5GB of RAM

Background: Windows Server 2012 in a small office, running since a couple of years with 8GB RAM installed. Yesterday users reported a slow SQL server so I checked the server and 8/8GB was used. I ...
2
votes
1answer
124 views

How to detect if a process was killed by cgroup due to exceeding a limit?

I have a global cgroup defined in /etc/cgconfig.conf that limits the amount of memory. Everytime a user runs a command, I prepend cgexec to add the process and its children to the controlled group. ...
0
votes
1answer
64 views

Is it safe to continue working during btrfs balance operation?

I have a rocks cluster system with a NAS using a btrfs file system in a RAID 10 configuration. Recently we have been facing "no space left on device" errors that I have finally tracked down to ...
0
votes
0answers
72 views

Why is mounted nas showing 0 inodes on users partition?

I am using a NetGear ReadyNAS machine as a NAS for our server. The server is a linux CentOS 6.6. The server is run using Rocks cluster, with all our users' home directories located on the NAS. My ...
1
vote
0answers
245 views

Find out CPU and memory usage percent of Docker container within its running environemt

Does anyone know how to get resource consumption of a specific Docker container within its running environment? Outside of a container, we can get it easily by typing a command "docker stats". ...
0
votes
1answer
75 views

Server 2012 R2 RDSH repeated high modified memory causing OS issues

We have multiple 2012 R2 remote desktop session hosts running on ESXi 6.5U1, and have noticed this week that most of these VMs have started experiencing an issue whereby; Repeatedly through the day ...
0
votes
0answers
164 views

Hyper-V Dynamic Guest Reporting Wrong Memory Usage

So I've been trying to wrap my head around something I've noticed in Hyper-V linux guests. The memory reporting inside the guest is broken when I enable dynamic memory in Hyper-V, or I at least prefer ...
1
vote
0answers
31 views

program on cluster exceeds RSS memory limit

I have been trying to run a python script on a computer cluster but keep running into a error saying that RSS memory limit exceeded. I am using this program to analyse a data set consisting of around ...
0
votes
0answers
180 views

WSUS CPU & MEM issue

We have hosted WSUS services on Windows Server 2008 R2. The sqlservr.exe and w3wp.exe is using lot of memory. But as per observation The physical memory is 50% used but CPU usage is more than 90%. ...
4
votes
0answers
120 views

AWS ElastiCache Redis - Why has SwapUsage slowly climbed just over 100MB dispite having FreeableMemory available?

Starting around 7/28/2017 the SwapUsage started to climb for reasons I cannot figure out. I have spent many hours Googling and reading AWS documentation. At no point do we run out of FreeableMemory. ...
-1
votes
2answers
444 views

Windows Server Shared Ram for remote desktop users

We want to setup a Windows server with a number of User CALs so that we can work in the cloud. We wanted to do a minimum of 4 Gigs of RAM per user, but that is quite expensive. Is it possible to ...
-1
votes
2answers
42 views

Which resources gets freed on rebooting the linux server?

I got this msg -bash: cannot create temp file for here-document: No space left on device on server, so when I checked size with this df -h command, I got following result Filesystem ...
2
votes
0answers
274 views

Understanding rabbitMQ memory details

I'm trying to analyze rabbitMQ memory issue. Sometimes the server will run out of memory when most of the queues are empty and there are very few messages pending. What can I learn from this memory ...
0
votes
1answer
77 views

Can't find process using a quarter of memory

I am running a small vServer with Debian 9 (stretch) and 2GB RAM. For a few months I am somehow missing about 500MB RAM and which I cannot find out how they are used. When I run free -h ...