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

Re: controlling the load average



On Wed, 6 Oct 1999, Wichert Akkerman wrote:
> Previously Geert Uytterhoeven wrote:
> >     while (loadavg > threshold)
> > 	sleep(10);
> 
> Are you proposing doing that for all load-intensive applications? I
> would object to that. I seem to remember we have a tool that

Not for all apps, only for dpkg.

> automatically stops a process if the load gets too high, maybe that
> would be useful here..

Interesting...

> > A lot of programs start update-menus in the background upon installation. If
> > you install (or upgrade) 50 of them, you get 50 running update-menus processes
> > fighting for CPU cycles.
> 
> That's not true, update-menu detect there is already a copy running and
> doesn't start a new one. Once dpkg is finished that single update-menu
> process will update all menus.

Then it must be a bug in the current update-menus, since I definitely saw lots
of update-menus processes running.

Greetings,

						Geert

--
Geert Uytterhoeven ----------------- Sony Suprastructure Center Europe (SUPC-E)
Geert.Uytterhoeven@sonycom.com ------------------- Sint Stevens Woluwestraat 55
Phone +32-2-7248632 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium


Reply to: