Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 09:25:29 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: can not fork... 
Message-ID:  <199808101625.JAA01769@rah.star-gate.com>
In-Reply-To: Your message of "Mon, 10 Aug 1998 08:45:54 PDT." <199808101545.IAA12270@antipodes.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
My old limits:

{hasty} limit
cputime         unlimited
filesize        unlimited
datasize        32768 kbytes
stacksize       16384 kbytes
coredumpsize    unlimited
memoryuse       unlimited
descriptors     256 
memorylocked    20480 kbytes
maxproc         32 
{hasty} ps -x | wc -l
      24

My new limits:
{hasty} limit
cputime         unlimited
filesize        unlimited
datasize        524288 kbytes
stacksize       49152 kbytes
coredumpsize    unlimited
memoryuse       unlimited
descriptors     256 
memorylocked    20480 kbytes
maxproc         64 


I just bumped up my login class xuser:

xuser:\
        :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
        :cputime=4h:\
        :datasize=64M:\
        :stacksize=32M:\
        :filesize=32M:\
        :memoryuse=120M:\
        :openfiles=256:\
        :maxproc=64:\
        :tc=standard:
and increased maxusers to 64 in my kernel config file.

I think what I will do next is decreased my limits and repeat the
same experiment . 

I usually don't run much in my system

USER     PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
hasty   1703  0.0  0.0   404  280  p4  R+    9:19AM   0:00.00 ps -xuaw
root       1  0.0  0.0   496  180  ??  Is    7:18PM   0:00.13 /sbin/init --
root       2  0.0  0.0     0    0  ??  DL    7:18PM   0:00.05  (pagedaemon)
root       3  0.0  0.0     0    0  ??  DL    7:18PM   0:00.00  (vmdaemon)
root       4  0.0  0.0     0    0  ??  DL    7:18PM   0:01.95  (syncer)
root      28  0.0  0.0   204   68  ??  Is    7:18PM   0:00.00 adjkerntz -i
root      83  0.0  0.0   796  396  ??  Ss    2:18AM   0:00.25 syslogd
root      89  0.0  0.0  1756 1292  ??  Is    2:18AM   0:00.46 named -b 
/etc/namedb/named.conf
daemon    94  0.0  0.0   780  304  ??  Is    2:18AM   0:00.00 portmap
root     102  0.0  0.0   460  228  ??  Is    2:18AM   0:00.00 mountd
root     105  0.0  0.0   316  140  ??  Is    2:18AM   0:00.01 nfsd: master 
(nfsd)
root     109  0.0  0.0   296   88  ??  I     2:18AM   0:00.00 nfsd: server 
(nfsd)
root     110  0.0  0.0   296   88  ??  I     2:18AM   0:00.00 nfsd: server 
(nfsd)
root     111  0.0  0.0   296   88  ??  I     2:18AM   0:00.00 nfsd: server 
(nfsd)
root     112  0.0  0.0   296   88  ??  I     2:18AM   0:00.00 nfsd: server 
(nfsd)
root     113  0.0  0.0 262944  316  ??  Is    2:18AM   0:00.00 rpc.statd
root     128  0.0  0.0   836  380  ??  Is    2:18AM   0:00.13 inetd
root     130  0.0  0.0   952  380  ??  Is    2:18AM   0:00.81 cron
root     134  0.0  0.0   808  420  ??  Is    2:18AM   0:00.01 lpd
root     137  0.0  0.0  1192  576  ??  Ss    2:18AM   0:00.28 sendmail: 
accepting connections on port 25 (sendmail)
root     158  0.0  0.0   760  340  ??  Ss    2:18AM   0:01.89 moused -p 
/dev/mouse -t x10mouseremote
msql     172  0.0  0.0  1048  464 con- I+    2:18AM   0:01.54 
/usr/local/bin/msql2d
root     186  0.0  0.0  1296  640  ??  Is    2:18AM   0:00.00 
/usr/local/sbin/smbd -D
root     188  0.0  0.0  1160  684  ??  Ss    2:18AM   0:00.46 
/usr/local/sbin/nmbd -D
root     193  0.0  0.0  1152  576  ??  Is    2:18AM   0:00.74 
/usr/local/sbin/sshd
hasty    217  0.0  0.0  1360  940  v0  Is    2:18AM   0:00.13 -tcsh (tcsh)
root     218  0.0  0.0   796  416  v1  Is+   2:18AM   0:00.01 
/usr/libexec/getty Pc ttyv1
root     219  0.0  0.0   796  416  v2  Is+   2:18AM   0:00.01 
/usr/libexec/getty Pc ttyv2
hasty    223  0.0  0.0   456  236  v0  I+    2:18AM   0:00.02 /bin/csh 
/usr/local/bin/sx 16
hasty    224  0.0  0.0  1688  600  v0  I+    2:18AM   0:00.02 
/usr/X11R6/bin/xinit -- /usr/X11R6/bin/Xwrapper :0 -gamma 1.5 -bpp 16
root     225  0.0  0.0 14152 12384  ??  S     2:18AM   5:12.93 
/usr/X11R6/bin/Xwrapper :0 -gamma 1.5 -bpp 16 (XF86_SVGA)
hasty    228  0.0  0.0   492  156  v0  I     2:18AM   0:00.01 sh 
/home/hasty/.xinitrc
hasty    229  0.0  0.0  2044 1148  v0  I     2:18AM   0:00.06 xconsole
root     231  0.0  0.0  3052 2184  v0  S     2:18AM   0:02.64 xterm -e tcsh
hasty    233  0.0  0.0  1720  984  v0  S     2:18AM   0:00.87 fvwm95-2
hasty    234  0.0  0.0  1376  440  v0  S     2:18AM   0:00.03 
/usr/X11R6/lib/X11/fvwm95-2/FvwmAuto 9 6 .fvwm2rc95 0 8 300
hasty    237  0.0  0.0  1496  696  v0  S     2:18AM   0:00.08 
/usr/X11R6/lib/X11/fvwm95-2//FvwmButtons 10 5 .fvwm2rc95 0 8
hasty    238  0.0  0.0  1564  776  v0  S     2:18AM   0:00.27 
/usr/X11R6/lib/X11/fvwm95-2//FvwmTaskBar 12 5 .fvwm2rc95 0 8
hasty    240  0.0  0.0  2036 1172  v0  S     2:18AM   0:04.82 xclock
hasty    241  0.0  0.0   500  160  v0  I     2:18AM   0:00.00 /bin/sh -c nice 
-16 xload -fg red -nolabel -bg grey60 -update 5 -geom
hasty    242  0.0  0.0  2148 1292  v0  SN    2:18AM   0:01.10 xload
hasty    243  0.0  0.0  1492  688  v0  S     2:18AM   0:00.11 
/usr/X11R6/lib/X11/fvwm95-2//FvwmPager 14 5 .fvwm2rc95 0 8 0 0
hasty    244  0.0  0.0  1344  920  p0  Is    2:18AM   0:00.10 -csh (tcsh)
hasty    246  0.0  0.0 32176 27064  p0  S     2:18AM  31:41.40 netscape
hasty    247  0.0  0.0 13424 3084  p0  I     2:18AM   0:00.22 (dns helper) 
(netscape)
hasty    263  0.0  0.0   920  512  p0  I+    2:28AM   0:00.84 telnet rah
root     264  0.0  0.0   864  456  ??  Is    2:28AM   0:00.62 telnetd
hasty    265  0.0  0.0  1364 1008  p2  Is    2:28AM   0:00.22 -tcsh (tcsh)
hasty   1041  0.0  0.0  8916 8380  v0  S     8:31AM   0:34.78 
/usr/local/bin/wish8.0 -f /usr/local/bin/exmh
hasty   1424  0.0  0.0  3828 2988  v0  I     8:32AM   0:01.00 
/usr/local/bin/wish8.0 -f /usr/local/bin/exmh-bg exmh /usr/local/lib/
root    1686  0.0  0.0  2436 1748  v0  S     9:12AM   0:00.17 xterm
hasty   1687  0.0  0.0  1348  976  p4  Ss    9:12AM   0:00.11 -tcsh (tcsh)
hasty   1695  0.0  0.0  5444 4992  v0  S     9:14AM   0:00.26 ispell -a -S
hasty   1699  0.0  0.0   820  556  p2  I+    9:16AM   0:00.02 more -e 
/etc/login.conf
root       0  0.0  0.0     0    0  ??  DLs   7:18PM   0:00.02  (swapper)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808101625.JAA01769>