FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-05-2008, 08:45 AM
Jean-Louis Crouzet
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

Hi all,

Am I the only one having this under Lenny?

When running just after first login (as root) the following:
#free -t

Observe free Memory left (you might even want to write it down)

Then run

#aptitude

get a fresh update (press u key ;-)

then quit aptitude, you know how to do this. Then check out again your
available memory.


#free -t

You may then observe that free memory left is more than slightly
different from previous poll, let say something has been lost somewhere...


Thanks,
JL


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 01:39 PM
Jean-Louis Crouzet
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

Jean-Louis Crouzet wrote:

Hi all,

Am I the only one having this under Lenny?

When running just after first login (as root) the following:
#free -t

Observe free Memory left (you might even want to write it down)

Then run

#aptitude

get a fresh update (press u key ;-)

then quit aptitude, you know how to do this. Then check out again your
available memory.


#free -t

You may then observe that free memory left is more than slightly
different from previous poll, let say something has been lost somewhere...


Thanks,
JL




So I assume I'm the only one ;-)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 02:30 PM
"Stackpole, Chris"
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

I can confirm. It does seem to change by about 6MB every time I run it.

Chris



-----Original Message-----
From: robomod@news.nic.it [mailto:robomod@news.nic.it] On Behalf Of
Jean-Louis Crouzet
Sent: Thursday, June 05, 2008 8:39 AM
To: debian-user@lists.debian.org
Subject: Re: Aptitude Version: 0.4.11.2-1 eat my memory after update...

Jean-Louis Crouzet wrote:
> Hi all,
>
> Am I the only one having this under Lenny?
>
> When running just after first login (as root) the following:
> #free -t
>
> Observe free Memory left (you might even want to write it down)
>
> Then run
>
> #aptitude
>
> get a fresh update (press u key ;-)
>
> then quit aptitude, you know how to do this. Then check out again your

> available memory.
>
> #free -t
>
> You may then observe that free memory left is more than slightly
> different from previous poll, let say something has been lost
somewhere...
>
> Thanks,
> JL
>
>

So I assume I'm the only one ;-)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 03:12 PM
Jean-Louis Crouzet
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

Stackpole, Chris wrote:
I can confirm. It does seem to change by about 6MB every time I run it.


Chris



-----Original Message-----
From: robomod@news.nic.it [mailto:robomod@news.nic.it] On Behalf Of
Jean-Louis Crouzet
Sent: Thursday, June 05, 2008 8:39 AM
To: debian-user@lists.debian.org
Subject: Re: Aptitude Version: 0.4.11.2-1 eat my memory after update...

Jean-Louis Crouzet wrote:

Hi all,

Am I the only one having this under Lenny?

When running just after first login (as root) the following:
#free -t

Observe free Memory left (you might even want to write it down)

Then run

#aptitude

get a fresh update (press u key ;-)

then quit aptitude, you know how to do this. Then check out again your



available memory.

#free -t

You may then observe that free memory left is more than slightly
different from previous poll, let say something has been lost

somewhere...

Thanks,
JL




So I assume I'm the only one ;-)



Many thanks Chris I thought I was alone in the dark ;-)
JL


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 03:14 PM
"Javier Barroso"
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

I don't known .. I'm running aptitude 0.4.11.3-1 from sid

I did 10 times aptitude && free -t

And then I got the diff (of buffer/cached used info) between each one of both consecutive aptitude executions:


480
4392
-2732
2956
48
-48
-2644
2412
-4
64

I don't see these diff

I hope this helps

Sorry for my english



On Thu, Jun 5, 2008 at 4:30 PM, Stackpole, Chris <CStackpole@barbnet.com> wrote:

I can confirm. It does seem to change by about 6MB every time I run it.



Chris







-----Original Message-----

From: robomod@news.nic.it [mailto:robomod@news.nic.it] On Behalf Of

Jean-Louis Crouzet

Sent: Thursday, June 05, 2008 8:39 AM

To: debian-user@lists.debian.org

Subject: Re: Aptitude Version: 0.4.11.2-1 eat my memory after update...



Jean-Louis Crouzet wrote:

> Hi all,

>

> Am I the only one having this under Lenny?

>

> When running just after first login (as root) the following:

> #free -t

>

> Observe free Memory left (you might even want to write it down)

>

> Then run

>

> #aptitude

>

> get a fresh update (press u key ;-)

>

> then quit aptitude, you know how to do this. Then check out again your



> available memory.

>

> #free -t

>

> You may then observe that free memory left is more than slightly

> different from previous poll, let say something has been lost

somewhere...

>

> Thanks,

> JL

>

>



So I assume I'm the only one ;-)





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact

listmaster@lists.debian.org







--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 03:20 PM
Daniel Burrows
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

On Thu, Jun 05, 2008 at 03:39:08PM +0200, Jean-Louis Crouzet <jeanlouis.crouzet@free.fr> was heard to say:
> Jean-Louis Crouzet wrote:
>> available memory.
>>
>> #free -t
>>
>> You may then observe that free memory left is more than slightly
>> different from previous poll, let say something has been lost
>> somewhere...
>>
>> Thanks,
>> JL
>>
>>
>
> So I assume I'm the only one ;-)

No, it's just that it takes more than 5 hours sometimes to get an
answer. This is not a bug anywhere; what you're seeing is that aptitude
reads a lot of data and causes the buffer cache to expand.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 03:26 PM
"Stackpole, Chris"
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

I didn’t run it that many times but
here is what I have with aptitude 0.4.11.2:


# free -t


¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬* total¬*¬*¬*¬*¬*¬* used¬*¬*¬*¬*¬*¬*
free¬*¬*¬*¬* shared¬*¬*¬* buffers¬*¬*¬*¬* cached


Mem:¬*¬*¬*¬*¬*¬* 3108760¬*¬*¬* 2983624¬*¬*¬*¬*
125136¬*¬*¬*¬*¬*¬*¬*¬*¬* 0¬*¬*¬*¬* 219612¬*¬*¬*¬* 417832


-/+ buffers/cache:¬*¬*¬* 2346180¬*¬*¬*¬* 762580


Swap:¬*¬*¬*¬*¬* 4883752¬*¬*¬*¬* 195548¬*¬*¬* 4688204


Total:¬*¬*¬*¬* 7992512¬*¬*¬* 3179172¬*¬*¬* 4813340


# aptitude


# free -t


¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬* total¬*¬*¬*¬*¬*¬* used¬*¬*¬*¬*¬*¬*
free¬*¬*¬*¬* shared¬*¬*¬* buffers¬*¬*¬*¬* cached


Mem:¬*¬*¬*¬*¬*¬* 3108760¬*¬*¬* 2990780¬*¬*¬*¬*
117980¬*¬*¬*¬*¬*¬*¬*¬*¬* 0¬*¬*¬*¬* 219692¬*¬*¬*¬* 424684


-/+ buffers/cache:¬*¬*¬* 2346404¬*¬*¬*¬* 762356


Swap:¬*¬*¬*¬*¬* 4883752¬*¬*¬*¬* 195548¬*¬*¬* 4688204


Total:¬*¬*¬*¬* 7992512¬*¬*¬* 3186328¬*¬*¬* 4806184


# aptitude


# free -t


¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬* total¬*¬*¬*¬*¬*¬* used¬*¬*¬*¬*¬*¬*
free¬*¬*¬*¬* shared¬*¬*¬* buffers¬*¬*¬*¬* cached


Mem:¬*¬*¬*¬*¬*¬* 3108760¬*¬*¬* 2992424¬*¬*¬*¬*
116336¬*¬*¬*¬*¬*¬*¬*¬*¬* 0¬*¬*¬*¬* 219968¬*¬*¬*¬* 425420


-/+ buffers/cache:¬*¬*¬* 2347036¬*¬*¬*¬* 761724


Swap:¬*¬*¬*¬*¬* 4883752¬*¬*¬*¬* 195548¬* ¬*¬*4688204


Total:¬*¬*¬*¬* 7992512¬*¬*¬* 3187972¬*¬*¬* 4804540


# aptitude


# free -t


¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬*¬* total¬*¬*¬*¬*¬*¬* used¬*¬*¬*¬*¬*¬*
free¬*¬*¬*¬* shared¬*¬*¬* buffers¬*¬*¬*¬* cached


Mem:¬*¬*¬*¬*¬*¬* 3108760¬*¬*¬* 2992808¬*¬*¬*¬*
115952¬*¬*¬*¬*¬*¬*¬*¬*¬* 0¬*¬*¬*¬* 219992¬*¬*¬*¬* 425424


-/+ buffers/cache:¬*¬*¬* 2347392¬*¬*¬*¬* 761368


Swap:¬*¬*¬*¬*¬* 4883752¬*¬*¬*¬* 195548¬*¬*¬* 4688204


Total:¬*¬*¬*¬* 7992512¬*¬*¬* 3188356¬*¬*¬* 4804156


¬*


¬*


Hope this helps you.


¬*


Chris


¬*










From: Javier Barroso
[mailto:javibarroso@gmail.com]

Sent: Thursday, June 05, 2008
10:15 AM

To: Stackpole, Chris

Cc: debian-user@lists.debian.org

Subject: Re: Aptitude Version:
0.4.11.2-1 eat my memory after update...




¬*


I don't known .. I'm
running aptitude 0.4.11.3-1 from sid



I did 10 times aptitude && free -t



And then I got the diff (of buffer/cached used info) between each one of both
consecutive aptitude executions:



480

4392

-2732

2956

48

-48

-2644

2412

-4

64



I don't see these diff



I hope this helps



Sorry for my english










On Thu, Jun 5, 2008 at 4:30 PM, Stackpole, Chris <CStackpole@barbnet.com> wrote:


I can confirm. It does seem to change by about 6MB every time I run it.



Chris












-----Original Message-----

From: robomod@news.nic.it [mailto:robomod@news.nic.it] On Behalf Of

Jean-Louis Crouzet

Sent: Thursday, June 05, 2008 8:39 AM

To: debian-user@lists.debian.org

Subject: Re: Aptitude Version: 0.4.11.2-1 eat my memory after update...



Jean-Louis Crouzet wrote:

> Hi all,

>

> Am I the only one having this under Lenny?

>

> When running just after first login (as root) the following:

> #free -t

>

> Observe free Memory left (you might even want to write it down)

>

> Then run

>

> #aptitude

>

> get a fresh update (press u key ;-)

>

> then quit aptitude, you know how to do this. Then check out again your



> available memory.

>

> #free -t

>

> You may then observe that free memory left is more than slightly

> different from previous poll, let say something has been lost

somewhere...

>

> Thanks,

> JL

>

>



So I assume I'm the only one ;-)





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact

listmaster@lists.debian.org







--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 04:03 PM
Jean-Louis Crouzet
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

Daniel Burrows wrote:

On Thu, Jun 05, 2008 at 03:39:08PM +0200, Jean-Louis Crouzet <jeanlouis.crouzet@free.fr> was heard to say:

Jean-Louis Crouzet wrote:

available memory.

#free -t

You may then observe that free memory left is more than slightly
different from previous poll, let say something has been lost
somewhere...


Thanks,
JL



So I assume I'm the only one ;-)


No, it's just that it takes more than 5 hours sometimes to get an
answer. This is not a bug anywhere; what you're seeing is that aptitude
reads a lot of data and causes the buffer cache to expand.

Daniel



Hi Daniel,

Thanks for your answer. I was you know hunting for free memory since my
system is only having 128MB which tend to be not enough those days (even
with Linux).


Regards,
JL


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-06-2008, 05:03 AM
Daniel Burrows
 
Default Aptitude Version: 0.4.11.2-1 eat my memory after update...

On Thu, Jun 05, 2008 at 06:03:17PM +0200, Jean-Louis Crouzet <jeanlouis.crouzet@free.fr> was heard to say:
> Thanks for your answer. I was you know hunting for free memory since my
> system is only having 128MB which tend to be not enough those days (even
> with Linux).

Yes, that's sadly not much RAM nowadays.

Just to put some numbers to what I was saying, here's what "free"
shows on my computer before and after "aptitude update":

daniel@alpaca:~/programming/aptitude/head$ free -t
total used free shared buffers cached
Mem: 1026568 871072 155496 0 55812 461196
-/+ buffers/cache: 354064 672504
Swap: 3012148 49404 2962744
Total: 4038716 920476 3118240
daniel@alpaca:~/programming/aptitude/head$ free -t
total used free shared buffers cached
Mem: 1026568 877572 148996 0 56044 466888
-/+ buffers/cache: 354640 671928
Swap: 3012148 49404 2962744
Total: 4038716 926976 3111740

As you can see, there's a decrease in the free space of something like
6MB between the "before" and "after" snapshots. But if you look at the
-/+ buffers/cache line, you can see that it's almost identical between
the two runs. So basically all the change is in the buffer cache, which
is only to be expected when running an I/O-intensive program.

This will have an impact in a low-memory situation, though, since
reading all those package lists will kick other stuff out of memory that
you might care more about.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org