LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2005, 03:27 PM   #16
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154

Well the normal thing to do is create a swap partition during installation. But if you don't want to reinstall or you don't have any unpartitioned space on your hard drive then you could create a swap file. If you click on the link below and scroll down to the part about the swap file

http://www.redhat.com/docs/manuals/l...ap-adding.html

A word of caution: In step 5, add that line below the line for the partition that is going to contain the file.

Last edited by phil.d.g; 10-16-2005 at 03:29 PM.
 
Old 10-16-2005, 03:28 PM   #17
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
If the computer has a single memory module check if there is a part number on it. You should make sure it is acually a 128Mb module. If it is 256mb but the board reports it as 128, it means your module is bad. You should change it as soon as possible. Bad memory will always leed to hard to track problems! The same think is true if you have 2x128mb. It means one of the module (or the socket in which the module is) is bad.

As for swap space, you need to create a swap partion on your hard disk. Similar to the partitions you created to install Linux. If you dont have any space left on the disk you will need to resize (if this is still a new install, reformatting and starting over might be simpler for you).

To create the partion, you will use fdisk (like "fdisk /dev/hda" if you want to have swap on the 1rst disk).
To format the partion you will use mkswap (like "mkswap /dev/hda2", /dev/hda2 being the partion you created with fdisk)
Then you will need to add a line in your /etc/fstab to tell the OS that you have a swap partition. It will look similar to this:
Quote:
/dev/hda2 none swap sw 0 0
Where /dev/hda2 will have to actually be the disk partion you created.

You should try to google for swap partition. There are a lot of good step by step how-to out there to enable a swap partition.

Last edited by BoldKiller; 10-16-2005 at 03:30 PM.
 
Old 10-18-2005, 12:14 AM   #18
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
How do I shutdown xinetd? I don't have a server.
Mandrake Control Centre->System->Services will show you all the daemons (services) and allow you to stop/start and disable/enable them. This GUI is a frontend for the chkconfig and service commands which in turn manipulate the scripts in init.d and rc.X that BoldKiller was talking about in an earlier post.
 
Old 10-18-2005, 12:19 PM   #19
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
In my experience, the root cause of the problem is usually not a shortage of RAM, but a seriously under-performing disk I/O subsystem. Many computers use the built-in, "convenient" IDE-type controllers that are built in to the motherboard ... but these can be ridiculously slow.

Consider purchasing a separate disk-controller card, and using this instead of what's built onto the main board. The difference in speed can be considerable.

Also consider using more sophisticated technologies such as FireWire and SCSI, which support much higher transfer-rates and extensive parallelism. Once again the secret is in a ~$100 card.

The disk transfer parameters (hdparm) that are used by your system at startup are often conservative... and therfore slow. Simple "tuning" of the system can have very impressive results.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory problem... lingeek Slackware 6 03-01-2005 09:30 AM
Memory problem nyk Linux - Software 4 10-28-2004 05:14 PM
Memory problem Nulaxor Linux - General 2 07-16-2003 10:03 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM
Memory problem. philipina Linux - General 8 05-13-2003 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration