Results 1 to 15 of 15
Hybrid View
-
10-25-2013, 03:35 AM #1Web Hosting Master
- Join Date
- Aug 2005
- Location
- New Jersey
- Posts
- 598
Recommended Swap Space for CentOS 6.4 64bit with 24gb RAM?
.
Is 4gb plenty of space for swap in a CentOS 6.4 64bit system with 24gb RAM?
The installer set swap at 12gb by default, but that seemed to be overkill.
Is there any reason why I should keep it at the default 12gb? Or is 4gb more than enough?
If it makes any difference, the server will be hosting HTML & PHP websites (several vBulletin forums). CP will be Interworx.
Thanks in advance for any suggestions regarding this....john2k...
-
10-25-2013, 04:15 AM #2Web Hosting Master
- Join Date
- May 2012
- Location
- Linux World
- Posts
- 1,137
you can keep the Swap at where it currently is. There isn't exact science how much the swap can be, but usual terminology is double the RAM, but since you have 24GB RAM you may not go that far.
Kevin Cheri : Senior Server Administrator / Freelancer : 13+ years Exp, reach me out for any help
Server Optimization Expert / Mysql Guru / Migration Specialist
Skype : lynxmaestro
Gmail : cheri.kevin@gmail.com
-
10-25-2013, 05:11 AM #3Web Hosting Master
- Join Date
- Aug 2000
- Location
- Sheffield, South Yorks
- Posts
- 3,627
Personally I'd set 2 or 4GB - if you're using either heavily you're probably screwed anyway and the server is going to be grinding and unresponsive.
Karl Austin :: KDAWS.com
The Agency Hosting Specialist :: 0800 5429 764
Partner with us and free-up more time for income generating tasks
-
10-25-2013, 09:27 AM #4
-
10-25-2013, 10:26 AM #5WHT Addict
- Join Date
- Aug 2011
- Location
- Ottawa, Canada
- Posts
- 144
-
10-25-2013, 10:54 AM #6Junior Guru
- Join Date
- Sep 2010
- Posts
- 208
Re: Recommended Swap Space for CentOS 6.4 64bit with 24gb RAM?
Its a personal option. For me, 2gb is more than you need. 24gb of ram, you never will use swap.
-
10-25-2013, 11:02 AM #7Web Hosting Master
- Join Date
- Aug 2000
- Location
- Sheffield, South Yorks
- Posts
- 3,627
Karl Austin :: KDAWS.com
The Agency Hosting Specialist :: 0800 5429 764
Partner with us and free-up more time for income generating tasks
-
10-25-2013, 11:14 AM #8The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
You do not need that high swap if you have more ram already.
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
10-26-2013, 12:50 PM #9Newbie
- Join Date
- Oct 2013
- Posts
- 11
6gb plenty of space for swap in a CentOS 6.4 64bit system with 12gb RAM?
-
10-26-2013, 01:51 PM #10Web Hosting Master
- Join Date
- Jan 2008
- Posts
- 1,204
4 to 6 GB should be sufficient for swap since you already have 24 GB RAM.
|| Web Hosting Blog - Web Hosting security & latest web hosting industry Announcements
|| Web Hosting Discussion - A Web Hosting community
-
10-26-2013, 03:05 PM #11Temporarily Suspended
- Join Date
- May 2013
- Location
- India
- Posts
- 747
I second 4-6GB suggestion...because if you ever use more than that of swap space, that is the time where you should look for memory upgrade!
-
10-26-2013, 05:18 PM #12Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
2-4GB.
You really want to avoid using swap at all, so I wouldn't go overboard with it.Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
10-28-2013, 08:23 PM #13Web Hosting Master
- Join Date
- Jun 2003
- Location
- Las Vegas, NV
- Posts
- 858
We install most of our dedi's with 2GB or 4GB of swap, irrespective of the amount of RAM they have. We find that's generally more than adequate, since most dedi's come with so much ram these days that dipping into swap is pretty rare.
-
10-29-2013, 01:48 PM #14Russ
- Join Date
- Mar 2002
- Location
- Philadelphia, PA
- Posts
- 2,517
I usually divide by 8 or so. On a system with 24GB, would most likely set 2-3GB.
-
10-29-2013, 02:03 PM #15Web Hosting Master
- Join Date
- Apr 2008
- Location
- United States, MI
- Posts
- 769
Largely depends on what you're doing.
I've got some customers who run Oracle, JD Edwards, PeopleSoft and SAP who use 500+ GB of memory and require upwards of a TB of swap.
SWAP doesn't always mean performance issues, depending on the application. Big ERP applications like those utilize SWAP properly to sleep on large datasets that are not in use. So there isn't a performance hit.Steven Crothers
No BS cloud engineer and Red Hat architect.
Similar Threads
-
Cpanel DNS-Only VPS with 512mb RAM. Use 32bit or 64bit CentOS?
By mrzippy in forum Hosting Security and TechnologyReplies: 14Last Post: 10-24-2012, 08:44 AM -
Pls. Recommend: Linux VPS (min 2GB RAM), Centos 5.x 64bit. Uptime Gaurantee
By buldag in forum VPS HostingReplies: 10Last Post: 08-13-2012, 10:10 AM -
centos 64bit can only get 4GB ram?
By ttgt in forum Hosting Security and TechnologyReplies: 4Last Post: 12-17-2009, 08:23 PM -
recommended amount of swap space?
By john2k in forum Hosting Security and TechnologyReplies: 12Last Post: 11-12-2005, 10:16 PM -
Centos 3.5 64bit vs Centos 4.1 64bit defferent results!
By Soulwatcher1974 in forum Hosting Security and TechnologyReplies: 2Last Post: 09-05-2005, 11:12 AM