diff --git a/sys/src/9k/port/proc.c b/sys/src/9k/port/proc.c index fdc4d59b6..7f2ecb912 100644 --- a/sys/src/9k/port/proc.c +++ b/sys/src/9k/port/proc.c @@ -1085,13 +1085,13 @@ pexit(char *exitstr, int freemem) 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++;