Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2000 18:49:19 -0600
From:      "Travis Leuthauser" <travis@winconx.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: high load averages on mail server
Message-ID:  <037d01bf7360$a9f93740$20503cd0@travis>

next in thread | raw e-mail | index | archive | help
You could always switch to qmail.  Qmail stores mail in the user's home
directory with each message in it's own file.  That configuration makes it a
 snap to set up quotas on the user's directory controlling both the amount
of
 mail they have as well as any other files in one lump sum.  Also if for
some
 horrible reason you have a system crash while mail is being delivered, the
 only messages that run the risk of corruption are the messages being
 delivered when the machine dies instead of their entire mail spool.  I
won't
 go into the numerous security enhancements qmail has over sendmail, but
it's
 certainly well worth looking at.

 Check out http://www.pobox.com/~djb for more info on qmail.

 (Warning:  This message is full of my personal opinions, but they happen to
 be shared by a great many people).

 Travis Leuthauser
 Network Administrator
 DDS Group

> ----- Original Message -----
> From: "Systems Technician" <systech@maui.net>
> To: <questions@freebsd.org>
> Sent: Wednesday, February 09, 2000 1:17 PM
> Subject: high load averages on mail server
>
>
> > Aloha,
> >
> > I'm stumped!  Here's what I got FreeBSD 3.4 running Sendmail 8.9.3
> > and Cucipop for POP.  (I've tried qpopper and no noticeable difference.)
> > Anyhow, my load averages just skyrocket from 8 - 5pm, especially in the
> morning
> > when people are checking their email at work or home.  I attached a
print
> out
> > of 'w', 'top', 'vmstat 1', and 'systat -vm 1'.
> >
> > I have 384M of RAM, but it looks to me, using 'systat -vm 1' that the
> > box is only using a small portion of it.  This doesn't look right to me
> and
> > I'm wondering if this is indicative of bad memory.  Lastly, I only see
> this
> > happening when there are a large number of connections being made to
this
> box.
> > Perhaps this is an i/o probably, but I too stupid to figure that out.
> Like
> > always any help will be appreciated and I'll mail a box of chocolate
cover
> > Macadamia Nuts to the person that helps out the most...that should get
you
> > going! ;)
> >
> >
> > ------------------------------------------------------------------------
> > (mach)10:28am# w
> > 10:28AM  up 20:18, 5 users, load averages: 11.58, 10.81, 10.18
> >
> > ------------------------------------------------------------------------
> > (mach)10:28am# top
> > last pid: 53568;  load averages:  5.27,  7.97,  9.10    up 0+20:21:24
> 10:31:39
> > 74 processes:  5 running, 69 sleeping
> > CPU states: 70.5% user,  0.0% nice, 27.6% system,  1.9% interrupt,  0.0%
> idle
> > Mem: 52M Active, 283M Inact, 23M Wired, 10M Cache, 8348K Buf, 8588K Free
> > Swap: 513M Total, 513M Free
> >
> >   PID USERNAME   PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU
COMMAND
> > 53298 xxxxxxx     91   0  1188K   852K RUN      0:22 29.02% 26.76%
cucipop
> > 53391 root        57   0  1860K  1016K RUN      0:03  9.46%  6.15% top
> > 53508 xxxxxxx     92   0  1128K   792K RUN      0:01 17.88%  4.64%
cucipop
> >   107 root         2   0  6904K  6348K select   2:28  1.61%  1.61% named
> >
> > (mach)10:44am# vmstat 1
> >  procs      memory     page                   disks        faults
cpu
> >  r b w     avm   fre  flt  re  pi  po  fr  sr da0 da1 da2   in   sy  cs
us
> sy id
> > 12 0 0   41880 19652  354   0   0   0 327  15   0   0   0  313 1162 128
49
> 17 34
> >  8 0 0   38760 20584  258   0   0   0 471   0  17   0   3  329  851 204
88
> 12  0
> >  2 0 0   35080 21352  306   0   0   0 509   0   6   0   5  333  961 209
87
> 13  0
> >
> > ------------------------------------------------------------------------
> > (mach)10:44am# systat -vm 1
> >     5 users    Load 15.70  8.52  7.58                  Tue Feb  8 10:46
> >
> > Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP
PAGER
> >         Tot   Share      Tot    Share    Free         in  out     in
out
> > Act   26644    2056    41060     2632   26464 count
> > All  372872    5176  4060400    10736         pages
> >                                                         5 cow
> Interrupts
> > Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt     22 zfod    291
> total
> >      6       33        92   35  312  290   49   39  23312 wire    100
clk0
> irq0
> >                                                     54968 act     128
rtc0
> irq8
> >  6.1%Sys   1.5%Intr 92.4%User  0.0%Nice  0.0%Idl   279888 inact    58
pci
> irq11
> > |    |    |    |    |    |    |    |    |    |      14564 cache     5
pci
> irq10
> > ===+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>    11900 free
pci
> irq9
> >                                                           daefr
fdc0
> irq6
> > Namei         Name-cache    Dir-cache                  88 prcfr
> atkbd0 irq
> >     Calls     hits    %     hits    %                     react
sio0
> irq4
> >        16       16  100                                   pdwak
sio1
> irq3
> >                                                           pdpgs
> > Discs   da0   da1   da2   sa0   fd0   ch0                 intrn
> > KB/t   0.00  0.00 64.00  0.00  0.00  0.00            8344 buf
> > tps       0     0     3     0     0     0             100 dirtybuf
> > MB/s   0.00  0.00  0.18  0.00  0.00  0.00           32260 desiredvnodes
> > % busy    0     0     3     0     0     0            5343 numvnodes
> >                                                      2882 freevnodes
> >
> > --
> >         J o n  B a d u a   S y s t e m s  T e c h n i c i a n
> >         systech@maui.net        voice: 875-2535 fax: 875-2539
> >         590 Lipoa Parkway, Ste.266  Kihei, Maui, Hawaii 96753
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>



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?037d01bf7360$a9f93740$20503cd0>