0
votes
1answer
25 views

Swap memory exhausting server even site has small visitors

I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I have a site that gets on average 20 visitors per day, but I am recently getting this message from my ...
0
votes
3answers
273 views

Is there any reason to NOT have a swap file on CentOS (DigitalOcean)

I'm running a site on DigitalOcean with CentOS 6.5. As has been noted elsewhere, DigitalOcean servers are by default configured without any sort of swap, and I'm wondering if I should add one. I ...
1
vote
1answer
109 views

Server failure in minutes due to high httpd-apache use (attack or bug)

In the last week suddenly I get errors for my server. I try to access my website I get 503 errors. When I check top and other things I see these: 60-65 httpd (apache) processes. (Normally I have ...
0
votes
2answers
240 views

KVM under CentOS, swap exhausted, physical memory available

I've had a test CentOS KVM host running for about a week now with 3 CentOS guests. There's 12GB physical RAM with about 7.5GB actually allocated to VMs. These VMs aren't even being used yet as the ...
0
votes
1answer
89 views

Transfer used ram to swap and free more physical ram

I have a vps with 256m physical ram and 512m swap space, I am trying to use a software that need more than 256m and less than 512m ram, so it uses swap. The problem is at some moment of the ...
3
votes
2answers
1k views

How can I create a swap partion on Amazon EC2 with ephemeral storage?

This is the output of df -k: Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 10317860 7059008 2734732 73% / none 847584 0 ...
-6
votes
1answer
64 views

Am I having too much swap? [closed]

Am I having too much swap space if my server is a 8GB physical ram and I would like to set my swap to 16GB. I am planning to use this server for shared hosting would like know.
1
vote
1answer
165 views

Server crash when creating a swapfile on a running machine (CentOS Linux)

I created a swap file with root on a running server, using swapfile creation guides which I found on the net (http://blog.serverbuddies.com/adding-additional-swap-space-to-your-linux-server/m Create ...
1
vote
1answer
286 views

e2fsck on a low-memory machine: can I get more out of scratch_files or swap?

I am running CentOS 6 on a 32-bit machine with 1 GB of RAM. I have a 1TB external HDD that I am trying to run e2fsck on. It runs for about an hour and a half and then fails with Error storing ...
1
vote
1answer
254 views

CentOS webserver memory overflow - cannot log in

Few days ago, my CentOS 6.2 webserver with ISPconfig 3 went down to the extent I wan't able to log in via SSH nor using a console. The console was full of messages "out of memory, killing process, ...
1
vote
1answer
1k views

Centos server not using SWAP properly and getting OOM

Recently I've been having some serious memory issues with my server. Just the other day, my server became completely unresponsive, and oom-killer started killing services at random (httpd, php, etc). ...
1
vote
2answers
873 views

How to make Swap work? CENTOS 5.7

I've got a Centos 5.7 running Magento with nginx. I also got there 10GB of Swap. But the os never use it. How can i make it work?
1
vote
2answers
116 views

Swap on Ubuntu and CentOS

I have two questions, which is both related to a swap partition or file. Is it possible to install either Ubuntu or CentOS without a swap configured, without tinkering? Live CDs like Ubuntu, is ...
2
votes
1answer
741 views

Too much memory being swapped out, while cache uses it all on Centos 5.4

I've set swappiness on my DB server to zero, but during a large sort operation the swap space used grew even as the cache was still using a lot of memory, and then cache grew but swap was left alone. ...
4
votes
3answers
1k views

Do I need SWAP on my server?

I have a particular server : 50GB SSD for the OS (CentOS) , 128GB of RAM and 320GB SSD for MySQL. I'm wondering if I really need SWAP? I often read that 2GB is good even with lots of RAM. This ...
1
vote
3answers
3k views

(CentOS) Adding swap file failed

Im trying adding swap file by following this guide: http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html Everything is fine, but starting swapon /swapfile, I got ...
8
votes
6answers
8k views

CentOS How Much SWAP for 16GB of RAM?

How much SWAP would you give a CentOS install on a dual Quad Core XEON with 16GB of RAM that is going to be running a php website with a mysql backend - medium/heavy load?
1
vote
4answers
516 views

Should Swap be used like this?

I have a server with Dual Nehalem Quad Core Xeon 5520 and 12GB DDR3 RAM. The server's average memory usage is only around 10-15%, yet the Swap used shows 10%+. Is this normal, or could something be ...