In computing, memory refers to the state information of a computing system, as it is kept active in some physical structure.
0
votes
0answers
7 views
Memory Usage based on Process Name and not PID [on hold]
can some one please help me with a linux command/script to get the average memory utilization for process based on its name and not PID.
Note: I need to get the average memory usage for last 10 days
...
0
votes
0answers
20 views
Clarification in Memory occupied by a process [duplicate]
I'm currently monitoring the memory consumed by a NoSQL database to estimate infrastructure requirements. I'm finding discrepancies in memory usage when i check with the ps -aux command and free -m ...
5
votes
1answer
46 views
Can I suspend a process (`stress`) to simulate memory pressure minus the CPU cost?
This is as much a question about suspending processes/SIGSTOP as it is about stress
So I'm using stress to simulate memory pressure on my system.
stress --vm X --vm-bytes YM
This works fine, but I ...
3
votes
1answer
45 views
Tracking down Linux memory usage when not showing up in cache
Before you get your pitchforks out, I am having trouble tracking down on where the memory is going into the caching system in Linux. I have seen http://www.linuxatemyram.com/, and http://stackoverflow....
0
votes
0answers
12 views
Dynamically match memory adresses to Linux Data Structures
I dump a system's memory and I need to match some of the adresses to one of the following Linux Data Structures.
A dump file may look like this (using hexdump):
151b35180 53 74 72 69 6e 67 20 49 ...
1
vote
1answer
61 views
How to use AWK to query a file loaded with mapfile [closed]
I am using awk on Ubuntu to corelate references between two log files (In.log and Out.log).
It is working as expected, but went the size of the Out.log increase (~K lines), the processing time ...
1
vote
0answers
20 views
hybernation resumes and memory doubles [closed]
Im kinda new to the programming of ubuntu and need advice of what to do. Is this common issue? Where can i start looking for evidence of this other than what i see on one program? Again this is about ...
1
vote
1answer
14 views
Can the increasing virtual memory size of a process cause any problem?
I have a long-running process that also uses pretty much amount of memory with frequent memory allocation and deallocation.
The Resident memory size (RES on top command) is between 15~20 GB. However, ...
2
votes
0answers
62 views
Total available physical memory from /proc/meminfo not adding up
Original question posted on stack overflow:
I'm trying to account for the available physical memory on a Linux box through /proc/meminfo (output provided below). Accounting for current free memory, ...
1
vote
1answer
31 views
Why are some caches not droppable?
Here's the output of free -m:
total used free shared buff/cache available
Mem: 421 158 153 39 109 195
Swap: ...
3
votes
0answers
50 views
Unable to swapoff but enough physical memory is available
I have a weird problem with turning off the swap.
The server has 192 GB of memory, 154 GB free.
It's a Hypervisor running a number of Linux KVM Virtual Machines.
When trying to:
# swapoff -a
...
2
votes
1answer
30 views
Print line at offset X in memory dump +/- 10 lines on each side
I have a huge memory image I'm investigating and digging through (64gb+). Too large to load into memory/vim. I ran strings on the memory file with the offsets included and saved it to a file so that I ...
1
vote
1answer
41 views
Dedicate some memory to a specific program
How do I make a part of main memory dedicated for the system only to use for SSH process?
Every time my server is running some machine learning applications the main memory gets totally full and wont ...
1
vote
1answer
38 views
How can i calculate the size of shared memory available to the system
According to the rhel document, the total amount of shared memory available on the system equals to shmall*PAGE_SIZE.
After I completed the installation of RHEL6, the value of the shmall kernel ...
1
vote
1answer
61 views
Permissions of /dev/shm and /dev/mqueue
Environment
Distro: CentOS7
Kernel: 3.10.0-427.10.1.lve1.4.7.el7.x86_64.
Scenario
This is a shared hosting environment and I just noticed that only /dev/mqueue and /dev/shm have 1777 permissions (/...
0
votes
0answers
7 views
Does a x86 computer use the pci bus and pci protocols to access memory? [migrated]
After viewing lspci -k:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: CLEVO/KAPOK Computer Device 5455
00:02.0 VGA compatible ...
3
votes
1answer
35 views
merge multiple files based on first column and save memory issues
I have multiple tab delimited fastq files. I want to match the second line of each read and add up the values next to it if it matches.
for example:
file1.fq
>1
ATGCCGTT file1:1
+
HHHHKKKK
...
0
votes
0answers
12 views
Change memory allocator behaviour to assist memory corruption debugging / gflags.exe analogue for linux
I'm debugging a memory corruption issue in closed-sourced linux application and, due to it's specifics, nor gdb nor valgrind could help me to trace the root cause - overrun corrupts some thread and ...
0
votes
0answers
9 views
How is available memory calculated on centos? [duplicate]
I have two separate centos boxes, a 5.9 and a 7.0 box. I'm writing a piece of code that needs to look at the amount of available memory on the machine. For portability reasons I'm looking at the ...
0
votes
1answer
23 views
How to reduce the memory utilization by lsof.log?
lsof.log is consuming lot of space. The log file size has increased up to 7 GB.
How do I optimize the space utilization by lsof.log file. Should I delete it on regular basis or is there a way around....
0
votes
0answers
29 views
mySQL memory usage increasing day by day
I'm using New Relic to monitor our servers, one for web, another for mysql, and the mySQL one worries me because the physical memory usage increases everyday. Every week it uses up 2% more than the ...
3
votes
0answers
42 views
OOM Killer keeps killing mysqld
I run a CentOS vps to host a few websites with cPanel/WHM but every now and then, my websites stop working because it can't establish a connection to the mysql database.
Looking at the messages log, ...
0
votes
0answers
50 views
How to scan IP address for hardware information?
If I have an IP address on my local network, is there a linux command or utility to scan it to reveal information about its processors and memory?
3
votes
1answer
45 views
Measuring peak memory usage of many processes
I have a bash script that calls various other scripts, one of which has a bunch of commands that launch scripts inside a screen session like this:
screen -S $SESSION_NAME -p $f -X stuff "$CMD\n"
...
2
votes
0answers
105 views
OpenStack/KVM - monitor memory ballooning from within the affected VM
I have the same question like an other user on serverfault.com, but not for VMware. We use KVM/OpenStack.
Is it possible to detect from within a Linux VM that memory is being
reclaimed by the ...
3
votes
1answer
38 views
How can a process eat more/less virtual memory (according to top) then the page size makes available?
The operating system runs on physical memory and provides an individual, virtual address space to each process, for storing data. To make the transfer between virtual and physical memory easier.
The ...
1
vote
0answers
28 views
Discrepancy between shared memory from /proc/meminfo and ipcs
Running free -hm outputs:
total used free shared buffers cached
Mem: 15G 15G 389M 321M 169M 11G
-/+ buffers/cache: ...
0
votes
0answers
29 views
In Linux, How much physical memory is allocated for stack when a program is run?
How is vma_start and vma_end determined for a user-space process stack? Is it defined at compile time?
I guess when the program is run , the kernel would allocate, physical memory = vma_end - ...
5
votes
1answer
73 views
On Linux, (how) can I “hot-unplug” memory?
This is what I've tried:
sudo zsh -c 'echo offline >/sys/devices/system/memory/memory109/state'`
and got the following error:
zsh:echo:1: write error: device or resource busy
Do I perhaps need ...
0
votes
1answer
30 views
unreasonable memory usage [closed]
I run a multi-process python program on CentOS. The program doesn't require a lot of memory. The wired thing is my 64GB memory machine is almost out of memory and have no ability to run other ...
1
vote
1answer
69 views
Accessing /dev/mem freezes Ubuntu
I am using the latest Ubuntu Linux with a custom kernel (4.2.0-36-generic), in which I have disabled the CONFIG_STRICT_DEVNEM, because I need to dump and search some terms in memory during a project.
...
0
votes
1answer
21 views
Shell Script (in Crontab) : Saving Memory print into text file always gives blank
In my CentOS, i'm trying to print the CPU USAGE and FREE MEMORY output numbers into a text file. But when i typing in the terminal, it is all fine. But when it is executed via the crontab the MEMORY ...
4
votes
1answer
40 views
Decline malloc for memory hungry application
Is it possible to deny malloc instead of killing process selected by OOM killer? I think out of memory can be at least logged by the process which is better than being killed. Also, part of the ...
0
votes
0answers
30 views
GlusterFS : Kernel Out of memory
I'm running GlusterFS 3.7.6 on 3 Nodes (3 CentOS Servers) to serve as Apache WebServers. Nowadays i'm keep getting errors something like:
kernel: Out of memory: Kill process 30883 (glusterfs) score ...
2
votes
0answers
39 views
Creating CPU/GPU/Memory load average history
In our research group we are running a computing server for deep learning with a number of NVIDIA Titan X graphics cards and quite some CPU cores. Given that it is a research lab and we have ~10 ...
6
votes
4answers
2k views
How to tell if a file is memory mapped?
I am confused about memory-mapped files, so I have a couple of questions which I would be very glad if you could help me out.
Let's say I browse to a directory in my file system and there is a file ...
-1
votes
1answer
36 views
Find heap memory after process
How can we find heap memory of a process(in Linux) which we ran three days before. Will it be stored anywhere? by chance
1
vote
0answers
64 views
What is the meaning of `shared` memory in the `free` shell command?
The fourth column in the output of free is named shared. On most outputs I can see in internet, the shared memory is zero. But that's not the case on my computer:
$ free -h
total ...
0
votes
2answers
77 views
OOM situations handled horribly - better to disable swap?
I am running Ubuntu 16.04.1 LTS, with a 4.4.0-36 kernel. I don't think that this matters a lot though, because I've seen terrible kernel behaviour across many distributions/kernel versions.
Consider ...
0
votes
1answer
74 views
Red hat 6 (guest host from vmware) lost memory
VMware Virtual Center 2.5.0
Resource allocated to GuestOS: RHEL 5 (64-bit)
Memory: 4608 MB
Memory overhead: 261 MB
[root@stend-mcstesb /]# cat /etc/redhat-release
Red Hat Enterprise Linux Server ...
-1
votes
2answers
844 views
Kali won't save. Adding Persistence to Kali Linux Rolling
Normally I use my Kali Linux live usb boot using a 32gb usb stick. This time I wanted more space so I successfully wrote Kali Linux 2016 iso image onto a new 64gb stick using Win32DiskImager.
I have ...
1
vote
1answer
62 views
buffer (not cache) usage growing, find the process using it
I've a system where the buffer usage is growing over the time.
I trace it while monitoring the memory usage with dstat ex:
# dstat -t -m
----system---- ------memory-usage-----
time | used ...
0
votes
2answers
244 views
Linux Inactive memory
When I fire command vmstat -s on my linux box , I got stats as :
vmstat -s
16305800 total memory
16217112 used memory
9117400 active memory
6689116 inactive memory
88688 free memory
151280 ...
1
vote
1answer
92 views
How heavy is elementaryOS over classic Ubuntu? [closed]
I feel that with all the additional apps pre-installed, and relying heavily on deriving elements from Ubuntu and Gnome, elementary must be heavy.
So I would like to know an as-quantitative-as-...
2
votes
0answers
73 views
11 GB of GPU RAM used, and no process listed by nvidia-smi
In my GPU #0, 11341MiB of GPU RAM is used, and no process is listed by nvidia-smi. How is that possible, and how can I get my memory back?
Thu Aug 18 14:27:58 2016
+-----------------------------------...
3
votes
1answer
45 views
Doubt about mmap
I'm trying to build a cache package for golang that relies on mmap to store large amounts of content in memory, even more than the system has.
The cache doesn't need to be persistant; every time the ...
0
votes
1answer
30 views
can i use the udev folder to copy my files so i can free up my /dev/sda1
I have the below space utilization can i move some of my files to udev to free up my space ?
Filesystem 1K-blocks Used Available Use% Mounted on
udev 15432144 8 15432136 ...
1
vote
2answers
61 views
Why QEMU can't use the linux memory buffers memory?
I have a system without swap, and 16 GB of memory.
To my knowledge, Linux dynamically allocates the buffers memory allocation, depending on how much free RAM there is in the system.
In this very ...
2
votes
1answer
38 views
When does the swap get emptied, after being used?
I just ran 4 instances of a memory (and CPU) intensive task, which pretty much ate up all 16 GB memory and took a big bite out of the swap (2GB) as well. Now that the program is finished I noticed (...
0
votes
2answers
111 views
How much disk space I need for Win10/Kali dual boot?
So, I recently got a new laptop with a 256 SSD and I want to dual boot Win10 and Linux Kali on it. How much space do Kali and Windows need? Just the operating systems after installation.
Thanks.