Subject: scheduler: no room for pid xx(.....), free x
To: None <current-users@netbsd.org>
From: Dave Huang <khym@bga.com>
List: current-users
Date: 12/24/1998 00:12:17
My system: Pentium II, 80MB RAM, NFS root, no swap, NetBSD-current
kernel from Dec 23 srcs.

I was trying to do a big compile (very big, apparently... I repeated
the compile on a machine with local disk, swap, and more RAM, and
cc1plus grabbed about 95megs) and got a stream of messages like this:

Dec 23 23:56:54 fluff /netbsd: scheduler: no room for pid 79(syslogd), free 2
Dec 23 23:56:54 fluff /netbsd: scheduler: no room for pid 79(syslogd), free 2
Dec 23 23:58:06 fluff /netbsd: : no room for pid 123(cron), free 1
Dec 23 23:58:06 fluff /netbsd: scheduler: no room for pid 123(cron), free 1
Dec 23 23:58:06 fluff last message repeated 726 times

^C was able to kill the compile and bring the system back. I figured I
might need some swap, so I created a 80 meg swapfile on the NFS server
and added it with swapctl, then tried the compile again. Same
results... only about 700K of my swapfile was used before scheduler
started complaining. So what's the deal? Does the kernel get impatient
waiting for paging across NFS or something?
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 23 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++