From owner-freebsd-questions Sun Apr 13 23:32:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA19404 for questions-outgoing; Sun, 13 Apr 1997 23:32:36 -0700 (PDT) Received: from tierranet.com (ns1.tierra.net [208.144.138.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA19397 for ; Sun, 13 Apr 1997 23:32:33 -0700 (PDT) Received: from c3po (dt6h3n8a.san.rr.com [204.210.37.138]) by tierranet.com (8.8.4/8.7.3) with SMTP id XAA23345 for ; Sun, 13 Apr 1997 23:32:23 -0700 (PDT) Message-Id: <3.0.1.32.19970413232726.00784ca4@tierranet.com> X-Sender: brian@tierranet.com (Unverified) X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Sun, 13 Apr 1997 23:27:26 -0700 To: questions@freebsd.org From: Brian Scott Subject: Spikes in server load Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello. We've got two FreeBSD servers (2.2.1R and 2.1.7R) on a loaded 10baseT hub. I've noticed the following behavior: server load is usually 0, but in a single second will spike to something > 1. Since this is a one-minute average, this would indicate that there was a _huge_ load spike during the period of one second. This happens quite often on both computers: 4:01PM up 18 days, 19:06, 2 users, load averages: 0.00, 0.02, 0.08 4:01PM up 18 days, 19:06, 2 users, load averages: 0.00, 0.02, 0.08 4:01PM up 18 days, 19:06, 2 users, load averages: 1.76, 0.39, 0.21 4:02PM up 18 days, 19:06, 2 users, load averages: 1.62, 0.38, 0.21 4:02PM up 18 days, 19:06, 2 users, load averages: 1.49, 0.37, 0.21 Any ideas on what could be causing this behavior? Or is 'uptime' just inaccurate? Maybe a software configuration problem? Could this be happening if the hub is completely maxed out, and FreeBSD is having to trash packets due to excessive collisions? Netstat reports an average of 50-100 collisions per second at 50k-100k network traffic per second. Both servers run Apache 1.2b6, but the web servers aren't heavily loaded. One runs named; the other does not. One is a PPro 200, 512k, 64mb, 3Com PCI The other is a Pentium 200, 256k, 64mb, Intel PCI Any help would be appreciated. Thanks, Brian Scott bscott@ucsd.edu