Date: Thu, 29 Aug 2002 14:42:05 +0000 From: Ryan Merrick <freedom@72oot.net> To: Joseph Lephan <mystical@houston.rr.com> Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: I've just recently install freebsd, but my swap partition doesn't work Message-ID: <3D6E32BD.9020506@72oot.net> References: <20020829153137.A432@houston.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Lephan wrote: > i've allocated 1GByte for swap, but for some reason, when i run '# top', my swap memory is still intact at 100%, while my physical memory is being drained. Now i have to reboot the system every few days, just to clear it up.. > Also, I was curious as to whether there was a command to 'flush' memory? > Thanks in advance > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message Hello, I know it looks funny but this is 'normal'. Swap is only used when almost all the memory is in use. Freebsd only frees memory when it needs more. Here is the memory and swap lines from my system's #top. Mem: 206M Active, 185M Inact, 90M Wired, 17M Cache, 61M Buf, 2108K Free Swap: 1024M Total, 16K Used, 1024M Free The 16K of swap will not be freed until more swap is requested. The same goes for the 185M in inactive. The system is "lazy". As for a flush command you could ask in questions@freebsd.org. Ryan Merrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6E32BD.9020506>
