From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OlJsX-00075B-KA for garchives@archives.gentoo.org; Tue, 17 Aug 2010 10:58:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 688ADE0874; Tue, 17 Aug 2010 10:58:45 +0000 (UTC) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.4.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 4949FE0874 for ; Tue, 17 Aug 2010 10:58:45 +0000 (UTC) Received: from [192.168.0.5] (ool-43505ef2.dyn.optonline.net [67.80.94.242]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0L7A00HZOMHWF7S0@mta6.srv.hcvlny.cv.net> for gentoo-user@lists.gentoo.org; Tue, 17 Aug 2010 06:58:45 -0400 (EDT) Date: Tue, 17 Aug 2010 06:57:13 -0400 From: dhk Subject: Re: [gentoo-user] /var/log/messages is huge In-reply-to: <8B8B7397-059B-4387-824A-E7697A55327F@floriancrouzat.net> To: gentoo-user@lists.gentoo.org Message-id: <4C6A6B09.4060400@optonline.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 X-Enigmail-Version: 1.1.2 References: <4C69D8DE.2030803@optonline.net> <8B8B7397-059B-4387-824A-E7697A55327F@floriancrouzat.net> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100727 Thunderbird/3.1.1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4676c421-a696-4d6d-8c0b-8bbdf35d12e1 X-Archives-Hash: 3cbe00bf3bb0da8bc05094cc78706643 On 08/17/2010 02:45 AM, Florian CROUZAT wrote: >=20 > On 17 ao=FBt 2010, at 02:58, Adam Carter wrote: >=20 >>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete >>> Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer resul= t=3D0 >>> 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 =3D 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=3D0x0 >>> Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping. >>> >>> What's going on here? Why all these usb-storage messages? >=20 >> You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured= the kernel >=20 > 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. >=20 > ---- > Florian > / For security reasons, all text in this mail=20 > is double-rot13 encrypted. / >=20 Yes, I have it turned on in the kernel. # grep CONFIG_USB_STORAGE_DEBUG /etc/kernels/kernel-config-x86_64-2.6.32-gentoo-r7 CONFIG_USB_STORAGE_DEBUG=3Dy I don't understand why it just started to be a problem. I've had this kernel for almost four months. Shouldn't the log's be rotated and purged= ? I've been using the default kernel config from the install. I'll make a new kernel with it turned off. Thanks, dhk