Hi wizards. I''m working on debugging the persistent problem I''ve been having in 1.6b4 with the client choking on what appears to be an oversized message from the server when I try to use xattrs. I''ve tried turning on debugging messages for LNET (by turning on the 0x200 bit in /proc/sys/lnet/debug and the 0x400 bit in /proc/sys/lnet/subsystem_debug but those seem to have no effect. There are clearly some paths through the code which seem like they ought to be generating messages when I cause the transaction to happen (for instance in ptl_send_buf) but I''m not seeing anything. Anybody got hints on how get the lustre guts to start showing me those debug messages? TIA....
On Jul 31, 2006 10:36 -0400, John R. Dunning wrote:> Hi wizards. I''m working on debugging the persistent problem I''ve been > having in 1.6b4 with the client choking on what appears to be an > oversized message from the server when I try to use xattrs. > > I''ve tried turning on debugging messages for LNET (by turning on the > 0x200 bit in /proc/sys/lnet/debug and the 0x400 bit in > /proc/sys/lnet/subsystem_debug but those seem to have no effect. > There are clearly some paths through the code which seem like they > ought to be generating messages when I cause the transaction to happen > (for instance in ptl_send_buf) but I''m not seeing anything. > > Anybody got hints on how get the lustre guts to start showing me those > debug messages?The debug messages (except D_ERROR, D_WARNING, D_CONSOLE) go to an internal ring buffer. You can dump the debug logs via "lctl dk /tmp/{filename}". There is some documentation in the manual about the format of the debug logs. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
From: Andreas Dilger <adilger@clusterfs.com>
Date: Mon, 31 Jul 2006 08:46:51 -0600
On Jul 31, 2006 10:36 -0400, John R. Dunning wrote:
> Hi wizards. I''m working on debugging the persistent problem
I''ve been
> having in 1.6b4 with the client choking on what appears to be an
> oversized message from the server when I try to use xattrs.
>
> I''ve tried turning on debugging messages for LNET (by turning
on the
> 0x200 bit in /proc/sys/lnet/debug and the 0x400 bit in
> /proc/sys/lnet/subsystem_debug but those seem to have no effect.
> There are clearly some paths through the code which seem like they
> ought to be generating messages when I cause the transaction to happen
> (for instance in ptl_send_buf) but I''m not seeing anything.
>
> Anybody got hints on how get the lustre guts to start showing me those
> debug messages?
The debug messages (except D_ERROR, D_WARNING, D_CONSOLE) go to an internal
ring buffer. You can dump the debug logs via "lctl dk
/tmp/{filename}".
There is some documentation in the manual about the format of the debug
logs.
Ah, lovely. Tnx.