On Fri, 6 Mar 2009, Brian Koebbe wrote:
> Sage,
> I'm hunting for bugs by doing a distributed make (Grid Engine qmake) of
> the ceph src tree on an "unstable" ceph fs (/ceph).  Right now, I'm just
> using two clients and have found that sometimes when starting up the
> make it simply hangs until I login to one of the clients and do a
> "find /ceph/ceph.git".   My sightly uneducated guess is that as the
> "find" looks at the files it triggers some sort of flag or cap switch
> that something in the make job was waiting on.
> 
> What kind of logs would you need to debug something like this?

First, do

 $ ceph mds injectargs 0 '--debug_ms 1 --debug_mds 10'

(to enable debugging) and then run make, wait for it to hang, and then run 
your find on the other host.  (If it's possible to limit which files 
you're touching to wake it up, that's ideal.)  Once make has woken up you 
can turn off the debugging with

 $ ceph mds injectargs 0 '--debug_ms 0 --debug_mds 0'

The contents of /var/log/ceph/mds0 should give me everything I need.

Did the addr.c invalidatepage BUG go away with the latest?

Also, somewhat unrelated, but if possible you should apply these patches 
to your kernel:

 http://ceph.newdream.net/wiki/Patching_your_kernel

The fix an issue with directory renames and with concurrent access from 
multiple clients.

Thanks-
sage

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to