LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-07-2008, 06:00 PM   #1
fmpfmp
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Swap partition always full


Hi people,

I administer a Debian server which reports swap always full. It's funny because free output doesn't seem show me that:

Code:
             total       used       free     shared    buffers     cached
Mem:           629        613         16          0         36        332
-/+ buffers/cache:        244        385
Swap:          337        337          0
Anyone can to give me a tip?


Thank you.
 
Old 03-07-2008, 06:10 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Upgrade the RAM to at least 1 GB. If it starts using swap, optimize the services and use sysctl to optimize vm of the kernel.
 
Old 03-07-2008, 06:21 PM   #3
fmpfmp
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for answser. Currently it runs Postfix mail server, Apache web server and share Internet to around 100 computers. I am thinking of separating this server just for email, and keep other one for the web server and sharing using Debian 4 (today runs Debian 3, 2.4.26 kernel). The web server hangs while a big email account is accessed...

Last edited by fmpfmp; 03-07-2008 at 06:44 PM.
 
Old 03-08-2008, 12:05 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Despite what many say, the old rule of twice as much swap as ram is still a good idea. If you want speed, then adding more ram will help (if any swap is being used). Even after you add the extra ram I would up the swap too.
 
  


Reply

Tags
full, memory, swap


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
full swap means crash? D!lbert Linux - Newbie 3 02-01-2009 08:26 AM
Linux hangs when swap gets full Genestealer Linux - General 2 08-22-2007 07:48 PM
Full swap make my box super slow tripmix Linux - Newbie 6 12-21-2006 07:41 PM
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM


All times are GMT -5. The time now is 02:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration