From nobody Tue Jul 02 21:33:52 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WDGPd6kJWz5Ph40 for ; Tue, 02 Jul 2024 21:33:57 +0000 (UTC) (envelope-from thronobulax@gmail.com) Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDGPd04Rqz4vls for ; Tue, 2 Jul 2024 21:33:57 +0000 (UTC) (envelope-from thronobulax@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KGOOLwbc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of thronobulax@gmail.com designates 2607:f8b0:4864:20::b2e as permitted sender) smtp.mailfrom=thronobulax@gmail.com Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-e036105251eso4551746276.0 for ; Tue, 02 Jul 2024 14:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719956035; x=1720560835; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=yGQ4qs6DjC90r9HSxUVRtYtauG0PEzeUENa0E9opgmI=; b=KGOOLwbcvQcTiux72fJ69xHTol+ui1hK+thrB/KsTRZoZRrWorgU2r9hRjjRS5fOR5 aWYANUsgMMK9gpQnW2H9bNQOL/fJ/kCbPp6L/AU3ZCIWtxvTHg14M4sga6lvGG4PW7um JepED2Mm0asGU3BsSlYJywgL/oO/uXaELr/V95ua+Semq+SbPHiPdBHBNNOAanvEoukQ xHM7rDQU6bHfh9MnTX3D4GtuYBxMsVdqyoNJZYBnzSeVViFPcjtrQz5bUoi4IfSWZ7ag TDHsq6t84tN3TZcwN79JwWetScG9H7S9qoiduBauINt9kewLRsGR0s+MtpxI4m/nja5F zbXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719956035; x=1720560835; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yGQ4qs6DjC90r9HSxUVRtYtauG0PEzeUENa0E9opgmI=; b=hq9VfEpGv2koNJQEwEF/GUY5wgZOEFxWCncyba3VZK78fGJGgZAioR5kEPOMKEXSyv 2xBDCHlcsmCAejzv7N9dK3CyXVOOqnVPPbTw4QpHn/ywqwzr9exhYzmdvgxDzy12BIQ2 oAYfjxPUn8KFXcDz656Z+Rj8lDcms0EYW28yNwsi+dQl0TQNak1x+g6wrDc4xmrXaSwM I0pMZZqnxy/8I3c5wG/HTh/+0chfcpDl001cjlM7kIJIUBUr6SK+eM1eLgzeWA48YRgI DilsCUjTQgmqbY5/BtKwiD8yh0MYLJHUtDHbt31XzRMqTFHcgaLAFdv58BDHwajey/0h HFug== X-Gm-Message-State: AOJu0Yw3TFRYml92W2HDRbAqfCb6073LlSlb9TPigbu6jBNQMsBThI+3 lmwVrXo0RTUnn9XUaYA+WjDP6gLKDS9/3houFUauG8BnpSHZ5MtKh9oEKA== X-Google-Smtp-Source: AGHT+IElcWk8+6ux6FsQDphrQ1I7mcxTXCknmBG5kggTVv0YtrONodZ3Y01iqjQnvmPXSaG0N5OhSg== X-Received: by 2002:a25:be06:0:b0:e03:60b3:72b6 with SMTP id 3f1490d57ef6-e036eaf3b5fmr11297752276.1.1719956034426; Tue, 02 Jul 2024 14:33:54 -0700 (PDT) Received: from [192.168.0.2] (ozzie.tundraware.com. [75.145.138.73]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-446513d31acsm44713131cf.4.2024.07.02.14.33.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jul 2024 14:33:53 -0700 (PDT) Message-ID: Date: Tue, 2 Jul 2024 16:33:52 -0500 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Buildworld Taking Very Long Time From: Tim Daneliuk To: FreeBSD Mailing List References: <3ca5191f-41fe-420c-86e9-ee4e89e599a9@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.68 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_SPAM_SHORT(0.31)[0.314]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2e:from] X-Rspamd-Queue-Id: 4WDGPd04Rqz4vls On 6/30/24 18:03, Horse Radish wrote: > The drives in question are ssd > > > On Sun, Jun 30, 2024, 5:26 PM Ralf Mardorf > wrote: > > On Sun, 2024-06-30 at 11:48 -0700, Edward Sanford Sutton, III wrote: > > Disk I/O taking longer than expected > > Shingled Magnetic Recording vs Conventional Magnetic Recording > So, we've discovered the apparent cause and I thought I share with the class. This is an older 4 core i5 server and it was starving for resources because ... We appear to be increasingly under bot scraping attacks. This was made worse because our apache config didn't implement the mpm module to limit apache resource consumption. In effect, apache would try to take on as much works as the public network could throw at it .... which gave us load averages in the 17s and up. The fix involved several things: - getting the apache mpm module in place - tuning its settings to severely limit number of processes and theads it could use - ipfw blocking some obvious scanning abusers (looking at you degenerates at Facebook..) So far, much, much better. We'll see.