Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi i have a server with 2gb of memory and i would now like to set the swap twice the size how can i do this with? I was thinking about creating a swapfile but can't remember how... can someone please guide me in creating this?
the is no more free space to create a partition...
i believe the commands are 'swapon' and 'mkswap'
i dont think you should bother wasting harddrive space with swapping on a system with this much memory. swap files are used after physical memory is full and is much slower. with 2GB of memory, is your system really using all of this at any one time? if you really want to have a swap file i would definetly not make it 4GB. maybe 0.5GB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.