From owner-freebsd-questions@freebsd.org Fri Aug 19 20:28:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D490EBBE917 for ; Fri, 19 Aug 2016 20:28:31 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9303C19E6 for ; Fri, 19 Aug 2016 20:28:31 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Received: by mail-oi0-x235.google.com with SMTP id l203so79106002oib.1 for ; Fri, 19 Aug 2016 13:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=psyberation-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=mRicCvwWXpGNqSGlS+OM5lnFA9S5XZaUwf/W3zgTLSE=; b=AdOyfPZYP+DWyBeo/e9jzlLeEcHM9KpXMb8WZ5BnNCKiAAByE07GP7slJjL+g4+fJX /0HdI7OjouO0wsDZbqHd2EBf+D8AU2IWBhzzBM9jSUb4b0zua3wdpIWCQWIte7m6Ck27 mIO3bHAp1E7PtxKmquZg91S/nZsqApUV7R5gQ1aQCoZ9HVz2399LIriiEY1Xwo7IrSOq UMQOUCg89oZJFSHDHhEenK9hwfCez+rd9G8RGWk53CGAHsghnIc5ao27B/pw/VQL3mqs gAPkIY5+Darm9Ez3bCA7p542cKKbQrjoXD8PhkkAvlQlhpQWmld5aozmChAqyJEVpqeo H9rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mRicCvwWXpGNqSGlS+OM5lnFA9S5XZaUwf/W3zgTLSE=; b=KEdewJoePJyeGwLHUNvpVzFw6IHFQpQp+vM+EH8XWowEAxj0LcaUt073zdu72HmPkc j4Jp3lXOkHv1T/CvQdsP4sTDMTxW4YUS51Smq//1nfZ0xbNZq8aspfIgPDXhWeo5jzle 2L5L8LfpZr+CqPSfB3LdhF2f7wU8jZpczWJAsFWTPvsnzP+dAUhEd85ZuF3+xJk0SxtS XriFlch+FsjEYzijG4JjIM/rZNITFV6KO0VhnQEVccldGk9moTt+37CW5DcDbPxOa7Rs RT1i47vWBcoLV6i7CPjemqDnBU2imGSEGWHFdgWedtCyL+1zMwdRvhzL/sUklEfgoxiY 0b4A== X-Gm-Message-State: AEkooutmskKDfU9bnipZAplW5r47JQbzGiRTepn4Zuop0MWw23/iTkxMOLZ7OcCIOPs8g4ZdmWeA/ZIabgEI1g== X-Received: by 10.202.226.129 with SMTP id z123mr5589036oig.120.1471638510319; Fri, 19 Aug 2016 13:28:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.226.195 with HTTP; Fri, 19 Aug 2016 13:28:29 -0700 (PDT) In-Reply-To: References: <20160819104058.1c60a63fb832fbdc1524207c@sohara.org> <20160819101657.GB2560@hephaistos.local> <20160819114429.756b3d25f9335417a0c673c3@sohara.org> <5dcc797b-5aac-cac1-b120-b4ff91f360dd@tysdomain.com> From: Mark Moellering Date: Fri, 19 Aug 2016 16:28:29 -0400 Message-ID: Subject: Re: How do I limit I/O usage for a user/process? A user broke my system To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 20:28:31 -0000 On Fri, Aug 19, 2016 at 10:01 AM, krad wrote: > maybe, but the simple answers are always worth considering. > > On 19 August 2016 at 14:59, Littlefield, Tyler wrote: > >> >> On 8/19/2016 9:54 AM, krad wrote: >> >>> Does the same issue happen with vim no nano? If not maybe just remove >>> pico. >>> >>> That's a slippery slope. Just use login classes to limit usage. >> >> On 19 August 2016 at 11:44, Steve O'Hara-Smith wrote: >>> >>> On Fri, 19 Aug 2016 12:16:57 +0200 >>>> "Martin S. Weber" wrote: >>>> >>>> On 2016-08-19 10:40:58, Steve O'Hara-Smith wrote: >>>>> (...) >>>>> >>>>>> Very likely the problem was due to memory use and you are tight >>>>>> on memory for your normal load. >>>>>> >>>>> >>>>> Which, as I might add, *should* be the normal usage pattern of a box. >>>>> >>>> >>>> You want all the memory in use I agree, but you don't want it so >>>> tight that there is constant memory pressure so there should be a goodly >>>> amount inactive, in cache and buffers. If there is swap activity then you >>>> are too tight for the load. >>>> >>>> -- >>>> Steve O'Hara-Smith | Directable Mirror Arrays >>>> C:>WIN | A better way to focus the >>>> sun >>>> The computer obeys and wins. | licences available see >>>> You lose and Bill collects. | http://www.sohara.org/ >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions- >>>> unsubscribe@freebsd.org" >>>> >>>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >>> @freebsd.org" >>> >>> >> >> -- >> Take care, >> Ty >> Twitter: @sorressean >> Web: https://tysdomain.com >> Pubkey: https://tysdomain.com/files/pubkey.asc >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Depending on the nature of the box, one possibility (albeit a slightly more complex one), is using a jail. If basic user accounts are in a jail, the jail can run out of memory and start file swapping without affecting the kernel or other server functions. Again, this depends on your set-up, etc Mark Moellering