On Thu, Jan 03, 2008 at 05:22:23PM +0100, Bart van Kuik wrote: > Delivered-To: yum@xxxxxxxxxxxxxxxxxxxx > Date: Thu, 3 Jan 2008 17:22:23 +0100 (CET) > Subject: Question on memory requirements > From: "Bart van Kuik" <bart@xxxxxxxxxx> > To: yum@xxxxxxxxxxxxxxxxxxxx > Reply-To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx> > > >> My questions: > >> What are yum's memory requirements? > >> Any tips on how I can best run yum with tight memory limits? > >It really depends on the size of your repos - but a good minimum given > >the repos available is about 128M > > Are there any workarounds for this memory requirement? > Something to try... With smaller and smaller values, try reducing the virtual memory limit. Something like: ulimit -v 100000 ; yum -y update ulimit -v 90000 ; yum -y update ulimit -v 50000 ; yum -y update ulimit -v 30000 ; yum -y update .... Values are in 1024-byte increments -- you can do the math. The idea is to have the kernel return an error to malloc() requests larger than your physical memory limit. This can keep yum from swapping... If the limit is too small it should (?) error out with grace.... I do not know what the lower bound is... ;-) Of interest, at one time "ulimit -v 100000 ; yum -y update" often improved the speed of yum on systems with GOBS of memory. Later, mitch -- T o m M i t c h e l l Found me a new place to hang my hat :-) Now it got bought. _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum