On Sun, 2003-09-28 at 17:25, Yedidyah Bar-David wrote:
> On Sun, Sep 28, 2003 at 04:20:08PM +0300, Noam Meltzer wrote:
> > Hi,
> > Recently I have been getting this wierd error from my kernel, after some
> > time my machine is up:
> > 
> > VM: killing process sh
> 
> grepping the kernel sources shows this (in arch/i386/mm/fault.c):
> /*
>  * We ran out of memory, or some other thing happened to us that made
>  * us unable to handle the page fault gracefully.
>  */
> out_of_memory:
>         if (tsk->pid == 1) {
>                 yield();
>                 goto survive;
>         }
>         up_read(&mm->mmap_sem);
>         printk("VM: killing process %s\n", tsk->comm);
>         if (error_code & 4)
>                 do_exit(SIGKILL);
>         goto no_context;
> 
> I do not know what this actually means, since I never got it myself.
> I do get occasionally "Out of Memory: Killed process", which comes
> from mm/oom_kill.c, and is the more "common" place for such things.
> Maybe it happens on severe lacks of memory, I don't know.
> Anyway, you write (below) you have 16MB. This is quite small for
> a desktop machine. My best explanation is that you started doing
> things you did not do in the past, and maxed out your 16MB.

I have made a configuration change recently, but not one that should
take up so much memory. This is not a desktop machine, it's a router.
Its only task in life is to MASQ my two other machines I have and thats
about it.
The change I did was to replace my Internet keep-alive cron with the
built-in mecahnism of pppd, (using ip-down/ip-up scripts) so when the
internet gets disconnected, it will automatically be re-connected again.


But, that made me wonder... I have 16MB of RAM. But what about my
swap(/virtual memory)?
So I checked, and to my surprise I found that my SWAP partition isn't
being used. So I started the swap, and hopefully this will solve the
problem.

10x for you help,
and shana-tova

-- 
Noam Meltzer
[EMAIL PROTECTED]
ICQ: 4853872


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to