Questions tagged [low-memory]

39 questions
42
votes
8 answers

Avoid linux out-of-memory application teardown

I'm finding that on occasion my Linux box runs out of memory and it starts tearing down random processes to deal with it. I'm curious what administrators do to avoid this? Is the only real solution to up the amount of memory (will upping the swap…
Eddie Parker
  • 571
  • 1
  • 4
  • 10
19
votes
5 answers

Can you determine which Apache modules have been used and can be removed?

I, like many people, have a relatively out-of-the-box Apache installation with a lot of default "LoadModule" lines. Since the beginning, I've installed a lot of software, and to be honest, I don't know what software is is using which modules. I…
Matt Simmons
  • 20,396
  • 10
  • 68
  • 116
9
votes
5 answers

Why does Red Hat Linux report less free memory on the system than is actually available?

I have a relatively small home Red Hat Linux server (about 8 GB RAM). I don't use it for much other than running some home grown apps to keep track of various things. The only real things running on the box are a database and a web server. I've…
Aaron K
  • 1,525
  • 5
  • 18
  • 16
6
votes
3 answers

OOM invoked with plenty of free swap

I am running an ARM router with i2p and tor on it - a Netgear R7000. Of course I've added a full 512 MB of SWAP to it to prevent OOMs, understanding that it could slow down the system... But then I still get OOM killer starting with plenty of SWAP…
Evengard
  • 234
  • 3
  • 12
5
votes
1 answer

Why can't my Linux kernel reclaim its slab memory?

I have a system that suffered from ever-increasing memory usage until it hit the point where it was hitting swap even for mundane things and consequently becoming pretty unresponsive. The culprit appears to have been kernel-allocated memory, but…
asciiphil
  • 3,086
  • 3
  • 28
  • 53
5
votes
1 answer

Hyper-V dynamic memory not correctly assigning more memory

So, I got an alert from our monitoring system that there's less than 15% memory free on a virtual machine. I log in to investigate, it turns out that the VM in question is a Hyper-V VM with Dynamic Memory configured, running on Windows Server 2012…
Per von Zweigbergk
  • 2,625
  • 2
  • 19
  • 28
5
votes
1 answer

Abnormal sendmail activity using up the server memory on my Ubuntu 12.04 server

Environment Rackspace Ubuntu 12.04 Wordpress MySql The issue I have been experiencing quite serious out-memory-issues in the last couple of days. While I resolved one possible cause the issue I still get a very suspicious activity of sendmail.…
zabumba
  • 164
  • 1
  • 2
  • 10
4
votes
4 answers

Apache memory issues

So I'm sure this has probably been asked before, but I want to make sure that I'm getting the right info. I'm running a 360 Linode box with Debian 5 and Apache 2.2. I've compiled everything myself (no apt-get). Every now and then (once every few…
mattbasta
  • 641
  • 1
  • 8
  • 17
4
votes
1 answer

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 running out of memory, as dropping the caches (sysctl…
4
votes
4 answers

Has anyone ever tried to provide a host with their own memory for a dedicated box?

I realize this is a crazy question, but has anyone ever tried to provide a host with their own memory for a dedicated box? I am running on an alright rig on ServerBeach but like any host, they are holding RAM hostage. Its a bit absurd to me for…
Chance
  • 207
  • 3
  • 10
3
votes
1 answer

tar uses too much memory for its buffer - workaround?

I am taring and then compressing a bunch of files&directories on my Ubuntu Server VPS for a backup. It only has 1GB of RAM and 128MB of Swap (I can't add more - OVH use OpenVZ as their virtualisation software), and every time tar runs it uses a ton…
starbeamrainbowlabs
  • 353
  • 1
  • 7
  • 16
3
votes
5 answers

Optimizing resources for a low-RAM LAMP server running WordPress?

How to minimize memory usage on LAMP? Virtual dedicated server, max 512 RAM, 20 GB drive space, it should run a Wordpress blog. Not sure for load, but lets say 2-5k visitors per day.
Kazimieras Aliulis
  • 2,324
  • 2
  • 26
  • 46
2
votes
4 answers

An I/O operation initiated by the Registry failed unrecoverably

Every 10 seconds or so, both our web servers (windows server 2003, running iis6), report the same errors in the event log. > Event Type: Error Event > Source: Application Popup Event > Category: None Event ID: 333 > Date: 2009-08-18 Time: …
2
votes
2 answers

apache2 hanging on "Sending Reply"/"Gracefully Finishing"

On my Ubuntu 10.04.4 server, apache2 2.2.14 eats up all the memory until there is no more left because it isn't shutting down old instances. The server serves a small webpage which gets about one request each 3 seconds or so (from clients, google…
Stefan Profanter
  • 365
  • 1
  • 5
  • 17
2
votes
0 answers

Windows Server 2008 Alerting to Low memory

I have a file and print server running on Windows 2008 R2 fully patched in a VSphere environment (ESXi 5.1 fully updated). Every evening between 19:20 and 19:30 our monitoring software reported that the available memory is 1% and performance is…
Zapto
  • 1,824
  • 6
  • 23
  • 39
1
2 3