Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933468AbcDYToK (ORCPT ); Mon, 25 Apr 2016 15:44:10 -0400 Received: from smtprelay0241.hostedemail.com ([216.40.44.241]:57292 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933408AbcDYToJ (ORCPT ); Mon, 25 Apr 2016 15:44:09 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2551:2553:2559:2562:2691:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3872:3874:5007:6261:7875:7903:10004:10400:10848:10967:11232:11658:11914:12043:12050:12517:12519:12740:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21212:30054:30056:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: quiet64_40f545be90f43 X-Filterd-Recvd-Size: 2050 Date: Mon, 25 Apr 2016 15:44:05 -0400 From: Steven Rostedt To: Linus Torvalds Cc: Peter Zijlstra , LKML , Ingo Molnar , Borislav Petkov , Greg Kroah-Hartman , Andrew Morton , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5p?= =?UTF-8?B?Zw==?= Subject: Re: [PATCH v2] printk: Add kernel parameter to disable writes to /dev/kmsg Message-ID: <20160425154405.59522c6d@gandalf.local.home> In-Reply-To: References: <20160425145606.598329f2@gandalf.local.home> <20160425190651.GL3448@twins.programming.kicks-ass.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 20 On Mon, 25 Apr 2016 12:28:30 -0700 Linus Torvalds wrote: > On Mon, Apr 25, 2016 at 12:06 PM, Peter Zijlstra wrote: > > I think it should be a tristate with "yes/no/ratelimit", and let's > default to ratelimit. > Also note that ratelimit wouldn't have solved my issue either. It wasn't that systemd was rapidly spewing into the kernel buffers. It was doing it gradually, for every connection that I made to the box (lots of automated connections were also being logged). I believe something happened on Friday but due to all the unnecessary logging over the weekend, I lost it. To make matters worse, I lost my /var/log/syslog data from then. logrotate was a bit more destructive than I expected. -- Steve