From owner-freebsd-stable@FreeBSD.ORG Fri Feb 24 13:50:25 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1D1516A422 for ; Fri, 24 Feb 2006 13:50:25 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9341843D45 for ; Fri, 24 Feb 2006 13:50:22 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.4/8.13.4) with ESMTP id k1ODoFuF076574 for ; Fri, 24 Feb 2006 14:50:16 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <43FF0F17.1070800@fer.hr> Date: Fri, 24 Feb 2006 14:50:15 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Hyperactive pagezero X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 13:50:26 -0000 On a very loaded web server (httpd processes are huge because PHP uses lots of shared memory) the pagezero process seems to constantly take up to 30% of CPU time (this is 2-CPU SMP machine): PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12 root 1 171 52 0K 8K RUN 0 220.0H 35.74% idle: cpu0 61 root 1 -16 -135 0K 8K pgzero 0 679:47 27.83% pagezero 35199 www 1 122 0 71132K 42140K CPU1 1 0:35 26.56% httpd 35541 www 1 96 0 51452K 22452K select 0 0:21 15.14% httpd 11 root 1 171 52 0K 8K RUN 1 192.5H 14.94% idle: cpu1 35391 www 1 20 0 63368K 34272K lockf 0 1:02 3.56% httpd 35467 www 1 97 0 50772K 20768K select 0 0:23 2.05% httpd 35447 www 1 98 0 51724K 22956K select 0 0:04 1.76% httpd 35390 www 1 20 0 51140K 22708K lockf 0 0:27 1.37% httpd 44 root 1 -44 -163 0K 8K WAIT 1 161:04 1.27% swi1: net This is: FreeBSD myserver.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Sun Feb 5 00:07:27 CET 2006 I have 'aj' linked as /etc/malloc.conf. Any ideas on why this is so? 30% CPU just seems way too much for such thing.