From owner-freebsd-questions Wed Dec 11 9:17:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C486537B401 for ; Wed, 11 Dec 2002 09:17:15 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7451843E4A for ; Wed, 11 Dec 2002 09:17:14 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 64900 invoked from network); 11 Dec 2002 17:17:07 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 11 Dec 2002 17:17:07 -0000 Message-ID: <3DF772FE.7080108@liwing.de> Date: Wed, 11 Dec 2002 18:16:46 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Everlund Cc: C J Michaels , questions@FreeBSD.org Subject: Re: ...changed from TIME to SPACE References: <1299.216.153.201.47.1039623659.squirrel@www.27in.tv> <3DF76F78.8040100@cs.umu.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Paul Everlund wrote: > C J Michaels wrote: > >> Some time in the recent past Paul Everlund scribbled: >> >> >Hi list! >> > >> >What does this mean? >> > >> ># sysctl kern.msgbuf >> >[snip] >> ><5>/var: optimization changed from TIME to SPACE >> ><118>Dec 10 11:36:12 fw /kernel: /var: optimization changed from TIME to >> >SPACE [snip] >> >> It means that your /var filesystem is nearly full. The kernel is now >> trying to maximize the amout of free full blocks on the filesystem. >> >> >From fs(5) manpage: >> === >> The element fs_optim specifies whether the file system should try to min- >> imize the time spent allocating blocks, or if it should attempt to mini- >> mize the space fragmentation on the disk. If the value of fs_minfree >> (see above) is less than 10%, then the file system defaults to optimizing >> for space to avoid running out of full sized blocks. If the value of >> minfree is greater than or equal to 10%, fragmentation is unlikely to be >> problematical, and the file system defaults to optimizing for time. >> === >> >> Some other good reads would be tunefs(8), newfs(8), and the mailing list >> archives. > > > Thank you Chris and Jens for your replies! > > A full file system on /var triggered it? > > # df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad1s1a 65470 40452 19782 67% / > /dev/ad0s1e 2030062 801262 1066396 43% /usr > /dev/ad1s1e 35230 17770 14642 55% /var > procfs 4 4 0 100% /proc > > It doesn't look full to me. > > Best regards, > Paul > Try 'df -ik' -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message