Re: [expert] memory problems with pptp-connection

2002-07-25 Thread hans schneidhofer

Am Dienstag, 23. Juli 2002 13:13 schrieben Sie:
> Hans could you have top running on this box.  Then as it starts to
> slow down, grab a copy of top and post it to the group.  Top will
> tell you what the process is that is consuming more and more
> memory and CPU  kill that process if you can to restore things
> to normal without a reboot. Again posting top will help us in
> finding out what is causing your problem.
>
> James

hi james,

have you received my email ?
is the description useful or do you need the original output from top ?
do you know, how I can stop the eating of memory through "net_monitor.rea" or 
is there a new version available, which doesn't have this bug ?

hope you can find out some possibilities for help

bye hans



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] memory problems with pptp-connection

2002-07-22 Thread hans schneidhofer

Am Dienstag, 23. Juli 2002 13:13 schrieben Sie:
> Hans could you have top running on this box.  Then as it starts to
> slow down, grab a copy of top and post it to the group.  Top will
> tell you what the process is that is consuming more and more
> memory and CPU  kill that process if you can to restore things
> to normal without a reboot. Again posting top will help us in
> finding out what is causing your problem.
>
> James

hi james,

have now done a look for about 10 minutes on the output of top.
have running netmonitor.rea and it is one of the interested program here !
it grows up in time of 10 minutes from starting at 12252 to 13432 in a time 
of 20 minutes. And the percentage use of memory grows up from 9.6 % to 10.5 %
so it seems, that this program has any lack of memory.

after starting, the connection is coming up, and I cut the connection after 
one minute, so I had the same values for each test.

Hold on the connection doesn't change any behavior : the size grows up at the 
same time.

Exactly this behavior slows down the system afte a few hours. The memory size 
changes from startuptime of about 19800 KB to 0 after 5 or 6 hours or so.

Without this program the system does NOT have any problem with memorylacks.

hope, this is a useful startpoint to get rid of this weird problem. Hope - 
anybody can help.

the version of control-center is :
control-center-1.4.0.1-2mdk
net_monitor seems to be a part of control-center, because n rpm -q 
net_monitor fails.

maybe, there is an updated control-center without this bug ?

thanks for helping and give some hints
bye hans



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] memory problems with pptp-connection

2002-07-22 Thread James Sparenberg

Hans could you have top running on this box.  Then as it starts to
slow down, grab a copy of top and post it to the group.  Top will
tell you what the process is that is consuming more and more
memory and CPU  kill that process if you can to restore things
to normal without a reboot. Again posting top will help us in
finding out what is causing your problem.

James


On Mon, 22 Jul 2002 15:34:38 +0200
hans schneidhofer <[EMAIL PROTECTED]> wrote:

> hi list,
> 
> have a mdk8.0-box and a pptp-connection.
> my box is running over 24 hours a day. everytime I'm running 
> "Mandrake-Control-Center and there the connection for internet
> over pptp, the memory becomes slower and slower, equally, if the
> connection is on or off. After a few hours every action with the
> mouse takes minutes - in the range of 1 to 240.
> 
> That is really crazy. So I'm hoping,now, there is anyone on this
> list, who could giove me a hint or as experiences with such a
> behavior.
> 
> Have 128 MB RAM, so it should be enough for running linux with
> only X, mailbox, mozilla and sometimes kwrite - nothing else.
> 
> Looking in the memory-management, the memory is ALWAYS USED AT
> ABOUT 99 % - FROM STARTING THE X-SESSION to the end.
> 
> It is really very very horrible to work with such a big
> behavior.
> 
> Thanks for helping and spend some ideas
> bye hans
> 
> 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] memory problems with pptp-connection

2002-07-22 Thread hans schneidhofer

hi list,

have a mdk8.0-box and a pptp-connection.
my box is running over 24 hours a day. everytime I'm running 
"Mandrake-Control-Center and there the connection for internet over pptp, the 
memory becomes slower and slower, equally, if the connection is on or off. 
After a few hours every action with the mouse takes minutes - in the range of 
1 to 240.

That is really crazy. So I'm hoping,now, there is anyone on this list, who 
could giove me a hint or as experiences with such a behavior.

Have 128 MB RAM, so it should be enough for running linux with only X, 
mailbox, mozilla and sometimes kwrite - nothing else.

Looking in the memory-management, the memory is ALWAYS USED AT ABOUT 99 % - 
FROM STARTING THE X-SESSION to the end.

It is really very very horrible to work with such a big behavior.

Thanks for helping and spend some ideas
bye hans



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] memory-problems

2002-06-29 Thread dfox

> after calling pptp two- or three times between a short time the swap couldn't 
> be found, and the system takes a very long time for EVERY action, I than make.

I don't see how the swap partition couldn't be found -- apart from not
properly listing it in /etc/fstab of course. It's either there or
not there, and in my experience it is never just 'sometimes' there. 

I don't use pptp, but maybe there is something amiss there -- have you
tried 'top' to see what processes are eating up the RAM? There may be other
things besides pptp that are eating memory. In particular, jabber if
instaled is a big hogger of memory. But then again, you maybe didn't
install that.

Your memory report is about average but that is going to vary over
time, and over time some of that swap should be used. If 'free' reports
0 available for swap then you may not have it properly attached. 

What does 'w' indicate? High load average could also be a cause for
slow responses between commands. If yours is a memory issue, does the
disk get used a lot (indicating heavy swapping)?





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] memory-problems

2002-06-28 Thread hans schneidhofer

hi,

have detected a memory-problem on my mdk8.0 box.
have installed for a few weeks now 256 MB RAM, upgraded from 64 MB. 

Now, that I have the 256 MB RAM, the system sometimes runs out of memory. 
Results are :
sometimes, the swap (=289 MB) couldn't be found
the memory-used field shows as follows :
memory total: 255,81 MB
free: 6,52 MB
shared memory   : 0
Buffered: 35,1 MB
total swap  : 305 MB
free swap   : 305 MB

after calling pptp two- or three times between a short time the swap couldn't 
be found, and the system takes a very long time for EVERY action, I than make.
Sometimes I get a lot of kernel-messages, sometime nothing, and the system 
stucks.

Today in the morning - I restarted the system after a crash in yesterday, but 
no errormessages of the crash I could find now.

Before I got the adsl-box, I doesn't make experiences with ANY crash, now I 
have it sometimes 1 time and sometime 5 times a day.

A test I made for 3 days - have deinstalled and deleted the complete 
pptp-adsl-fr-1.0.2-7mdk - and had NO crashes. Now, I reinstalled it, and the 
crashes are back.

Now my questions :
is this a really known behavior ?
is there a bugfixed pptp rpm available ?
which other possibilities I have to get rid of this weird thing ?

Your hints and helps are really very welcome !
thanks in advance
bye hans



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Memory problems

2001-01-08 Thread duane voth

Luis Chardon wrote:

> Oh, I was just concerned since I upgraded from 160M to 672M and at the
> time, I wasn't using up the whole 160, but now, I'm not using the whole
> 672, but using most of it and I was wandering where the memory was going
> to.

>>> Luis Chardon <[EMAIL PROTECTED]> wrote:
  total   used   free sharedbuffers cached
 Mem:687708 489396 198312  0 198588 139984
 -/+ buffers/cache: 150824 536884
 Swap:   401584  0 401584

You might want to run xosview to watch system performance.
The "mem" graph has four colors green(user+sharedlibs),
orange(file buffer cache), red(paging cache), and the background
color (unused memory).  Green memory is the stuff that is actively
being used by applications, orange and red is memory used to
improve performance.  When new apps load or kernel mallocs occur
and there is no free memory,  orange and red memory is used and
"converted" to green.  And when the entire bar is green and more
memory is needed paging will begin and swap will start to grow.

I have 640M in my desktop and run vmware so the right side of my
mem bar is always red (vmware keeps as much of the windows virtual
memory space in the page cache as possible).  But I can still run
new Linux apps with no problems.

duane





Re: Re[2]: [expert] Memory problems

2001-01-06 Thread Luis Chardon


Oh, I was just concerned since I upgraded from 160M to 672M and at the
time, I wasn't using up the whole 160, but now, I'm not using the whole
672, but using most of it and I was wandering where the memory was going
to.

Thanks for the info.

Luis


 On Sat, 6 Jan 2001, civileme wrote:

> On Friday 05 January 2001 16:02, you wrote:
> > Luis Chardon <[EMAIL PROTECTED]> wrote:
> > > Yeah, that might be it. Is there a way to flush it besides "sync"?
> > >
> > > Here is the output:
> > >
> > >  total   used   free sharedbuffers cached
> > > Mem:687708 489396 198312  0 198588 139984
> > > -/+ buffers/cache: 150824 536884
> > > Swap:   401584  0 401584
> > >
> > > Call me paranoid but I don't like seing around 200M in buffers :)
>
>
> That's windows thinking.  Linux doesn't like to see free memory.  Unused
> memory is wasted memory, not available resources.  And most of the buffers
> are read.
>
> Write buffers are not usually First-In First-Out.  There is a little
> intelligence in the filesystem that performs writes to physically close areas
> of the disk at about the same time, even if some scattered ones are delayed
> to the next available cycle, but you are likely to find most of the memory in
> use at all times.  Also, some buffers are just areas of memory temporarily
> reserved for that purpose until some running program needs more space and
> requests it with malloc().
>
> Civileme
>
>





Re: Re[2]: [expert] Memory problems

2001-01-06 Thread civileme

On Friday 05 January 2001 16:02, you wrote:
> Luis Chardon <[EMAIL PROTECTED]> wrote:
> > Yeah, that might be it. Is there a way to flush it besides "sync"?
> >
> > Here is the output:
> >
> >  total   used   free sharedbuffers cached
> > Mem:687708 489396 198312  0 198588 139984
> > -/+ buffers/cache: 150824 536884
> > Swap:   401584  0 401584
> >
> > Call me paranoid but I don't like seing around 200M in buffers :)


That's windows thinking.  Linux doesn't like to see free memory.  Unused 
memory is wasted memory, not available resources.  And most of the buffers 
are read.

Write buffers are not usually First-In First-Out.  There is a little 
intelligence in the filesystem that performs writes to physically close areas 
of the disk at about the same time, even if some scattered ones are delayed 
to the next available cycle, but you are likely to find most of the memory in 
use at all times.  Also, some buffers are just areas of memory temporarily 
reserved for that purpose until some running program needs more space and 
requests it with malloc().

Civileme




Re[2]: [expert] Memory problems

2001-01-05 Thread Rusty Carruth

Luis Chardon <[EMAIL PROTECTED]> wrote:
> 
> Yeah, that might be it. Is there a way to flush it besides "sync"?
> 
> Here is the output:
> 
>  total   used   free sharedbuffers cached
> Mem:687708 489396 198312  0 198588 139984
> -/+ buffers/cache: 150824 536884
> Swap:   401584  0 401584
> 
> Call me paranoid but I don't like seing around 200M in buffers :)

Well, sync won't even help, really, because 'most' of that 'should be'
(awaiting truly knowledgable folks to step in here and quantify 'most'
and 'should be' ;-) just read buffers, not write buffers.  (Sync, will,
of course, help greatly with that ratio of read-to-write buffer use ;-).

On a side note, I had a sparc once with like 256 meg of ram, and I was
doing network performance tests.  I did an ftp to myself to see what
the networking overhead was.  Wrote the numbers down, then for some
reason did it again.  YOW! the numbers like tripled or more (I forget the
exact increase).  Then I realized what I'd done - I'd just loaded the
cache with the data on the first run, then used THAT data the second
run.  Which gave me a better idea of network and processing overhead
without disk delays, which was interesting...

Anyway, I would not be surprised to find that having all that buffer 
space IMPROVES your ability to get (write) data to the disk quicker,
since your chances of having a cache hit go up with more stuff in
the cache, so your disk is more free to go write the pending writes.
(Tell ya what - I'll take some of that ram from you, then you won't have
so much buffer space ;-)

So (pending correction by someone who REALLY knows ;-), you're probably
better off with all that 'spare' memory.  And I don't know if you can tell
the kernel (or whoever) to NOT use so much free space for buffers - anyone
know if I'm wrong?

just my $.02 - and you KNOW what you paid for it! ;-)

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825




Re: [expert] Memory problems

2001-01-04 Thread Luis Chardon


Yeah, that might be it. Is there a way to flush it besides "sync"?

Here is the output:

 total   used   free sharedbuffers cached
Mem:687708 489396 198312  0 198588 139984
-/+ buffers/cache: 150824 536884
Swap:   401584  0 401584

Call me paranoid but I don't like seing around 200M in buffers :)

Luis

On Thu, 4 Jan 2001, Rusty Carruth wrote:

> Luis Chardon <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I have noticed that my linux box is using a whole lot of physical memory.
> > I have about 672MB on my box and even if I go to runlevel 1 and unload all
> > the modules and unmount all the filesystems, it still is using almost all
> > the memory. This is happening from Mandrake 7.1 and still happens on 7.2.
> > I'm using kernel 2.2.17.
> >
> > Does anyone now if there is a memory leak, or a way to see where my memory
> > is going to, besides using the top and free commands?
>
> Its probably just disk cache.
>
> what does 'free' say?
>
> rc
>
>
> Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
> Voice: (480) 345-3621  SnailMail: Schlumberger ATE
> FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
> Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
>
>





Re: [expert] Memory problems

2001-01-04 Thread Rusty Carruth

Luis Chardon <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I have noticed that my linux box is using a whole lot of physical memory.
> I have about 672MB on my box and even if I go to runlevel 1 and unload all
> the modules and unmount all the filesystems, it still is using almost all
> the memory. This is happening from Mandrake 7.1 and still happens on 7.2.
> I'm using kernel 2.2.17.
> 
> Does anyone now if there is a memory leak, or a way to see where my memory
> is going to, besides using the top and free commands?

Its probably just disk cache.  

what does 'free' say?

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825




[expert] Memory problems

2001-01-04 Thread Luis Chardon


Hi,

I have noticed that my linux box is using a whole lot of physical memory.
I have about 672MB on my box and even if I go to runlevel 1 and unload all
the modules and unmount all the filesystems, it still is using almost all
the memory. This is happening from Mandrake 7.1 and still happens on 7.2.
I'm using kernel 2.2.17.

Does anyone now if there is a memory leak, or a way to see where my memory
is going to, besides using the top and free commands?

Thanks,

Luis





Re: [expert] Memory Problems

2000-08-04 Thread maiplace

read install manual. If you have lilo, insert   append="mem=256M"  (if I
remem correct) into lilo.conf, run   lilo .
- Original Message -
From: "Gary Travis Roberts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 1:04 PM
Subject: [expert] Memory Problems


> I have Linux-Mandrake version 7.1 Install on my machine which has an AMD
> process, ASUS motherboard and 256 MB of Ram.  The problem that I am have
is
> that linux only detects 64 MB.  I have determined that it is not a
hardware
> failure as a friend of mine with the same config is having the same
problem.
> Any thoughts?
>
>   -Gary
>  --
> ===
> Gary Travis Roberts Amateur Radio: AG1T
> MIS Software Engineer / Assistant Network Admin
> Campbell Scientific, Inc.
> Logan, UT
> http://www.campbellsci.com
> http://www.w7ivm.org
> http://www.byrdman.net
> ===
>
>


NetZero Free Internet Access and Email_
Download Now http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___




Re: [expert] Memory Problems

2000-08-04 Thread Pelon

Gary,

If you chose "lilo" and not "grub" when you
installed, try this:

(you will need root access)

in a teminal
cp /etc/lilo.conf /etc/lilo.conf.old
edit /etc/lilo.conf
look for a line that says "default" and note it's
value (probably "linux"). Then look further down
in one of the "image" sections for a "label" that
is equal to that value. You have found the default
kernel. You should also see "root" and
"read-only". In that section there may be an
"append" line. This is where you give your kernel
directives when it boots. If there is no
"append" you will have to create it. You want
something like this: append="mem=128M" If there
was already an append line, just add mem=128M
inside the quotes with only a space between. For
example: append="hdc=ide-scsi mem=128M"

Save your work.
Now open a terminal and type "lilo" and hit
return. You should get something like the
following:

Added windows
Added floppy
Added linux *

If something goes wrong
in a terminal type:
cp /etc/lilo.conf.old /etc/lilo.conf
and try again.

The next time you reboot the kernel should
recognize all 128M of your memory. Check this by
typing "free". You should see 127... under total.

there is more info in the man pages.
man lilo.conf
man lilo

pelon


On Fri, 04 Aug 2000, you wrote:
> I have Linux-Mandrake version 7.1 Install on my machine which has an AMD
> process, ASUS motherboard and 256 MB of Ram.  The problem that I am have is
> that linux only detects 64 MB.  I have determined that it is not a hardware
> failure as a friend of mine with the same config is having the same problem. 
> Any thoughts?
> 
>   -Gary
>  -- 
> ===
> Gary Travis Roberts Amateur Radio: AG1T
> MIS Software Engineer / Assistant Network Admin
> Campbell Scientific, Inc.
> Logan, UT
> http://www.campbellsci.com
> http://www.w7ivm.org
> http://www.byrdman.net
> ===




RE: [expert] Memory Problems

2000-08-04 Thread Eric Peters



Gary,

I had the same problem on my Athlon 900Mhz box which had 128 Megs of
pc133. Well some how the bios fried on me (NOTE: remind me not to do that
again) After returning the motherboard to the manufacture and getting a
different one with a different cpu 1Ghz :) with the same ol' drives and
cards that I used before Linux was able to see all 128 megs. I also did not
reinstall Linux, just hooked everything up to the new motherboard. (and yes
I did reinstall and recompile my kernel later on)

Which leads me to think that the problem was in the motherboard. Hopefully
this puts you on the right path.

Cheers,
---
Eric Peters Mail:[EMAIL PROTECTED]
System Administrator Network Operations
Inherent Technologies Inc.  
office (503)224-6751 ext 224
---


> -Original Message-
> From: Gary Travis Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 04, 2000 10:04 AM
> To: [EMAIL PROTECTED]
> Subject: [expert] Memory Problems
> 
> 
> I have Linux-Mandrake version 7.1 Install on my machine which 
> has an AMD
> process, ASUS motherboard and 256 MB of Ram.  The problem 
> that I am have is
> that linux only detects 64 MB.  I have determined that it is 
> not a hardware
> failure as a friend of mine with the same config is having 
> the same problem. 
> Any thoughts?
> 
>   -Gary
>  -- 
> ===
> Gary Travis Roberts Amateur Radio: AG1T
> MIS Software Engineer / Assistant Network Admin
> Campbell Scientific, Inc.
> Logan, UT
> http://www.campbellsci.com
> http://www.w7ivm.org
> http://www.byrdman.net
> ===
> 




Re: [expert] Memory Problems

2000-08-04 Thread Leonardo T. de Carvalho

Gary Travis Roberts wrote:

> I have Linux-Mandrake version 7.1 Install on my machine which has an AMD
> process, ASUS motherboard and 256 MB of Ram.  The problem that I am have is
> that linux only detects 64 MB.  I have determined that it is not a hardware
> failure as a friend of mine with the same config is having the same problem.
> Any thoughts?
>
>   -Gary
>  --
> ===
> Gary Travis Roberts Amateur Radio: AG1T
> MIS Software Engineer / Assistant Network Admin
> Campbell Scientific, Inc.
> Logan, UT
> http://www.campbellsci.com
> http://www.w7ivm.org
> http://www.byrdman.net
> ===

Did U tell the kernel (append mem=256Mb) the amount of memory?

Leonardo




[expert] Memory Problems

2000-08-04 Thread Gary Travis Roberts

I have Linux-Mandrake version 7.1 Install on my machine which has an AMD
process, ASUS motherboard and 256 MB of Ram.  The problem that I am have is
that linux only detects 64 MB.  I have determined that it is not a hardware
failure as a friend of mine with the same config is having the same problem. 
Any thoughts?

  -Gary
 -- 
===
Gary Travis Roberts Amateur Radio: AG1T
MIS Software Engineer / Assistant Network Admin
Campbell Scientific, Inc.
Logan, UT
http://www.campbellsci.com
http://www.w7ivm.org
http://www.byrdman.net
===