From owner-freebsd-questions Tue Nov 9 16:22:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lion.kgv.edu.hk (lion.kgv.edu.hk [152.101.128.1]) by hub.freebsd.org (Postfix) with SMTP id A36781518B for ; Tue, 9 Nov 1999 16:22:37 -0800 (PST) (envelope-from jryan@kgv.edu.hk) Received: (qmail 26207 invoked by uid 518); 10 Nov 1999 00:22:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Nov 1999 00:22:35 -0000 Date: Wed, 10 Nov 1999 08:22:35 +0800 (CST) From: John Ryan To: freebsd-questions@freebsd.org Subject: optimization changed from TIME to SPACE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've had a look at other questions about this on the mailing list and they all say that you are running out of space. I set up a cron job to do a df -i every minute, which does not show this to be my problem. The following output from my /var/log/messages and df -i show what's happenning. The strange thing is that November 7 was a Sunday, and this a proxy server at a secondary school. (no one using the system) The df -i output is from the same time as the third instance in the messages. The only thing I've changed in the kernel is maxusers = 48 because I was running out of file descriptors, and it's only started happenning since then. The machine is a PII with 2 x 4Gbyte SCSI discs, running FreeBSD 3.3 STABLE, Squid 2.2 STABLE5, dhcp and ipfirewall. The cache directories are in /home and /squid. Nov 7 15:38:55 proxy /kernel: /home: optimization changed from TIME to SPACE Nov 8 12:54:13 proxy /kernel: /home: optimization changed from SPACE to TIME Nov 9 10:00:44 proxy /kernel: /home: optimization changed from TIME to SPACE Tue Nov 9 10:00:00 CST 1999 Filesystem 512-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 297646 41508 232328 15% 1049 36389 3% / /dev/da0s1f 3572366 2215548 1071030 67% 114764 333938 26% /home /dev/da1s1e 8648770 5440900 2515970 68% 172858 914372 16% /squid /dev/da0s1g 3452366 959038 2217140 30% 68731 364227 16% /usr /dev/da0s1e 297646 6832 267004 2% 199 37239 1% /var procfs 8 8 0 100% 57 731 7% /proc Tue Nov 9 10:01:00 CST 1999 Filesystem 512-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 297646 41508 232328 15% 1049 36389 3% / /dev/da0s1f 3572366 2216148 1070430 67% 114787 333915 26% /home /dev/da1s1e 8648770 5440858 2516012 68% 172858 914372 16% /squid /dev/da0s1g 3452366 959038 2217140 30% 68731 364227 16% /usr /dev/da0s1e 297646 6610 267226 2% 199 37239 1% /var procfs 8 8 0 100% 55 733 7% /proc Regards John Ryan Systems Manager King George V School Kowloon, Hong Kong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message