From owner-freebsd-i386@FreeBSD.ORG Mon Sep 11 20:31:39 2006 Return-Path: X-Original-To: freebsd-i386@FreeBSD.org Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABEA016A4E6; Mon, 11 Sep 2006 20:31:39 +0000 (UTC) (envelope-from mcgehrin@reverse.net) Received: from c3p0.reverse.net (c3p0.reverse.net [66.225.200.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1406543D5A; Mon, 11 Sep 2006 20:31:38 +0000 (GMT) (envelope-from mcgehrin@reverse.net) Received: from orange (mx1.reverse.net [66.225.200.253]) by c3p0.reverse.net (Postfix) with SMTP id 182CDFDFE; Mon, 11 Sep 2006 16:31:38 -0400 (EDT) Message-ID: <001201c6d5e1$483616a0$af00a8c0@orange> From: "Matthew McGehrin" To: References: <200609111234.k8BCYgsI078440@freefall.freebsd.org> Date: Mon, 11 Sep 2006 16:31:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Cc: freebsd-i386@FreeBSD.org Subject: Re: i386/61308: Maxproc Limits counts Zombie Processes when specified in login.conf X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew McGehrin List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 20:31:39 -0000 As of last Makeworld: May 2006. FreeBSD c3p0.reverse.net 4.11-STABLE FreeBSD 4.11-STABLE #2: Tue May 23 21:09:38 EDT 2006 root@c3p0.reverse.net:/staff/obj/staff/source/sys/C3P0 i386 It's an extremely rare event. it's not overly important. For now, I have set maxproc to 32, which seems to be enough to cover the Zombie Processes. # /etc/login.conf MaxProc16:\ :passwd_format=blf:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=NO:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=48h:\ :datasize=64M:\ :stacksize=8M:\ :memorylocked=64M:\ :memoryuse=64M:\ :filesize=100M:\ :idletime=45:\ :coredumpsize=2M:\ :openfiles=1024:\ :maxproc=16:\ :sbsize=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022: root@c3p0][~]$ su - username No more processes. %exit logout $ ps -U username -x PID TT STAT TIME COMMAND 12322 ?? Z 0:00.00 (sh) 15012 ?? Z 0:00.00 (sh) 15383 ?? Z 0:00.00 (sh) 15399 ?? Z 0:00.00 (sh) 15478 ?? Z 0:00.00 (sh) 18417 ?? Z 0:00.00 (sh) 20422 ?? Z 0:00.00 (sh) 24890 ?? Z 0:00.00 (sh) 30523 ?? S 5:15.33 (ircd) 34841 ?? Z 0:00.00 (sh) 43242 ?? Z 0:00.00 (sh) 48337 ?? Z 0:00.00 (sh) 59765 ?? Z 0:00.00 (sh) 64120 ?? Z 0:00.00 (sh) 71194 ?? Z 0:00.00 (sh) 74417 ?? Z 0:00.00 (sh) 82741 ?? Z 0:00.00 (sh) 95263 ?? Z 0:00.00 (sh) 95743 ?? Z 0:00.00 (sh) 99441 ?? Z 0:00.00 (sh) 32501 p7- S 8:15.12 ./neostats 32507 p7- S 4:55.72 ./kickservices