Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.63 sec)
Add more swap space to Free BSD

Is it possible on a running machine without a reboot ? I think an older Windows server I used needed a reboot afterwards.
Asked by:
BSDnewbie
90 points
 Report Abuse
 Share Page - Category: Unix Servers - Tags: Add more swap space to Free BSD
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (2)

You can type this comands

create image needed to use with dd comand

then mkswap filename

then swapon filename

if you need this file for evrytime is up you must edit /etc/fstab and add address file on swap

Response by:
mohamad_kian
1548 points
Try this:

dd if=/dev/zero of=/tmp/swap1 bs=1M count=10

mkswap /tmp/swap1

swapon /tmp/swap1


then execute "swapon -s" and see result

Response by:
jalal
3623 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle