From owner-freebsd-questions Wed Nov 10 13: 0:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 559DC153F9 for ; Wed, 10 Nov 1999 12:59:55 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (patr530-a089.otenet.gr [195.167.115.89]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id WAA04218 for ; Wed, 10 Nov 1999 22:06:30 +0200 (EET) Received: (qmail 433 invoked by uid 1001); 10 Nov 1999 13:50:44 -0000 To: freebsd-questions@freebsd.org Subject: Re: optimization changed from TIME to SPACE References: From: Giorgos Keramidas Date: 10 Nov 1999 15:50:44 +0200 In-Reply-To: John Ryan's message of "Wed, 10 Nov 1999 08:22:35 +0800 (CST)" Message-ID: <86emdycv63.fsf@localhost.hell.gr> Lines: 27 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Ryan writes: > 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. Squid is a very greedy program when it comes to file descriptors. However, changing maxusers to 48 should be enough for running squid and using the same machine as a workstation in X11. I am doing this at home, and with maxusers = 32 it worked fine. Oh and one more thing, is it possible that you have configured Squid to use at most X space, and when it finds it's reaching that limit it changes optimization strategy to save some space? -- Giorgos Keramidas, "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message