From owner-freebsd-questions Wed Feb 9 13:20: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from work.maui.net (work.maui.net [207.175.210.47]) by builder.freebsd.org (Postfix) with ESMTP id 05754429F for ; Wed, 9 Feb 2000 13:19:58 -0800 (PST) Received: from localhost (6230 bytes) by work.maui.net via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Wed, 9 Feb 2000 11:26:42 -1000 (HST) (Smail-3.2.0.97 1997-Aug-19 #2 built 1997-Nov-29) Date: Wed, 9 Feb 2000 11:26:42 -1000 From: Systems Technician To: Andy Cc: questions@freebsd.org Subject: Re: high load averages on mail server Message-ID: <20000209112642.A14889@work.maui.net> Reply-To: systech@maui.net References: <20000209091709.A12776@work.maui.net> <3.0.6.32.20000209150614.008ea100@mega-mail.far.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3.0.6.32.20000209150614.008ea100@mega-mail.far.net>; from andy@mega-mail.far.net on Wed, Feb 09, 2000 at 03:06:14PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Aloha Andy, Thank you for your interest. On Feb 09, 2000, you Andy sent a message that said: ! What do you have for a processor? CPU: Pentium II/Xeon/Celeron (350.80-MHz 686-class CPU) ! What's the rough average size of user mailboxes? Lots of ! leave-mail-on-server types? The average is roughly 500K. But, the big mailboxes like to check their mail every 2 minutes. Make 'em feel important....hehe. I'm starting think that it 3.4's way of handling /var/mail. I had this same mail spool on a 2.1.7 box and it handled just fine. I'm thinking about splitting up /var/mail into sub-directories. Any thoughts? ! Andy ! ! ! At 09:17 AM 2/9/00 -1000, you wrote: ! >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 ! > ! > ! ! ----- ! Andy ! Far Networks ! http://www.far.net/ -- 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