From: Ryan Haasken Date: Mon, 10 Mar 2014 18:21:37 +0000 (-0500) Subject: LUDOC-229 debugging: Add console message rate limiting section X-Git-Tag: 2.6.0~9 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=01116a68e1e017be5ee74e614429595cbb28ca6f;p=doc%2Fmanual.git LUDOC-229 debugging: Add console message rate limiting section Added a section under section 29.2 "Lustre Debugging Procedures" which covers the libcfs module parameters which can be used to control Lustre console message rate limiting. The new section covers disabling the rate limiting entirely as well as modifying the minimum and maximum message delays. Signed-off-by: Ryan Haasken Change-Id: If9bcb7fa7bdfd40fce37aa3c36358ed21bcaf138 Reviewed-on: http://review.whamcloud.com/9566 Reviewed-by: John L. Hammond Tested-by: Jenkins Reviewed-by: Richard Henwood --- diff --git a/LustreDebugging.xml b/LustreDebugging.xml index eb5b1a2..32fd72b 100644 --- a/LustreDebugging.xml +++ b/LustreDebugging.xml @@ -717,6 +717,13 @@ Filesystem volume name: myth-OST0004 lctl> show dlmtrace lctl> debug_kernel [filename] +
+ Controlling Console Message Rate Limiting + Some console messages which are printed by Lustre are rate limited. When such messages are printed, they may be followed by a message saying "Skipped N previous similar message(s)," where N is the number of messages skipped. This rate limiting can be completely disabled by a libcfs module parameter called libcfs_console_ratelimit. To disable console message rate limiting, add this line to /etc/modprobe.d/lustre.conf and then reload Lustre modules. + options libcfs libcfs_console_ratelimit=0 + It is also possible to set the minimum and maximum delays between rate-limited console messages using the module parameters libcfs_console_max_delay and libcfs_console_min_delay. Set these in /etc/modprobe.d/lustre.conf and then reload Lustre modules. Additional information on libcfs module parameters is available via modinfo: + modinfo libcfs +
<indexterm><primary>debugging</primary><secondary>developers tools</secondary></indexterm>Lustre Debugging for Developers