LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2007, 02:56 AM   #1
manju_se7en
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
enabling swap space takes long time


hi
am using rhel 4
when i boot the system it takes nearly 15 minutes to boot up
it takes too much time in enabling swap space...
what is the reason for this how to solve it..
and after the boot up ..if i open any application it takes 1-2 minutes to respond...
i checked all disk partions ..all are correct...
/etc/fstab file also correct..what is the problem ....?
 
Old 12-07-2007, 04:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What's the hardware, how much RAM, how big is swap?
Anything odd in dmesg' output? The logs?



Cheers,
Tink
 
Old 12-07-2007, 04:05 PM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
People might be able to help you more if you sent what is returned by

cat /proc/meminfo

free -m

and ps

you can also use

top

then hit

shift-M

to see how the memory is being used

Sometimes people boot with "linux numa=off" if they don't need it, and it speeds things up.
(Non Uniform Memory Access)
 
Old 12-08-2007, 08:16 AM   #4
manju_se7en
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
1 Gb Ram

my system configuration
1 GB RAM
2.8 GHz P4 processor

when i type the free -m and top commands the RAM memory is 300 mb used and 700mb are free
but the swap space is full free...!
i had given 1.5GB of swap space..the system is not using any swp space...
whats the problem?

Last edited by manju_se7en; 12-09-2007 at 04:56 AM.
 
Old 12-10-2007, 02:06 AM   #5
manju_se7en
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
enabling swap space takes long time

hi to all
my system hangs at boot time for long time(20 min)
after enabling swap sapce it hangs....
swap space enabling status was ok..

and above that it shows /etc/init.d file corrupted...

after booting my system it shows poor performence...
i need 2-3min to open a application...

the /etc/fstab file is coorect
and free command shows that swap space is full free
my RAM size is 1 GB
i installed RHEL 4 in SERVER mode.
 
Old 12-10-2007, 12:56 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Swap is WAY slower compared to RAM. Be happy if the system doesn't swap.
 
Old 12-10-2007, 01:11 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Merged your two threads on the same subject; please don't
do that. Double posting is bad, and against the rules.

Btw, you didn't answer even half the questions in the
first thread you kicked off ... if you want us to help,
help us by answering requests for more input.


Cheers,
Tink

Last edited by Tinkster; 12-10-2007 at 01:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling Swap ajaye1971 Linux - Newbie 2 04-19-2006 08:12 PM
Hang after enabling swap space miroslavhalas Fedora 12 05-05-2005 01:21 PM
Update For Post Install Hang On "enabling Swap" Briska_69 Fedora 0 09-06-2004 10:36 AM
freeze after Enabling Swap Space niteshadw Fedora 5 08-17-2004 11:50 AM
error enabling swap space endezeichen Linux - General 3 11-20-2003 10:05 PM


All times are GMT -5. The time now is 12:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration