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

linux out of vm virtual memory

© December 2004 (various authors)

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: https://groups.google.com/groups?selm=39a172b2.3488539@news.mnsi.net
Date: Tue, 22 Aug 2000 21:03:03 +0100
Message-ID: https://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....

Inexpensive and informative Apple related e-books:

Take Control of Upgrading to El Capitan

Take Control of Numbers

Take Control of Automating Your Mac

Take Control of High Sierra

Take Control of IOS 11

Printer Friendly Version

Have you tried Searching this site?

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

Printer Friendly Version

If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family Anatidae on our hands. (Douglas Adams)

Linux posts

Troubleshooting posts

This post tagged:




Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)