From owner-freebsd-fs@FreeBSD.ORG Mon Mar 30 15:05:37 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7C83BEF for ; Mon, 30 Mar 2015 15:05:37 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 985C5EBB for ; Mon, 30 Mar 2015 15:05:37 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 8B71414E0 for ; Mon, 30 Mar 2015 11:05:33 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Mon, 30 Mar 2015 11:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=rPkfvNZHaYl+RiD QUdFsgFTa9l8=; b=iJi8vKdQ5TuxtN7hFwIEsJTgdsR8efLtH1sJkmKgBUJOllE udaA1gvf8TPpGCU4q4e/1+NqyPvnhuSWmnOSOHtm01YaLBkzPo5AH1bu2RlUcXpw 0NcV6W0XxETQAGsCdq82tH7HhTUFu0HsSUFWqiUq7AsKOl+n8J1AALFI1Z9U= Received: by web3.nyi.internal (Postfix, from userid 99) id 64FC910A16B; Mon, 30 Mar 2015 11:05:36 -0400 (EDT) Message-Id: <1427727936.293597.247070269.5CE0D411@webmail.messagingengine.com> X-Sasl-Enc: s5rOi9V2faa09bCunxSCjlJtwsFv6zUDLrvn54VxUv80 1427727936 From: Mark Felder To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-0b3c2300 Subject: Re: Little research how rm -rf and tar kill server Date: Mon, 30 Mar 2015 10:05:36 -0500 In-Reply-To: <55170D9C.1070107@artem.ru> References: <55170D9C.1070107@artem.ru> X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 15:05:37 -0000 On Sat, Mar 28, 2015, at 15:22, Artem Kuchin wrote: > > So, questions and thoughts: > 1) Why i had no problem such this in fbsd 9? I think the reason for the > problem is in kernel, not in hardware or mariadb+nginx because server > load did not > increase at all, even decreases a little. This is only anecdotal until you run the exact same OS version and load on the old hardware which had a different motherboard and (probably) disk controller. Can you provide us with any further hardware details between the two systems? > 2) I consider it a sever bug, because even normal used (and i have > plenty of them using ssh) can eventually do rm -rf and kill all sites. > Which means there are > must be some way to limit io usage per user > ZFS has far superior disk IO scheduling. You may have more success with that. Unfortunately I'm not aware of a way to limit user/process disk IO on FreeBSD.