Re: [PATCH] Patch to Memory Subsystem ... (Needed?)

Brian Schau (bsc@fleggaard.dk)
Fri, 06 Nov 1998 21:34:26 +0100


Meelis Roos wrote:
>
> > Just a thought, but how much memory does root need to do suchlike
> > cleanups? Let's see - load the login shell (probably already in
> > memory anyway, so 0k), run ps (may already be in memory) to find out
> > which processes are currently hogging memory, then kill (usually a
> > shell internal, so 0k) to get rid of a few of them...that should do...
>
> You are not counting the individual data segments of every bash etc...
>
> ---
> Meelis Roos (mroos@tartu.cyber.ee)

It seems I need to explain the trouble I experienced (this is how one of
my colleagues explained it to me ... )

Picture this. We're running some Cobol (*sigh*) applications which,
based on the sale of my employer, calculates totals, income, handling
stock and so on. These applications are handling some rather large
databases (1.4Gig and up). The cobol-runtime/applications does as much
of their work in ram as possible. So as long as it get the ram, it uses
it. And Linux is giving away the ram as fast as possible ;o)
The cobol-runtime has this bad habit of 'hanging' when it can't get more
free ram (memory exhausted). It's not Liunx'es fault. It's the
runtime vendor - they admit it. "But wait until version 4.2, it will
be out in 1999 ..."
We can't live with that.

Oh! The cobol-applications are usually run during night when nobody
uses the servers - so no 'bash', 'ps' or the like are in the cache.
The next morning when somebody tries to login (s)he will be denied
access ....

And to make matters even worse. It's not *everyday* we experience this
- it's dependable on how well my employer is selling ... (lot of sale
means lot of data to be handled ...)

Kind regards,

"Frustrated" Brian

-
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.tux.org/lkml/