From: Johannes Stezenbach on
On Wed, Apr 28, 2010 at 01:41:18AM +0900, OGAWA Hirofumi wrote:
> OGAWA Hirofumi <hirofumi(a)mail.parknet.co.jp> writes:
>
> >> comment about KERN_CONT in kernel.h. But maybe it only happens
> >> for /var/log/kern.log and my xconsole when generating too much
> >> output too quickly, "dmesg -s 10000000 | less" did not show
> >> the corruption (but only shows ~2700 lines out of the ~10000).
>
> Um, please check syslog at same time with dmesg. If there is corruption
> in syslog, but there is not in dmesg. It sounds like userland problem.

I guess klogd cannot handle that much output. If you'd add some
rate limiting that might fix the log corruption, too.

Thanks
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: OGAWA Hirofumi on
Johannes Stezenbach <js(a)sig21.net> writes:

> On Wed, Apr 28, 2010 at 01:41:18AM +0900, OGAWA Hirofumi wrote:
>> OGAWA Hirofumi <hirofumi(a)mail.parknet.co.jp> writes:
>>
>> >> comment about KERN_CONT in kernel.h. But maybe it only happens
>> >> for /var/log/kern.log and my xconsole when generating too much
>> >> output too quickly, "dmesg -s 10000000 | less" did not show
>> >> the corruption (but only shows ~2700 lines out of the ~10000).
>>
>> Um, please check syslog at same time with dmesg. If there is corruption
>> in syslog, but there is not in dmesg. It sounds like userland problem.
>
> I guess klogd cannot handle that much output. If you'd add some
> rate limiting that might fix the log corruption, too.

I guess it meant the corruption is in only syslog. Ok, it explains this
problem.

Thanks.
--
OGAWA Hirofumi <hirofumi(a)mail.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/