linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvmetad hang...
@ 2014-08-15 17:33 Pirate Fibonacci
  2014-08-18 11:33 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: Pirate Fibonacci @ 2014-08-15 17:33 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

Greeting All...

I've been using the lvm2py lib. after a predictable number usages of my
application, it appears that lvmetad halts. below is the relevant line from
top. upon kill the hung instance, my application will continue.


20807 root      20   0 23.934g  29356   3952 R  98.8  0.0  57:13.67 lvmetad

^^^^r^       ^^^^^^^^^^
                                                                    % cpu
usage

any useful comments on what this maybe?

where may I find the source code for lvmetad ?

thanks

Jeffrey

[-- Attachment #2: Type: text/html, Size: 943 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] lvmetad hang...
  2014-08-15 17:33 [linux-lvm] lvmetad hang Pirate Fibonacci
@ 2014-08-18 11:33 ` Zdenek Kabelac
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2014-08-18 11:33 UTC (permalink / raw)
  To: LVM general discussion and development

Dne 15.8.2014 v 19:33 Pirate Fibonacci napsal(a):
> *
> *
> Greeting All...
>
> I've been using the lvm2py lib. after a predictable number usages of my
> application, it appears that lvmetad halts. below is the relevant line from
> top. upon kill the hung instance, my application will continue.
>
>
> 20807 root      20   0 23.934g  29356   3952 R  98.8  0.0  57:13.67 lvmetad
>
> ^^^^r^       ^^^^^^^^^^
>                                                                      % cpu usage
>
> any useful comments on what this maybe?
>
> where may I find the source code for lvmetad ?
>

Hi

lvmetad is part of lvm2 source base spread in couple places:

lvm2/daemons/lvmetad
lmv2/libdaemon
lmv2/libdm


Usually it's best to attach to running lvmetad and explore it in gdb
(getting backtrace)

Also be sure you run with latest version - fixing bug in a year old code is 
not usually helpful.

It's also good if you could prepare a reproducer case (so it could be placed
in test suite)

Zdenek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-18 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 17:33 [linux-lvm] lvmetad hang Pirate Fibonacci
2014-08-18 11:33 ` Zdenek Kabelac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).