i386/61308: Maxproc Limits counts Zombie Processes when specified in login.conf

Matthew McGehrin mcgehrin at reverse.net
Mon Sep 11 13:31:39 PDT 2006


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 at 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 at 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





More information about the freebsd-i386 mailing list