APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

linux out of vm virtual memory

You might think this is simple: you either have ram or you do not. But consider fork and exec with one large process replacing another. For a brief period, you have a lot of memory being requested, right?

No, it is not that simple. Read Minimizing Memory Usage for Creating Application Subprocesses for a deeper discussion.

From: spike1@freenet.co.uk
Subject: Re: VM:  Killing process ....
Newsgroups: comp.os.linux.misc
References: http://groups.google.com/groups?selm=39a172b2.3488539@news.mnsi.net
Date: Tue, 22 Aug 2000 21:03:03 +0100
Message-ID: http://groups.google.com/groups?selm=n9mun8.419.ln@ridcully.freenet.co.uk
X-Original-NNTP-Posting-Host: ppp-2-37.cvx4.telinco.net

Peter Alliett <palliett@accurcast.com> did eloquently scribble:
> I seem to have a problem with my Mandrake 7.0 server today.

> It stated giving me the following messages

> VM:  Killing process sendmail
> VM:  Killing process named
> VM:  Killing process syslogd
> VM:  Killing process httpd
> VM:  Killing process ipop3d

> What does this mean and how do I fix it.

VM = Virtual Memory. the kernel ran out of REAL and Virtual memory, and
processes were still demanding more.

To survive this, the kernel goes into lifesaver mode and begins "reaping"
processes somewhat randomly in order to free memory so that it won't crash.
(I think the only process safe from reaping is probably init).

How to fix it?
1> Don't run more on your system than memory will allow.
2> find the software with the memory leak, kill it, and upgrade to a version
without that leak...
3> Buy more memory or add another swap partition.

> Peter

|   spike1@freenet.co.uk   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> linux out of vm virtual memory ––>Re: VM: Killing process....

Increase ad revenue 50-250% with Ezoic

Kerio Samepage

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Today the theory of evolution is about as much open to doubt as the theory that the earth goes round the sun. (Richard Dawkins)

This post tagged: