Re: memory problems

2000-10-06 Thread Ray Curtis

> "mle" == Mikkel L Ellertson <[EMAIL PROTECTED]> writes:

mle> On Thu, 5 Oct 2000, Ray Curtis wrote:
>> 
>> Read the manpage on lilo.conf, you will note that the 'append'
>> statement belongs in the global section of lilo.conf.
>> 
>> Should be:
>> 
>> append="mem=128M"
>> 
>> image=/boot/linux-2.2.12
>> label=linux
>> initrd=/boot/initrd-2.2.12-20.img
>> read-only
>> root=/dev/hda2
>> 
mle> You had better re-read that man page - it actualy lists the append option
mle> in the per image section, not in the global section.  This actualy makes
mle> sense because you sometimes use different append options with different
mle> images, depending on how you have the kernel compiled, or what version you
mle> are running.

I stand corrected already,it works in both sections global and image, 
However since your machine has a certain amount of memory it
only makes sense that with whatever image you run you would want to
use all available memory.


-- 
Ray Curtis Unix Programmer/Consultant   Curtis Consulting
mailto:[EMAIL PROTECTED]http://www.clark.net/pub/ray




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-06 Thread Uncle Meat


On 06-Oct-2000 Ray Curtis spoke something to the effect:
>>>>>> "k" == kabir  <[EMAIL PROTECTED]> writes:
> 
> k> -BEGIN PGP SIGNED MESSAGE-
> k> Hash: SHA1
> 
> k> I am having memory problems I added the statement  append=mem=128M" to
> my
> k> lilo.conf and it won't recognise it. 
> k> Here is my lilo.conf file:
> k> 
> k> image=/boot/linux-2.2.12
> k> label=linux
> k> initrd=/boot/initrd-2.2.12-20.img
> k> read-only
> k> root=/dev/hda2
> k> append=" mem=128M"
> 
> k> other=/dev/hda1
> k> label=dos
> 
> Read the manpage on lilo.conf, you will note that the 'append'
> statement belongs in the global section of lilo.conf.
> 
> Should be:
> 
> append="mem=128M"
> 
> image=/boot/linux-2.2.12
>  label=linux
>  initrd=/boot/initrd-2.2.12-20.img
>  read-only
>  root=/dev/hda2

It will work the way it is in the original post.It would  just need to be
added into every section with a kernel (image) entry or it won't show up.
Been there, done that.

-- 
It's OK. I'm an intellectual, too.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-06 Thread rpjday

On Fri, 6 Oct 2000, Mikkel L. Ellertson wrote:

> On Thu, 5 Oct 2000, Ray Curtis wrote:
> > 
> > Read the manpage on lilo.conf, you will note that the 'append'
> > statement belongs in the global section of lilo.conf.
> > 
> You had better re-read that man page - it actualy lists the append option
> in the per image section, not in the global section.  This actualy makes
> sense because you sometimes use different append options with different
> images, depending on how you have the kernel compiled, or what version you
> are running.

actually, i think you can have the "append=" directive either global,
or in one of the images.  most of the lilo.conf directives are
like this, where the specific one overrides the global one.

unfortunately, the man page for lilo.conf does not always make
clear which directives can be both global and per-image.

rday

-- 
"This is Microsoft technical support.  How may I misinform you?"




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-06 Thread fred smith

On Thu, Oct 05, 2000 at 11:21:20AM -0400, [EMAIL PROTECTED] wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I am having memory problems I added the statement  append=mem=128M" to my
> lilo.conf and it won't recognise it. 
> Here is my lilo.conf file:
> 
> image=/boot/linux-2.2.12
> label=linux
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/hda2
> append=" mem=128M"
  ^
Try losing the space

-- 
 Fred Smith -- [EMAIL PROTECTED] 
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
 heaven, but only he who does the will of my Father who is in heaven."
-- Matthew 7:21 (niv) -



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Mikkel L. Ellertson

On Thu, 5 Oct 2000, Ray Curtis wrote:
> 
> Read the manpage on lilo.conf, you will note that the 'append'
> statement belongs in the global section of lilo.conf.
> 
> Should be:
> 
> append="mem=128M"
> 
> image=/boot/linux-2.2.12
>  label=linux
>  initrd=/boot/initrd-2.2.12-20.img
>  read-only
>  root=/dev/hda2
> 
You had better re-read that man page - it actualy lists the append option
in the per image section, not in the global section.  This actualy makes
sense because you sometimes use different append options with different
images, depending on how you have the kernel compiled, or what version you
are running.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Eddie Strohmier

Your total memory from free shows 127820. If your running in X mode this
requires quite a bit of memory. Memory is also allocated for buffers and
cache. I would not worry about the print out from this free as it looks
quite normal to me. I ran a news service at one time that if you ran a top
showed 40 % of memory allocated to the news service alone. I was always
dipping into swap but as long as your not dipping to deeply into swap your
memory usage is fine. Why have memoy on board and not have in use? Memory
not in use is "free memory".


Eddie Strohmier


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 10:21 AM
Subject: memory problems


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I am having memory problems I added the statement  append=mem=128M" to my
> lilo.conf and it won't recognise it.
> Here is my lilo.conf file:
> 
> image=/boot/linux-2.2.12
> label=linux
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/hda2
> append=" mem=128M"
>
> other=/dev/hda1
> label=dos
>
> Here is my readout from free
>
>  total   used   free sharedbuffers cached
> Mem:   127820 124748   3072  28396   9212  50796
> - -/+ buffers/cache:  64740   63080
> Swap:   401616   2288399328
>
> I think I should definately have more 3 Megs free !
> What is wrong here ?
> Larry<[EMAIL PROTECTED]>
>
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.3 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE53Jxqq3uBt76RTogRAkyuAKCtq62PDCm44RYhjpQ8wi6f1UzHzwCePp2r
> Zv5L9e2tBYMCco7KsjISXzM=
> =c9hs
> -END PGP SIGNATURE-
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread John Aldrich

On Thu, 05 Oct 2000, [EMAIL PROTECTED] wrote:

> I am having memory problems I added the statement  append=mem=128M" to my
> lilo.conf and it won't recognise it. 
> Here is my lilo.conf file:
> 
> image=/boot/linux-2.2.12
> label=linux
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/hda2
> append=" mem=128M"
> 
> other=/dev/hda1
> label=dos
> 
> Here is my readout from free
> 
>  total   used   free sharedbuffers cached
> Mem:   127820 124748   3072  28396   9212  50796
> - -/+ buffers/cache:  64740   63080
> Swap:   401616   2288399328
> 
> I think I should definately have more 3 Megs free !
> What is wrong here ?
>
Nothing. Linux just uses most of the available RAM for
caching. If it is needed, it will release the memory.
Unlike Windows which does NOT cache in memory, you can
expect to see most of your ram "used up" in linux.

For example, I have 192 megs of RAM on my system here...
and here's MY system's "free":

[john@slave1 john]$ free
  total   used   free shared   buffers cached 
Mem: 192628 1893443284
 63604  74552  43204 -/+ buffers/cache: 
71588 121040 Swap:   131652172 131480 

John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Ray Curtis

>>>>> "k" == kabir  <[EMAIL PROTECTED]> writes:

k> -BEGIN PGP SIGNED MESSAGE-----
k> Hash: SHA1

k> I am having memory problems I added the statement  append=mem=128M" to my
k> lilo.conf and it won't recognise it. 
k> Here is my lilo.conf file:
k> 
k> image=/boot/linux-2.2.12
k> label=linux
k> initrd=/boot/initrd-2.2.12-20.img
k> read-only
k> root=/dev/hda2
k> append=" mem=128M"

k> other=/dev/hda1
k> label=dos

Read the manpage on lilo.conf, you will note that the 'append'
statement belongs in the global section of lilo.conf.

Should be:

append="mem=128M"

image=/boot/linux-2.2.12
 label=linux
 initrd=/boot/initrd-2.2.12-20.img
 read-only
 root=/dev/hda2



-- 
Ray Curtis Unix Programmer/Consultant   Curtis Consulting
mailto:[EMAIL PROTECTED]http://www.clark.net/pub/ray




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Mikkel L. Ellertson

On Thu, 5 Oct 2000 [EMAIL PROTECTED] wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I am having memory problems I added the statement  append=mem=128M" to my
> lilo.conf and it won't recognise it. 
> Here is my lilo.conf file:
> 
> image=/boot/linux-2.2.12
> label=linux
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/hda2
> append=" mem=128M"
> 
> other=/dev/hda1
> label=dos
> 
> Here is my readout from free
> 
>  total   used   free sharedbuffers cached
> Mem:   127820 124748   3072  28396   9212  50796
> - -/+ buffers/cache:  64740   63080
> Swap:   401616   2288399328
> 
> I think I should definately have more 3 Megs free !
> What is wrong here ?
> Larry<[EMAIL PROTECTED]>
> 
I don't see the problem.  You are showing 127820K total (plus what the
kernel is using...)  Discounting memory used for buffers, you are using
64740K,, and have 63080K free.  You are also using 2288K of swap space,
out of a total of 401616K, leaving 399328K of swap free.  You might want
to use the -m option of free to display usage in Megs, instead of K...

One other point - Linux uses almost all of the otherwise unused memory
for disk buffers.  So  on any system that has had much activity, the
amount of free memory shown in the first total line will be small.  This
is because Linux is not wasting the memory.  The second total line shows
what is being used by programs, and how much is free for program use.
Looking at your usage, you probably have X and Netscape running - you
are using a fair amount of memory... 

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Brian Ashe

Hi kabir,

Try "top".

It's like free & ps at the same time. It is also continuous, so you can see
if it is only for a moment or continuously using up resources.

But it looks like you have all the memory being recognized.
kcn> Mem:   127820

Have fun,
-- 
_
 Brian Ashe CTO
 [EMAIL PROTECTED]  Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-
You don't have to swim faster than the shark...
You just have to swim faster than the people you're with.

Thursday, October 05, 2000, 11:21:20 AM, you wrote:

kcn> -BEGIN PGP SIGNED MESSAGE-
kcn> Hash: SHA1

kcn> I am having memory problems I added the statement  append=mem=128M" to my
kcn> lilo.conf and it won't recognise it. 
kcn> Here is my lilo.conf file:
kcn> 
kcn> image=/boot/linux-2.2.12
kcn> label=linux
kcn> initrd=/boot/initrd-2.2.12-20.img
kcn> read-only
kcn> root=/dev/hda2
kcn> append=" mem=128M"

kcn> other=/dev/hda1
kcn> label=dos

kcn> Here is my readout from free

kcn>  total   used   free sharedbuffers cached
kcn> Mem:   127820 124748   3072  28396   9212  50796
kcn> - -/+ buffers/cache:  64740   63080
kcn> Swap:   401616   2288399328

kcn> I think I should definately have more 3 Megs free !
kcn> What is wrong here ?
kcn> Larry<[EMAIL PROTECTED]>



kcn> -BEGIN PGP SIGNATURE-
kcn> Version: GnuPG v1.0.3 (GNU/Linux)
kcn> Comment: For info see http://www.gnupg.org

kcn> iD8DBQE53Jxqq3uBt76RTogRAkyuAKCtq62PDCm44RYhjpQ8wi6f1UzHzwCePp2r
kcn> Zv5L9e2tBYMCco7KsjISXzM=
kcn> =c9hs
kcn> -END PGP SIGNATURE-



kcn> ___
kcn> Redhat-list mailing list
kcn> [EMAIL PROTECTED]
kcn> https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: memory problems

2000-10-05 Thread Chris Fishwick

>  total   used   free sharedbuffers cached
> Mem:   127820 124748   3072  28396   9212  50796
> - -/+ buffers/cache:  64740   63080
> Swap:   401616   2288399328
> 
> I think I should definately have more 3 Megs free !
> What is wrong here ?

There is nothing wrong here.  This is fairly normal (it is on all my boxes
anyway)..  Here is the readout from 'free' on my office machine with 256M
installed:

 total   used   free sharedbuffers cached
Mem:257644 254604   3040 335864  12724 193028
-/+ buffers/cache:  48852 208792
Swap:   265064  11252 253812

Regards

Chris



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



memory problems

2000-10-05 Thread kabir

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am having memory problems I added the statement  append=mem=128M" to my
lilo.conf and it won't recognise it. 
Here is my lilo.conf file:

image=/boot/linux-2.2.12
label=linux
initrd=/boot/initrd-2.2.12-20.img
read-only
root=/dev/hda2
append=" mem=128M"

other=/dev/hda1
label=dos

Here is my readout from free

 total   used   free sharedbuffers cached
Mem:   127820 124748   3072  28396   9212  50796
- -/+ buffers/cache:  64740   63080
Swap:   401616   2288399328

I think I should definately have more 3 Megs free !
What is wrong here ?
Larry<[EMAIL PROTECTED]>



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE53Jxqq3uBt76RTogRAkyuAKCtq62PDCm44RYhjpQ8wi6f1UzHzwCePp2r
Zv5L9e2tBYMCco7KsjISXzM=
=c9hs
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list