Gentoo Archives: gentoo-user

From: Florian CROUZAT <gentoo@××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /var/log/messages is huge
Date: Tue, 17 Aug 2010 07:06:34
Message-Id: 8B8B7397-059B-4387-824A-E7697A55327F@floriancrouzat.net
In Reply to: Re: [gentoo-user] /var/log/messages is huge by Adam Carter
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4
5 On 17 août 2010, at 02:58, Adam Carter wrote:
6
7 >> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
8 >> Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
9 >> Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
10 >> Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
11 >> xfer 13 bytes
12 >> Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
13 >> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
14 >> Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
15 >> Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
16 >> 0x5c33 R 0 Stat 0x0
17 >> Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
18 >> Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.
19 >>
20 >> What's going on here? Why all these usb-storage messages?
21 >
22 > You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the kernel
23
24 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.
25 On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU when doing ntfs3g.
26 Totally something you want to turn off, unless you have serious issues with USB.
27
28 - ----
29 Florian
30 / For security reasons, all text in this mail
31 is double-rot13 encrypted. /
32
33 -----BEGIN PGP SIGNATURE-----
34
35 iQEcBAEBAgAGBQJMai/3AAoJEI54KfPdrpQaiwIH/RC+6gjvSLzTbZE42A+GZWIb
36 jHljx/e/d9vCmV/65QxrhCUaFfUR4SlTCBvnmxBQxohDDtSzE6S6JbTxzk22obn+
37 tqqTOwb62HFBOs4TVNyPfNsjlhR+7BAcmRcff7d6XOJiiiak3gTXe8cnu2hnaAma
38 3Mq4GSE8LvokTaFvxCx0R9/NBkm7olZAl8UT73ibbIwxSfW+nkl2qlTv2xIVLMd2
39 u7nLycPd26cUHXFTH/FYFERg9tfXQ+VeKc3e5IoQIS7gkIQGLdUFOrzI2UkzhwrV
40 RbHBFn2BM7o3i40ImzIqHTEBdDT4AmZ2skKbhQy/U6W1xhczqW6XBQ5SLm4buIY=
41 =wVf4
42 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] /var/log/messages is huge dhk <dhkuhl@×××××××××.net>