Thread: server crashes?
View Single Post
  #7   Spotlight this post!  
Unread 18-05-2005, 13:50
Randy Randy is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Feb 2003
Location: Atlanta
Posts: 79
Randy will become famous soon enough
Re: server crashes?

Brandon,
Why not use external DNS? Also, look below for how to add SWAP ... My offer for resources still stands

Joe,
Increasing the size of the SWAP partition really wouldn't be an option, but you could add SWAP space. We had to do this on a client's server that literally blewup (traffic wise).



Create the file that we're going to turn into SWAP space
Replace xxxxxx with the size of the SWAP space you'd like to add.
Code:
# dd if=/dev/zero of=/dev/SwapFile bs=1024 count=xxxxxx
chmod the SWAP file for security purposes
Code:
# chmod 600 /dev/SwapFile
Make is SWAP
Code:
# mkswap /dev/SwapFile
Turn it on
Code:
# swapon /dev/SwapFile
Check amount of SWAP
Code:
# free -m

And ... if you want it to mount on boot, add this to /etc/fstab
Code:
/dev/SwapFile swap swap defaults 0 0
__________________
FREE WEB HOSTING for FIRST teams and related organizations.
  • Team sites
  • Image Hosting
  • Video Hosting
Email promo@sevaa.com or click here for details.
Reply With Quote