Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-07-2008, 06:00 PM   #1
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:

             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
LQ 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
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
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
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.


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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 PM.

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