Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 16:31:37 -0400
From:      "Matthew McGehrin" <mcgehrin@reverse.net>
To:        <remko@FreeBSD.org>
Cc:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/61308: Maxproc Limits counts Zombie Processes when specified in login.conf
Message-ID:  <001201c6d5e1$483616a0$af00a8c0@orange>
References:  <200609111234.k8BCYgsI078440@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c6d5e1$483616a0$af00a8c0>