Subject: Ulimits
To: None <port-sparc@NetBSD.ORG, current-users@NetBSD.ORG, netbsd-help@NetBSD.ORG>
From: Neil J. McRae <neil@demon.net>
List: port-sparc
Date: 07/20/1995 11:05:16
sigh.
I've just changed my workstation from a SunOS box to a NetBSD/Sparc box.
I've got procmail running and I'm having ulimit problems that are causing
procmail to fail when forking:
7018 procmail CALL fork
7018 procmail RET fork -1 errno 35 Resource temporarily unavailable
7018 procmail CALL wait4(0xffffffff,0xf7fffa64,0,0)
7018 procmail RET wait4 -1 errno 10 No child processes
7018 procmail CALL sigprocmask(0x1,0x2000)
7018 procmail RET sigprocmask 0
7018 procmail CALL sigaction(0xe,0xf7fff968,0xf7fff958)
7018 procmail RET sigaction 0
7018 procmail CALL setitimer(0,0xf7fff988,0xf7fff978)
7018 procmail RET setitimer 0
7018 procmail CALL sigsuspend(0)
The means all my mail gets dumped to my main mail box :( and it's a
nightmare trying to keep up!
This process is being run as myself
neil 7081 0.0 0.4 228 268 ?? Ss 10:57AM 0:00.47 mail -r
noise-request@office.demon.net -d neil (procmail)
I have these limits:
core file size (blocks) 0
data seg size (kbytes) 16384
file size (blocks) 0
max memory size (kbytes) 59608
stack size (kbytes) 512
cpu time (seconds) -1
max user processes 532
pipe size (512 bytes) 1
open files 255
virtual memory (kbytes) 16896
This is really a pain, has anyone had and fixed this problem, or can I hack
the kernel to up the limits.
Regards,
Neil.
--
Neil J. McRae. Demon Internet
neil@demon.net