From 11bf57fb2ceb999e314cfbe27a4e123bf846d2c8 Mon Sep 17 00:00:00 2001 From: aiju Date: Mon, 18 Jul 2011 10:12:45 +0200 Subject: add message on OOM kill, fix issue #70 --- sys/src/9/port/proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 2064cf761..de08fe72d 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -1393,6 +1393,7 @@ procctl(Proc *p) switch(p->procctl) { case Proc_exitbig: spllo(); + pprint("Killed: Insufficient physical memory\n"); pexit("Killed: Insufficient physical memory", 1); case Proc_exitme: -- cgit v1.2.3