Skip to contentSkip to conversation

cleanerd

DISCUSSION John Huttley 2 participants 2 messages Nov 5, 2008 – Nov 6, 2008 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hi,
my cleanerd stopped again, though I don't see anything in the logs

Is there a way of getting better logging for debugging purposes?

--John

A message that is not in the archive (sent off-list or not yet received): 491213E2.4010905-jE24nFfhqzU3hwNNidygWXTaI6DYlTYJ@public.gmane.org

#2 lore raw

Hi,

Quoted 6 lines · John Huttley

Hi,
my cleanerd stopped again, though I don't see anything in the logs

Is there a way of getting better logging for debugging purposes?

--John

Sorry for inconvenience.

To get better cleanerd logs, change log_priority level specified in /etc/nilfs_cleanerd.conf as follows:

log_priority info

       |
       v

log_priority debug

This will make the cleanerd write debug information in syslog.

Note that a HUP signal must be sent to the cleanerd or doing umount/mount the nilfs partition is required to reflect the change.

Then, if nilfs2 seems to hang during GC, please get a stack dump by sending the following system request from an active terminal or console.

 # echo t > /proc/sysrq-trigger

This will dump stack information of every kernel thread. The stack information that contains `nilfs' keywords would give the hint about which function causes the hang problem.

With regards,
Ryusuke Konishi