increase the size of swap file..


welll here is a tip to increase the size of swap file manually.
#dd if=/dev/zero of=swap bs=1000000 count=1
#chmod 0 swap
make the swap file
#mkswap swap
add to current swap file
#swapon -v swap
chk if it works..
#cat /proc/swap

u can change the size, here its just 1MB.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s