[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm on kernel / kernel-source delete.



On Mon, 14 Jun 2004 13:21:40 +0900, Naoki wrote
> Hi all,
> 
>     When deleting a kernel or kernel-source packages ( or as I just 
> did, about 10 at once ) why does RPM feel the need to eat hundreds 
> of megs of ram, the res popped up to 330mb and the virt was almost 
> 600 at one stage.

The three kernels with source on my machine are 46417 files combined, that
would probably put you at around 155000 files to remove (with 10 kernels +
source).  While I don't have the rpm source here to look at, I'll wager it was
keeping some in-memory lists of all those filenames to do whatever sanity
checks are necessary to remove the packages + whatever memory those routines
needed in order to run.

At least that's what I'd think. :-)

--
Chris

"Build a man a fire and he will be warm for the rest of the night.  Set 
a man on fire and he will be warm for the rest of his life."  -- Unknown



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]