--- /n/sources/plan9/sys/src/9/port/proc.c Mon Dec 2 22:42:53 2013 +++ /sys/src/9/port/proc.c Fri Apr 29 00:00:00 2016 @@ -1142,13 +1142,13 @@ p->time[TCUser] += utime; p->time[TCSys] += stime; /* - * If there would be more than 128 wait records + * If there would be more than 2000 wait records * processes for my parent, then don't leave a wait * record behind. This helps prevent badly written * daemon processes from accumulating lots of wait * records. */ - if(p->nwait < 128) { + if(p->nwait < 2000) { wq->next = p->waitq; p->waitq = wq; p->nwait++;