Results 1 to 6 of 6
Threaded View
-
10th Jan 2012, 11:47 PM #3BannedWebsite's:
KWWHunction.comHow ever if a script needs to read swap you can add it in OpenVZ
Most hosts don't like to offer swap because of the load it generates on the SANs, I/O from alot of random reads and writes.
If swap is something you really need you can create a swap file, adjust to following to suit your needs:
1) Create a file to use as swap:
-this command will create 1GB file
dd if=/dev/zero of=/swapper bs=1M count=1024
2) Create a swap are in the file:
mkswap /swapper
3) Turn the swap on:
swapon /swapper
4) To make the swap area persistent on reboot add the following line to /etc/fstab:
/swapper swap swap defaults 0 0
5) Run:
free -m
You should now see your available swap space.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Google+ Post +1 swap
By joshmoore in forum Traffic Market (Buy, Sell and Trade)Replies: 0Last Post: 14th Feb 2012, 01:01 AM -
[PHP] Images Swap
By viruz99 in forum Web Application/Script SupportReplies: 6Last Post: 19th Jan 2012, 09:59 AM -
Hardlink Swap Meet
By The_Dirty_Merlin in forum Traffic Market (Buy, Sell and Trade)Replies: 0Last Post: 18th Jan 2012, 04:30 PM -
Swap between Alertpay and Paypal
By puharta in forum Community CooperativeReplies: 4Last Post: 5th Mar 2011, 11:12 AM -
How to enable swap inside your VPS
By DLow in forum Technical and Security TutorialsReplies: 0Last Post: 14th Dec 2010, 01:25 AM
themaManager - edit and manage...
Version 4.22 released. Open older version (or...