From owner-freebsd-stable Wed Jun 28 20:54:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wat-border.sentex.ca (waterloo-hespler.sentex.ca [199.212.135.66]) by hub.freebsd.org (Postfix) with ESMTP id 4A8CA37BAD6 for ; Wed, 28 Jun 2000 20:54:28 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by wat-border.sentex.ca (8.9.3/8.9.3) with ESMTP id XAA12860 for ; Wed, 28 Jun 2000 23:54:26 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id XAA19660 for ; Wed, 28 Jun 2000 23:54:26 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: stable@freebsd.org Subject: Re: Strange FreeBSD 4.x system freezes and SQUID Date: Thu, 29 Jun 2000 03:50:04 GMT Message-ID: <395ac5d3.371222900@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27 Jun 2000 17:24:23 -0400, in sentex.lists.freebsd.misc you wrote: To followup on my system 'freezing' problem.... I have been running the box for a good 12hrs now with 2 small modifications. One, I up'd the max users to 256. Two, I began rotating the squid logs every 4hrs. This last point is rather strange. I notice that after the log rotation, my free vnodes blast up from 2,000 to nearly 12,000. 4 users Load 0.62 0.36 0.22 Wed Jun 28 23:49 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 191376 1168 193640 1908 19860 count All 513320 1572 2994980 2488 pages zfod Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt cow 443 total 1 5 1140 588 1065 444 18 2 59568 wire ahc0 irq10 203060 act fxp0 irq12 4.7%Sys 0.9%Intr 3.7%User 0.0%Nice 90.7%Idl 231828 inact 210 fxp1 irq9 | | | | | | | | | | 18864 cache 5 twe0 irq11 ==+>> 996 free fdc0 irq6 daefr sio0 irq4 Namei Name-cache Dir-cache prcfr sio1 irq3 Calls hits % hits % react sio7 irq7 390 332 85 6 2 pdwak 100 clk irq0 pdpgs 128 rtc irq8 Disks twed0 da0 da1 da2 fd0 pass0 pass1 intrn KB/t 10.33 16.00 0.00 0.00 0.00 0.00 0.00 62064 buf tps 5 0 0 0 0 0 0 233 dirtybuf MB/s 0.05 0.00 0.00 0.00 0.00 0.00 0.00 36260 desiredvnodes % busy 5 0 0 0 0 0 0 36213 numvnodes 8479 freevnodes This is after rotating the logs an hours ago via cron. The freevnodes keeps going down until the next rotate. Why would rotating a few big logs cause these values to change so much ? -rw-r--r-- 1 squid squid 28204318 Jun 28 23:51 access.log -rw-r--r-- 1 squid squid 65535714 Jun 28 22:00 access.log.0 -rw-r--r-- 1 squid squid 19418684 Jun 28 18:00 access.log.1 If I dont rotate them I start to get into the 'freezing' syndrome again where the system is unresponsive for a good 3-6 seconds. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message