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

learn more… | top users | synonyms

0
votes
1answer
236 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
163 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
88 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
13k 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
166 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 ...
1
vote
1answer
675 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
43 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
252 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
76 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 ...
0
votes
1answer
80 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
88 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
514 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
144 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
608 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 ...
31
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
152 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
369 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
204 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
242 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 ...
9
votes
3answers
26k 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
769 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
84 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
570 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
187 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
90 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
281 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 ...
1
vote
1answer
76 views

Export memory consumption of a executable for multiple users over time on Server 2008

I have seen similar question by other users, but could not find a one related to an executable. Situation: Terminal server where 10-15 users log in and run applications. For this instance, we want to ...
0
votes
1answer
403 views

Too Many index.php processes with high memory usage [closed]

I have wordpress site installed over dedicated server in a separate cpanel account. From couple of days this account experiencing high memory usage, high loadtime and freezing frequently. so I have ...
1
vote
0answers
47 views

Why is my server using swap even though there is lots of RAM available? [duplicate]

My server has 24 cores, 16 GB RAM, and 8 SSDs on raid 0 (I think). I've noticed it is now using a low of swap space, even though there is plenty of RAM available. load average: 2.70, 2.54, 2.50 Mem: ...
2
votes
2answers
2k views

Docker + Apache, how does memory usage work?

Let's say I have a docker host set up with 50 containers each running a site served by Apache. As I understand it each container will have an Apache instance running and typically each Apache ...
0
votes
0answers
411 views

Samba server increasing the memory requeriments

I have a Samba server exporting a entire filesystem (fhgfs/beegfs filesystem), total amount of 550 TB. The specifications are the following: Scientific Linux 6.5 (2.6.32), 2xIntel Xeon X5570 8 (2.93 ...
8
votes
2answers
19k views

Used memory on Solaris 10

One more question about memory on Solaris 10. A top shows me that I have 672 MB free memory : 130 processes: 126 sleeping, 2 zombie, 2 on cpu CPU states: 95.1% idle, 3.9% user, 1.0% kernel, 0.0% ...
0
votes
2answers
671 views

How do we find out what is causing high cache usage on our server?

Every Friday from about 22:00 our server starts using large amounts of cache and then dies about two hours later. Please look at the following Cacti graph. We tried hunting processes which use ...
0
votes
0answers
493 views

Actual minimum RAM usage of Windows 2012 Server + IIS + SQL Server 2014 Express + .NET application server

I currently have a physical server running Windows Server 2008 R2. I am planning to replace it with a cloud-hosted virtual machine running Windows Server 2012. The server needs IIS, SQL Server Express ...
0
votes
0answers
255 views

Strange memory usage behavior in GlusterFS machines

I'm running into a strange high memory usage problem in my environment. I have a two GlusteFS nodes that are serving 26 replicated volumes. Each morning, both servers will consume the majority of all ...
3
votes
2answers
2k views

Changing memory allocator to Jemalloc Centos 6

After reading this blog post about the impact of memory allocators like jemalloc on highly threaded applications, I wanted to test things on a larger scale on some of our cluster of servers. We run ...
1
vote
0answers
573 views

JVM process resident set size “equals” max heap size, not current heap size

After a few reading about jvm memory (here, here, here, others I forgot...), I am expecting the resident set size of my java process to be roughly equal to the current heap space capacity. That's not ...
0
votes
1answer
427 views

KVM - Changing Memory of Guests Live

I have a KVM guest that I would like to dynamically change the memory allocation of. At the moment, to change the memory of the guest, I have to run: sudo virsh edit $GUEST_DOMAIN Then change the ...
0
votes
0answers
70 views

Single TCP-CLOSE_WAIT connection brings down application till restart

Recently found a behaviour where my application had a connection in TCP Close_wait state till the app was restarted (after about 5 hours). But during this period the SUnreclaim space was also ...
1
vote
3answers
82 views

Debug unstable Apache server under Debian

Since yesterday my Apache server that runs on a Debian machine runs very unstable. Sometiems my websites load and sometimes not. I think it has to do with the memory since my Apache log is full of ...
0
votes
0answers
39 views

Memory monitoring with Win Server 2008 Performance Monitor

I'm trying to make report that uses Perfmon log files and all is great, but I'm little confused about Memory counters. I need two values: Total size of physical RAM installed on server (same value ...
1
vote
2answers
3k views

High memory utilization by sqlservr.exe process [duplicate]

Sub:High memory utilization by sqlservr.exe process. When I look into task manager -->processes or by using perfmon memory counters(Sqlserver:memory manager:Target server memory and Total server ...
1
vote
2answers
1k views

understanding and improving sphinx searchd memory usage

My company has a few servers that we dedicate to running Sphinx Search. All are CentOS 5 with about 48GB of memory and our version of searchd is 1.11. Recently I've been trying to understand why ...
0
votes
1answer
142 views

Apache2 using up all my memory and stalling my wordpress instance (mysql)

Environment Ubuntu 12.04 / 1GB RAM / 40GB DISK / 1 CPU (RACKSPACE) Wordpress 3.9 mysql Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (x86_64) using readline 6.2 Apache2 mod_php5 mod_rewrite When ...
0
votes
1answer
149 views

SSHFS mounts use too much memory

I have 21 SSHFS mounts from a Debian server to another one. The servers are on a 1Gbps LAN. When I mount these 21 FS, 675 MB of real memory (not buffer nor cache) are allocated on the server mounting ...
0
votes
1answer
256 views

High memory usage windows 2008

I have a Windows server with 32 GB RAM, which is running sqlserver and tomcat. In resource monitor it show more than 95% memory usage, but when I searched in processes all process, each process is ...