From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 05:34:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0186916A417 for ; Thu, 23 Aug 2007 05:34:51 +0000 (UTC) (envelope-from unixvn@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id B3D5813C45A for ; Thu, 23 Aug 2007 05:34:50 +0000 (UTC) (envelope-from unixvn@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so761989pyb for ; Wed, 22 Aug 2007 22:34:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JyNJ5PePy9e1VgUwcQ9bknG+CeV8UUIVIVgz23MbVpqPoBu7YPBtzGKd2ZL87pLn8qijERPnD1EyzrK8rLJWxcucP8TSdmVbM1e2ZwvtpFswBy9PzQb1XP6YWKarVOPW8M3m1cGQaOKxLO+yPCbkU4L5S8/IjuNlYG18SpwEAic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LE826qlVuTNhsWNyhSnjCVkxnjbecbRUvzyZXPuoGXL825Kaj0vuIvWdW3OYWeOKy4ZdyAhNccZx+atF93zp3IkaqQM8dKZV7LTBlxjkzELhD+K8j/Kwy9qielG6MrlAK/hA73XrJeP9pbSH5K+Ue5DQWb9KvpzfjPV8xvPqIOo= Received: by 10.65.254.5 with SMTP id g5mr2480568qbs.1187847289721; Wed, 22 Aug 2007 22:34:49 -0700 (PDT) Received: by 10.65.250.12 with HTTP; Wed, 22 Aug 2007 22:34:49 -0700 (PDT) Message-ID: <64b284310708222234h77d4f97ej84aada7cf962a734@mail.gmail.com> Date: Thu, 23 Aug 2007 12:34:49 +0700 From: "Nguyen Tam Chinh" To: "Chuck Swiger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64b284310708220234n4a01cf47r3767079b6c50eb55@mail.gmail.com> Cc: FreeBSD-Questions Subject: Re: It's top shows wrong load percent? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 05:34:51 -0000 On 8/23/07, Chuck Swiger wrote: > On Aug 22, 2007, at 2:34 AM, Nguyen Tam Chinh wrote: > > Please advice how to debug this overload problem. > > Thank you very much! > > > > -------------------------- > > %top > > last pid: 12901; load averages: 8.68, 8.65, 8.65 up 1 > > +20:44:06 04:15:12 > > 1438 processes:9 running, 1429 sleeping > > Look at the number of processes you've got-- most likely you've got > some scripts leaving zombie processes around, or one of the server > programs you are running isn't cleaning up after it's children > properly. Do a "ps aux" and look for excessive numbers of processes.... Thank you for your reply, we actually initialized over 1200 python threads on each server. I'll try to low down the thread number for tracking the problem. -- With best regards, | The Power to Serve Nguyen Tam Chinh | http://www.FreeBSD.org