Re: memory use in Linux

Vladimir Dergachev (vladimid@seas.upenn.edu)
Fri, 21 Aug 1998 05:21:10 -0400 (EDT)


From the sound of it this is just a machine to have netscape running..
Tell the truth - did anybody of your users use netscape ?? The thing
is that netscape (especially old versions) eat memory when the need and
when they don't. Especially you open up a page with animations or javascript.
Java is also notorios for eating memory(and not only the one in netscape).

Note that often when netscape crashes you have to send it -KILL to make
it quit. Otherwise it just keeps running, waiting for some connection or
dns lookup.. I also think netscape is threaded (but it's gui isn't) so
it may not display anything but do work inside..

And - don't run netscape on your NT either.. It crashes it too..
(just find one of those pages with more animations than pixels on the
screen..)

Vladimir Dergachev

>
>
>
> On Thu, 20 Aug 1998, Lonnie Nunweiler wrote:
>
> > I am researching why Linux runs into memory problems. We recently had to
> > convert our dialin server, email and web server to NT, because the Linux
> > machine would eventually eat up all ram, and then crash. We were using
> > 128MB machines, and it would take about 3 days before rebooting was
> > required. If we didn't reboot soon enough, it was a very messy job
> > rebuilding some of the chewed files.
> >
> > I have encountered the saying "free memory is wasted memory", and it got me
> > thinking. I believe that statement is completely wrong, and is responsible
> > for the current problems that Linux is having for systems that keep running
> > (servers) as opposed to systems that get shut down nightly.
> >
> > If we were to treat memory as money, we would not think that money sitting
> > idly in the bank is wasted. I've been there, with no reserves, and it is
> > not fun. If too much is sitting idle, it might not be best, but let it
> > sit. It is ready in an instant should we need it. If it is not there when
> > we need it, we scramble, and sometimes get embarrassed.
> >
> > I think the memory manager should place limits on caching, so as to leave a
> > specified amount of free ram.
> >
> > >From what I have observed, processes will eventually use up all available
> > ram, and get into swapping. Imagine having a buddy or partner that was
> > just following you around to get any money you earned, and immediately
> > spent it. Eventually important things would be delayed until you could get
> > enough put aside to cover them.....only problem, that buddy is grabbing
> > anything you put away, and spending it. You try as hard as you wish, but,
> > no way can you get ahead. Then total disaster strikes. Your partner has
> > gotten hold of a credit card. At this point you can forget about ever
> > having anything to spare. Time to reboot.
> >
> > It's silly to have a 64M machine, running only a primary DNS task, and
> > having it slowly get its memory chewed up, and then get into swapping.
> > When it crashes due to no available memory, what was gained in a few
> > milliseconds faster disk access because of caching?
> >
> > Is it possible to configure Linux to limit the performance speeder-uppers
> > to leave a specified chunk of ram available? Do you think this would help
> > with reliability? Can anyone tell me how to do it?
> >
> > Thanks
> > Lonnie Nunweiler, President
> > WebWorld Warehouse Ltd.
> > 1255 - 5 th Ave.
> > PO Box 1030
> > Valemount, BC. V0E 2Z0
> >
> > www.valemount.com
> > www.webworldwarehouse.com
> >
> > lonnie@valemount.com
> > lonnie@vis.bc.ca
> > Voice: (250) 566-4698 Fax: (250) 566-9835
> >
> > --
> > This is a majordomo managed list. To unsubscribe, send a message with
> > the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
> >
>
>
>
>
> -------------------------------------------------------------------------------
> Adam Fritzler |
> afritz@delphid.ml.org | Animals who are not penguins can
> afritz@iname.com | can only wish they were.
> http://delphid.ml.org/~afritz/ | -- Chicago Reader
> http://www.pst.com/ | 15 Oct 1982
> -------------------------------------------------------------------------------
>
> --
> This is a majordomo managed list. To unsubscribe, send a message with
> the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html