LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2006, 01:51 AM   #1
backpacker
Member
 
Registered: Jun 2005
Distribution: Fedora 11
Posts: 68

Rep: Reputation: 15
My top messages


My applications suddenly slow down in operation.I TOPed it for checking out.It said :

81 processes 78 sleeping, 3 running,1 zombie,0 stopped;

CPU states:0.4% user,0.0% system,0.0% nice,...99.6% idle;

Mem 255264k av,251812 used,3452 free,0k shrd,6072k buff,209112kactv,10324k in_d,4724k in_c;

Swap 0k av,0k used,0kfree,5565k cacked.

The memory was hogged too much?
And what I should do with that?
Thanks very much.
 
Old 04-30-2006, 05:18 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You should add some swap space, since you have none. That way, pages that are idle can be moved out to make room.
 
Old 05-01-2006, 07:12 AM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Having no swap is really a bad idea. It is almost certain that it is causing your problems. I'd create a swap partition (or a loopback file) with size of at least 256MB.
 
Old 05-01-2006, 09:27 PM   #4
backpacker
Member
 
Registered: Jun 2005
Distribution: Fedora 11
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks all!How to create a swap partition post installation?By command line?
 
Old 05-01-2006, 10:47 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The easiest way is to create a swap file. The following instructions will create a swap file of 512MB (2x your RAM). As root:

dd if=/dev/zero of=/swap bs=1M count=512
mkswap /swap


Now, edit your /etc/fstab, and add the following line:

/swap swap swap defaults 0 0

To begin using the swap space immediately:

swapon -a

The top command will show the swap space and its usage.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
Repeating messages in /var/log/messages skubik Linux - General 2 12-23-2005 03:47 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 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