Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2000 03:50:04 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        stable@freebsd.org
Subject:   Re: Strange FreeBSD 4.x system freezes and SQUID
Message-ID:  <395ac5d3.371222900@mail.sentex.net>
In-Reply-To: <SEN.962141063.246806213@news.sentex.net>
References:  <SEN.962141063.246806213@news.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395ac5d3.371222900>