hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : do i need to create swap for vps
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

do i need to create swap for vps

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2006, 11:00 AM
naiton naiton is offline
Junior Guru Wannabe
 
Join Date: Aug 2000
Location: Thailand
Posts: 73

do i need to create swap for vps


hi,
i'm new in VPS and i have some question
do i need swap for my VPS ??
thank you.

ps. sorry for my english

Reply With Quote


Sponsored Links
  #2  
Old 09-10-2006, 11:59 AM
nicedream nicedream is offline
Junior Guru
 
Join Date: Feb 2006
Posts: 232
Its no different than a non-VPS setup. You can have swap or not.

Most VPS providers I've seen have the swap space set at a set level, according to the plan you purchase. There are a few who allow you to control your partition sizes through their control panel. (ProVPS.com comes to mind).

Reply With Quote
  #3  
Old 09-11-2006, 04:27 AM
gplhost gplhost is offline
Web Hosting Master
 
Join Date: Aug 2004
Location: Shanghai
Posts: 1,440
I would not advice you to create a swap FILE. If one day your partition becomes read-only, then your swap file will become read-only as well, and then your VPS will simply crash...

Anyway, if your VPS uses a lot of swap space, then that means you need more memory allocated, and that's it. That being said, many things can go to swap without too much problems.

Thomas

__________________
GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

Reply With Quote
Sponsored Links
  #4  
Old 09-11-2006, 04:54 AM
naiton naiton is offline
Junior Guru Wannabe
 
Join Date: Aug 2000
Location: Thailand
Posts: 73
many thanks

Reply With Quote
  #5  
Old 09-18-2006, 03:38 PM
ndchost ndchost is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Location: Southern California
Posts: 42
Always create a swap, just like on a dedicated server swap is there for multiple reasons. First off swap is important because it allows the kernel to send unused pages of memory to swap so that a running program that needs the memory can use it, this especially important on a VPS with minimal ram. A sleeping app doesn't need to consume precious memory. The second reason is that swap acts as a buffer, allowing your system to run in what i will call a degraded state if you suddenly run out of Ram rather than allowing the mission critical apps to be killed.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50d06160-eacc-4294-adb4-6b1b45a799de Listing 2013-03-05 18:23:52
Jelastic Shares Details About Upcoming PHP Cloud Hosting Solution Web Hosting News 2012-09-21 16:13:52
Web Host ServInt Overhauls Dedicated Managed Servers with New Flex Line Web Hosting News 2012-03-13 10:48:00
Jelastic Java PaaS Service Now Enables App Building in the Cloud Web Hosting News 2011-11-18 16:57:16
Backbone Provider Level 3 Completes Acquisition of Global Crossing Web Hosting News 2011-10-05 15:23:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?