The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
6 views

show used memory percentage while taking into consideration cached memory also

This command shows the used memory percentage on my Linux machine. free -m | grep Mem | awk '{print $4/$2 * 100.0}' It does not take cached memory into consideration though, which is also available ...
0
votes
0answers
5 views

How to show per-process amount of non-swappable memory?

I am using a VPS which has, unfortunately, stringent limits on maximum total size of non-swappable memory for all processes in the container; this limit is called in kmemsize in OpenVZ. I would like ...
0
votes
1answer
32 views

MSSQL 2008 r2 Express: there is insufficient system memory in resource pool 'internal' to run this query

I'm experiencing this error during the lifecycle of my DotNetNuke Installation. I've change the hosting server and now I've got a Windows Server 2012 with IIS 8 an SQL server 2008 r2 Express running ...
-1
votes
0answers
20 views

Where did this memory go? Linux machine missing 10G of memory [duplicate]

any idea where my memory went? I got a list of all the RSS memory used by all processes and it comes out to around 600-700M. I have 4GB of cached, but only around 420M free. /dev/shm is 1GB. Any ideas ...
-2
votes
1answer
30 views

“-/+ buffers/cache memory” used is always 0KB

I have an OpenVZ VPS with Ubuntu server 14.04.2 and I can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if I run free -k i ...
0
votes
0answers
30 views

linux system slab cache proc_node_cache usage too large

My system run java program only, at some time the memory usage increase very quickly to a very hight percentage: memory usage of java : PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
3
votes
2answers
1k views

Ever increasing mem usage by php-fpm?

It seems php-fpm is allocating more and more memory, although peaks and dips in amount of requests. Couldn't post more than one image, so I put them here. As you can see in the uri of the pictures, ...
-4
votes
1answer
31 views

mysql hot add memory

Is it possible for currently running jobs in MySQL to utilize memory that's been hot added? It looks like when memory is hot added to the VM the currently running jobs are not utilizing the additional ...
2
votes
1answer
1k views

mysql becomes unresponsive at same time every day

My server goes down every day at same time. I found that the issue was due to mysql. I tried show processlist; and found that data base was entering in to sleep mode. I saw there was so many inserts ...
1
vote
2answers
59 views

find out which memory pages are owned by kernel

I can obtain a wonderful memory map of all processes with the Linux command pmap $(ps -A | awk '{print $1}'|grep -v PID) | sort | grep \^0 It looks like ... 00007fd6dbf45000 4K rw--- ...
0
votes
0answers
57 views

Do I need more memory for my CentOS server?

When checking my server's memory usage with free -m I'm getting this result: total used free shared buffers cached Mem: 1024 1024 0 ...
0
votes
2answers
1k views

MySQL Memory Limit Windows Server 2003

I am running MySQL 5.0.51a on Windows Server 2003 Standard Edition on an HP DL580 G4 with 3GB installed. One of my database tables has grown to 5.3 GB with an index file of 2.5 GB, which I believe is ...
0
votes
0answers
15 views

Anon value from pmap list too high. how to lower?

I do not understand why apache is using so much memory. I ran pmap and received the following: 912117: /usr/local/apache/bin/httpd -k graceful -DSSL Address Kbytes RSS Dirty ...
1
vote
4answers
211 views

Is there any tool that I can use to monitor memory usage of each process on Linux easily? [closed]

This issue is not the same as the question on how to see the memory usage of a Linux process. Also, the top command doesn't give the exact memory used, but just what percentage one process uses, so ...
0
votes
3answers
2k views

Smallest footprint OS [closed]

Many FreeBSD users tell me that FreeBSD has the smallest footprint in terms of CPU & RAM usage. I'm looking for a server OS with the smallest possible CPU & RAM usage, so I will try FreeBSD ...
0
votes
1answer
125 views

How to calculate amount of memory being used for processing an array

I have an array of 6 million database records. Each record has 100 columns. Is there a formula to calculate the amount of memory that is being utilized by the server? Will this be exponential? The ...
0
votes
0answers
15 views

How to ascertain where to effectively allocate server resources?

I have recently received an upgrade to one of my servers of a 256GB SSD drive (this is in addition to two other primary 1TB drives) and a memory upgrade bringing the server to 64GB from 32GB of RAM. ...
0
votes
0answers
56 views

Ubuntu server memory fills up and Redis crashes

Here's /proc/meminfo: MemTotal: 7629488 kB MemFree: 237528 kB Buffers: 70536 kB Cached: 45612 kB SwapCached: 0 kB Active: 99400 kB Inactive: ...
0
votes
0answers
14 views

org.apache.tomcat.util.net.JIoEndpoint takes more memory

org.apache.tomcat.util.net.JIoEndpoint takes more memory as per new relic Thread profiler. The memory utilization never reduced even in idle time. It seems there is a memory leak in this class. Could ...
0
votes
1answer
56 views

Why is my java process using much more heap space than specified?

I'm running a Java application on Solaris using the -Xmx256M switch. When I connect via JMX, the JVM tells me the application is using about 50Mb of heap, and correctly states the maximum heap size is ...
3
votes
2answers
87 views

How to limit Apache sub-process memory usage?

— Yeah, just that simple question. It's too easy to consume a lot of RAM in brain-dead mod_XxX (say, mod_php) application, so I'm just wondering what does Apache allow to do as countermeasure.
2
votes
2answers
66 views

What's the technique to find out bottleneck?

I setup a wordpress on Digital Ocean for the smallest droplet for a few months. Recently, my blog gone viral (1000+ facebook shares) and the server take 50+ seconds to respond.(Google Analytics show ...
13
votes
2answers
11k views

Effects of configuring vm.overcommit_memory

My VPS web server running on CentOS 5.4 (Linux kernel 2.6.16.33-xenU) irregularly (like once a month give or take a few weeks) becomes unresponsive due to oom-killer kicking in. Monitoring of the ...
1
vote
0answers
92 views

Apache 2.4 prefork, MySQL 5.6 and 2GB RAM

I think I'm having problem setting up Apache24 correctly. Apache seems to taking up to much RAM, and I'm not sure how to configure it. The FreeBSD server is using 50% of it's swap space. We are ...
0
votes
1answer
243 views

Details on the utility `memhog` in Linux environment?

I'm working on reviewing memory usage on an EC2 instance running the Amazon kernel and ran across the utility /usr/bin/memhog but it has no manpage. Before blindly running, I was wondering what it ...
-1
votes
1answer
31 views

Linux server memory usage and cache availability [closed]

It's a topic already discussed, but there's a point that i'm not really sure about. I want to see whether my server memory is well dimensioned (os is centos 6). I run the processus that will be ...
1
vote
0answers
115 views

Setting the MemoryLimit of a user-created systemd scope using cgroups as user

Related: LImiting overall memory usage for child processes Is there a way for an unprivileged user, or for root to allow an unprivileged user, to create a systemd scope (or other control group ...
1
vote
1answer
46 views

Memory Utilization Best Practices

I'm running several Linux-based VMs (vApps, actually) that have varying amounts of memory assigned to them. Some have databases, some web servers, etc. While some are using less than 40% of their ...
16
votes
2answers
4k views

Where did my RAM go?

Note: before you jump in too fast, yes I read linuxatemyram.com! I have a server with 64GB RAM. free -m says that my RAM is full, and it's not because of disk caching: total used ...
2
votes
1answer
378 views

XenServer 6.2 VM 100% CPU and 100% memory usage and won't boot

I had this problem today after a power failure. I had 2 vms and one of them won't boot and was using 100% of CPU and 100% of memory. Since it was very dificult to solve (at least for me) I want to ...
0
votes
1answer
50 views

Apache process growing despite limiting MaxRequestsPerChild

Server Version: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 PHP/5.4.27 mod_perl/2.0.6 Perl/v5.8.8 CENTOS 6.6 PHP handler - DSO The server is running with prefork ...
0
votes
0answers
66 views

squid reverse proxy using too much memory

I have a bunch of small vps set up for http caching in a bunch of edge locations using squid as a reverse proxy (varnish caused more issues and had worse performance). These vps have 1gb of ram and ...
-1
votes
3answers
198 views

free shows more memory used than top process total

UPDATE: This was being caused due to a known issue with nss-softkn. See this article: https://www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken When I run free -m from my centos 6.5 box I ...
0
votes
0answers
76 views

Difference between ps_mem.py & free -m . Ubuntu server kills processes

Previously, I had a 4GB RAM server with Linode. Several times, I did "free -m" command to check available memory. I asked question here as well, but realized its more appropriate here. Most of the ...
2
votes
2answers
565 views

What does monit consider to be memory usage?

Once can have monit monitor memory usage… check system foo if memory usage > 95% then alert Does it use free RAM, or free -/+ buffers/cache? (or something else?) # free -m total ...
3
votes
1answer
2k views

Monitoring SQL Server 2008

I understand SQL Server doesn't release the memory unless the OS needs it. Then, monitoring Available Bytes (free memory) is not the best way to monitor the service. What other variables can give me a ...
28
votes
3answers
3k views

Why is Linux reporting “free” memory strangely?

This is a canonical question about how Unix operating systems report memory usage. Similar Questions: Server refuses to use swap partition Memory Usage in LINUX I have production ...
0
votes
0answers
67 views

SvcHost of TermService service on Windows Server 2003 consumes high memory

We patch our servers monthly, and if there are no updates to install, then they still get rebooted. When the server is rebooted, after it boots, the TermService service running in a SvcHost.exe ...
4
votes
2answers
197 views

Server overloaded, acts like out of memory, but thats not true

I have a Centos 6.5 server, running QEMU-KVM virtualization: hardware: 40 CPUs 400 GB RAM software: Kernel: 2.6.32-431.17.1.el6.x86_64 Qemu: 0.12.1.2 Libvirt: 0.10.2 There are 3 guests, with ...
0
votes
0answers
97 views

Memory usage of Postgresql and play framework

I am running a play framework application and a Postgresql server on a VPS which has 2vCores and 2GB of RAM and I'm having memory issues. I limited my play application to 1024MB with the parameter : ...
8
votes
2answers
4k views

Is it possible to list the files that are cached?

Here the output of free -m: total used free shared buffers cached Mem: 7188 6894 294 0 249 5945 -/+ buffers/cache: ...
1
vote
1answer
207 views

How to get memory util of LPARs from HMC?

I know I can get CPU utilizations with lslparutil from the HMC. But is there a way to get memory utilization stats of LPARs from the HMC? The metrics I found seems to be all configuration-related ...
8
votes
3answers
21k views

Something eats all memory (I suspect memory leak on some app). How to detect what?

I have server which runs liquidsoap+icecast bundle and simple website (httpd+mysqld). Nothing special. Visitors around 2000+ per day, with around 50 being online simultaneously on average. Server has ...
1
vote
1answer
376 views

Apache Start Servers, Min/Max Spare Servers Ram Consumption Influence

I have a 1gb ram VPS. If I stop apache I have 400 mb ram free. So the max clients should be (total ram - used ram) / max_service_ram_consumption = 400 / 31. So MaxClients should be 13. These are the ...
1
vote
0answers
59 views

System-managed pagefile uses all available space, allocated physical memory unused

The problem: Something on our virtualized database server is using massive amounts of our pagefile. We noticed it about a week ago when the OS drive went from 30+GB of free space to around 500KB of ...
1
vote
1answer
495 views

Hyper-v dynamic memory client machines always use maximum memory

When I create a virtual machine in Hyper-V and set it up to use dynamic memory, the virtual machine will always use the maximum memory within the virtualized OS. Hyper-V will show the assigned memory ...
1
vote
0answers
103 views

SNMP memory values do not match `free`

Compare this # free -m total used free shared buffers cached Mem: 72363 68035 4328 0 522 66294 -/+ buffers/cache: ...
3
votes
1answer
61 views

how to determine who is using the slabs?

Is there any way to figure out who or what is allocating size-256 slabs, like in the slabtop output below? I had to reboot a server yesterday that had 5G out of 8G RAM in size-256 slabs and was ...
5
votes
2answers
1k views

How quickly will SQL Server release RAM when the OS signals a low memory condition?

From the SQL Server 2008 R2 Books Online: Server Memory Options When SQL Server is using memory dynamically, it queries the system periodically to determine the amount of free physical ...
0
votes
2answers
172 views

Why does downloading a large file with wget seem to consume nearly all available RAM? [closed]

I am trying to download a file of 580MB with the following simple wget command: wget http://example.com/file.ext The server has 16 GB installed RAM of and during the entire download the memory ...