[Libguestfs] Help: host system got very slow when run guestfish

Richard W.M. Jones rjones at redhat.com
Thu Jun 4 10:31:19 UTC 2015


On Thu, Jun 04, 2015 at 05:25:34PM +0800, Pino wrote:
> Hi there,
>     Recently, I got a strange phenomenon, when I run:
> 
> 	./run guestfish -a xxx.img -a xxx.img
> 
>     My host system got to be very very slow for several minites,
> sometimes can`t even move my mouse. I am not sure what I have done
> made it this way.
>     How should I investigate this issue? Because I don`t see anyone
> got this kind of problem in FAQ

This happens because of a bug in 'libtool' (or 'sed'/'grep').

The './run' script runs 'libtool --mode=execute', which runs 'sed' and
'grep' on each argument specified on the command line.  If some of
those files are very large (multi-gigabyte) sparse files, then
'sed'/'grep' takes a very long time to run, and can "hang" your system
just as you described.

The bug is:

https://bugzilla.redhat.com/show_bug.cgi?id=636045

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list