Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 14:32:10 +0200 (CEST)
From:      Tomek Dudziak <loco@piecyk.allegro.pl>
To:        freebsd-questions@freebsd.org
Subject:   Web server load avereage peaks
Message-ID:  <Pine.LNX.4.43.0206141411530.9467-100000@piecyk.allegro.pl>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having trouble with finding out what causes load average to suddenly
peak on our web server. The machine is a quad Xeon 500 Compaq with 4G
RAM, serving php/static pages. 10-13Mbit/s outgoing traffic.

Normally, load is as shown below, but from time to time the machine feels
really slow - when logged on, commands like ls or top display slowly line
by line. Load average jumps even up to 350.

The problem is that 'top' doesn't show any unusual activity - none of the
apache processes are eating more resources than normally. However more
apaches start, which I think is the result and not the cause for system
slowdown. netstat -m looks ok.

Below are two screenshots of systat - first one during normal load and
second during peak. As I don't understand all of it - maybe someone else
could help diagnose the problem.

Thanks,
Tomek

Normal
++++++++++++++++++++

    7 users    Load  4.37  5.81 12.02                  Pi=B1 14 Cze 13:55

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  174516    3240   254368     3844  635464 count
All 3367744    6344  4093828    12364         pages
                                                      781 zfod   Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt    282 cow    3470 total
    72     2 63      3692 176729079 3470  507 1310 332060 wire   2729 xl0 i=
rq2
                                                   216032 act     513 sym0 =
irq5
43.6%Sys   2.8%Intr 22.7%User  4.6%Nice 26.3%Idl  2775316 inact       sym1 =
irq9
|    |    |    |    |    |    |    |    |    |      44336 cache       ata0 =
irq14
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+>>>>>>>>=
>>>>--              591128 free        fdc0 irq6
                                                          daefr       atkbd=
0 irq
Namei         Name-cache    Dir-cache                 528 prcfr   100 clk i=
rq0
    Calls     hits    %     hits    %                     react   128 rtc i=
rq8
    66817    66611  100       11    0                     pdwake
                                                          pdpgs
Disks   da0   da1   da2   da3  acd0   fd0 pass0           intrn
KB/t   6.95  3.78  5.99  5.85  0.00  0.00  0.00    204096 buf
tps       3    13    12   471     0     0     0      2983 dirtybuf
MB/s   0.02  0.05  0.07  2.69  0.00  0.00  0.00    255641 desiredvnodes
% busy    2     7     7   100     0     0     0    240536 numvnodes
                                                    10463 freevnodes


Peak
++++++++++++++++++++
    6 users    Load124.92 46.36 24.43                  Pi=B1 14 Cze 13:27

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  363836    8380   595516     9700  473732 count
All 3528972   12084   203604    21720         pages
                                                     1148 zfod   Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt    137 cow    2783 total
   303     9 82     18298 180920570 2809  556 1411 336676 wire   2525 xl0 i=
rq2
                                                   397412 act      31 sym0 =
irq5
71.3%Sys   2.5%Intr 26.2%User  0.0%Nice  0.0%Idl  2751052 inact       sym1 =
irq9
|    |    |    |    |    |    |    |    |    |      43832 cache       ata0 =
irq14
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+>>>>>>>>>>>   429900 free        fdc0 irq=
6
                                                          daefr       atkbd=
0 irq
Namei         Name-cache    Dir-cache                 498 prcfr   100 clk i=
rq0
    Calls     hits    %     hits    %                     react   127 rtc i=
rq8
    30328    30182  100        7    0                     pdwake
                                                          pdpgs
Disks   da0   da1   da2   da3  acd0   fd0 pass0           intrn
KB/t  20.16 43.67  3.90  6.00  0.00  0.00  0.00    204096 buf
tps       3     0    27     0     0     0     0       360 dirtybuf
MB/s   0.06  0.02  0.10  0.00  0.00  0.00  0.00    255641 desiredvnodes
% busy    3     0    13     0     0     0     0    240536 numvnodes
                                                    10479 freevnodes


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0206141411530.9467-100000>