add message on OOM kill, fix issue #70
This commit is contained in:
parent
bf760b3250
commit
11bf57fb2c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue