Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Redhat9 freezing randomly

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-26-2004   #11 (permalink)
Just Joined!
 
Brizzzer's Avatar
 
Join Date: Mar 2004
Location: Indianapolis, Indiana
Posts: 9
Send a message via AIM to Brizzzer Send a message via MSN to Brizzzer
Good news making the swap partition 1GB did the trick. I have not had a problem yet!!! This is so cool. Now time to see what I can do with this thing.
Brizzzer is offline  


Reply With Quote
Old 03-26-2004   #12 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 15
Send a message via Yahoo to aytope
Quote:
Originally Posted by aytope
well thanks for the lovely suggestion but how do i edit my swap space ? thanks
i have tried mkswap command but the system still sees the old swap of 188mb. so how do i increase it to something higher?
aytope is offline   Reply With Quote
Old 03-26-2004   #13 (permalink)
Linux Enthusiast
 
Opnosforatou's Avatar
 
Join Date: Dec 2003
Location: Vleuten, The Netherlands
Posts: 552
I haven't experienced this with Slackware, only with Red Hat and Fedora.
Don't know the exact cause of this.

To create a swap partition use fdisk /dev/hda
use the key: P to show all active partitions.
Create an partition double the size of your available memory
save the new disk info, save using: wq (W=write,Q=quit)
and reboot.
Note: /dev/hda is used as example here, you could use a swappartition of your 2nd disc, that would be /dev/hdb

After rebooting login as root.
type:
Quote:
mkswap /dev/hda5 (Assuming that the newly created partition is number 5)
Important: the number is of the partition you created for the swap, to check what number that partition has use fdisk /dev/hda and the P to show the partition table information.

to activate the swapfile:
Quote:
swapon /dev/hda5
Now edit your fstab in /etc and add the following line:
Quote:
/dev/hda5 swap swap defaults 0 0
It is also possible to use multiple swap partitions.
Let say you have a swap partition of 128MB on DiskB and 128MB on DiskC
Then you add the following to the fstab
Quote:
/dev/hdb1 swap swap sw,pri=5 0 0
/dev/hdc1 swap swap sw,pri=5 0 0
Note: Your fstab file contains all partitions, drives, etc that will be mounted at boot time.
For further info on the fstab type: man fstab and enjoy the reading.
__________________
---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.
Opnosforatou is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:40 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2