Swap partition not used?
Hiya, After a while of using 5.3RELEASE, i have noticed a small problem, my swap partition isnt getting used. Well its not a small problem considering that i have only 256mb ram on this machine. boredom# swapctl -l Device: 1024-blocks Used: /dev/ad0s1b 48211256 this i suppose shows that some of it is used but the amount used never increases. I'm currently using 100% memory (installing openoffice from ports, finally). It is in /etc/fstab as: # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 I've tried using swapon -a to add it and it doesnt seem to have worked. Its also does not show in df -ha ,though i cant recall if it is supposed to be there. Though i dont think it has to be mounted? -- Theres no place like ::1 Thanks, SimonB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Swap partition not used?
On Sat, 11 Dec 2004 09:22:23 -0600, Kevin D. Kinsey, DaleCo, S.P. <[EMAIL PROTECTED]> wrote: > Simon Burke wrote: > > > > >Hiya, > > > >After a while of using 5.3RELEASE, i have noticed a small problem, my > >swap partition isnt getting used. Well its not a small problem > >considering that i have only 256mb ram on this machine. , finally). > > > > > >I've tried using swapon -a to add it and it doesnt seem to have worked. > > > >Its also does not show in df -ha ,though i cant recall if it is > >supposed to be there. Though i dont think it has to be mounted? > > > > > > No, swap doesn't have a mount point, per se. > > Does swapinfo(8) give the same output as > `swapctl -l` ? > I can not answer that question at the momment, as i have now got it working by using 'swapon /dev/ad0s1b'. Which makes me think there is a problem with my fstab, i'll take a look at it and see if thats the problem. -- Theres no place like ::1 Thanks, SimonB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Swap partition not used?
Simon Burke wrote: After a while of using 5.3RELEASE, i have noticed a small problem, my swap partition isnt getting used. Well its not a small problem considering that i have only 256mb ram on this machine. boredom# swapctl -l Device: 1024-blocks Used: /dev/ad0s1b 48211256 this i suppose shows that some of it is used but the amount used never increases. I'm currently using 100% memory (installing openoffice from ports, finally). Do you get any system error messages indicating that something is running out of memory? If not, I'd say everything is OK with your system - the swap is not used much because it simply isn't needed. The fact that 56 kB of swap is used seems to indicate that your system knows very well where it's swap is. I've tried using swapon -a to add it and it doesnt seem to have worked. What do you mean by that? The swapctl output above shows that your swap partition is being used. You can't force your system to use more swap by issuing that command ;) Its also does not show in df -ha ,though i cant recall if it is supposed to be there. Though i dont think it has to be mounted? No, the swap partition is not supposed to show up in output of df. I'm also running a 5.3-STABLE box with 256 MB of RAM and at the moment the situation is like that: premium# swapctl -l Device: 1024-blocks Used: /dev/ad0s1b 524288 0 I'm not worried at all :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Swap partition not used?
Simon Burke wrote: Hiya, After a while of using 5.3RELEASE, i have noticed a small problem, my swap partition isnt getting used. Well its not a small problem considering that i have only 256mb ram on this machine. boredom# swapctl -l Device: 1024-blocks Used: /dev/ad0s1b 48211256 this i suppose shows that some of it is used but the amount used never increases. I'm currently using 100% memory (installing openoffice from ports, finally). It is in /etc/fstab as: # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 I've tried using swapon -a to add it and it doesnt seem to have worked. Its also does not show in df -ha ,though i cant recall if it is supposed to be there. Though i dont think it has to be mounted? No, swap doesn't have a mount point, per se. Does swapinfo(8) give the same output as `swapctl -l` ? Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"