On Thu, Feb 09, 2012 at 07:15:48PM -0500, Ayal Baron wrote:
> 
> 
> ----- Original Message -----
> > Hi.  I am running into a very annoying problem when working on vdsm
> > lately.  My
> > development process involves stopping vdsm, replacing files, and
> > restarting it.
> > I do this pretty frequently.  Sometimes, after restarting vdsm the
> > XMLRPC call
> > getStorageDomainsList() hangs.  The following line is the last to
> > print in the
> > log:
> > 
> > Thread-18::DEBUG::2012-02-09
> > 17:11:46,793::misc::1017::SamplingMethod::(__call__) Trying to enter
> > sampling method (storage.sdc.refreshStorage)
> > 
> > The only solution I've been able to come up with is restarting my
> > machine.  When
> > stopping vdsm I search for any stale threads but I am unable to find
> > them.  Do
> > you know what else might be causing DynamicBarrier.enter() to hang
> > for a long
> > period of time?  Do the threading primitives use some sort of
> > temporary disk
> > storage that needs to be cleaned up?  Thanks for the help!
> 
> Try to add some logging in sdc.py:
>     def refreshStorage(self):
> >>> ADD LOG HERE

Yep have done this and I am not even getting into the refreshStorage function.
We actually hang in DynamicBarrier.enter().  I am going to add some debugging to
determine which locking operation gets stuck.

>         multipath.rescan()
> 
> I have a feeling that your issue is not with SamplingMethod
> 
> > 
> > --
> > Adam Litke <a...@us.ibm.com>
> > IBM Linux Technology Center
> > 
> > _______________________________________________
> > vdsm-devel mailing list
> > vdsm-devel@lists.fedorahosted.org
> > https://fedorahosted.org/mailman/listinfo/vdsm-devel
> > 
> 

-- 
Adam Litke <a...@us.ibm.com>
IBM Linux Technology Center

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to