public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian CROUZAT <gentoo@floriancrouzat.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /var/log/messages is huge
Date: Tue, 17 Aug 2010 08:45:11 +0200	[thread overview]
Message-ID: <8B8B7397-059B-4387-824A-E7697A55327F@floriancrouzat.net> (raw)
In-Reply-To: <AANLkTi=gxaXiE5TiDaTKn8ODvVTUwuShgTp7x5adjxSx@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 17 août 2010, at 02:58, Adam Carter wrote:

>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
>> Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
>> Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
>> xfer 13 bytes
>> Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
>> 0x5c33 R 0 Stat 0x0
>> Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
>> Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.
>> 
>> What's going on here?  Why all these usb-storage messages?
> 
> You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the kernel

Yeah and not only it makes your logs huge, but it also slows down your box using your CPU to flood while doing USB transfer.
On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU when doing ntfs3g.
Totally something you want to turn off, unless you have serious issues with USB.

- ----
Florian
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJMai/3AAoJEI54KfPdrpQaiwIH/RC+6gjvSLzTbZE42A+GZWIb
jHljx/e/d9vCmV/65QxrhCUaFfUR4SlTCBvnmxBQxohDDtSzE6S6JbTxzk22obn+
tqqTOwb62HFBOs4TVNyPfNsjlhR+7BAcmRcff7d6XOJiiiak3gTXe8cnu2hnaAma
3Mq4GSE8LvokTaFvxCx0R9/NBkm7olZAl8UT73ibbIwxSfW+nkl2qlTv2xIVLMd2
u7nLycPd26cUHXFTH/FYFERg9tfXQ+VeKc3e5IoQIS7gkIQGLdUFOrzI2UkzhwrV
RbHBFn2BM7o3i40ImzIqHTEBdDT4AmZ2skKbhQy/U6W1xhczqW6XBQ5SLm4buIY=
=wVf4
-----END PGP SIGNATURE-----



  reply	other threads:[~2010-08-17  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17  0:33 [gentoo-user] /var/log/messages is huge dhk
2010-08-17  0:58 ` Adam Carter
2010-08-17  6:45   ` Florian CROUZAT [this message]
2010-08-17 10:57     ` dhk
2010-08-17 11:17       ` Alex Schuster
2010-08-17 11:45         ` dhk
2010-08-17 23:40       ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8B8B7397-059B-4387-824A-E7697A55327F@floriancrouzat.net \
    --to=gentoo@floriancrouzat.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox