From owner-freebsd-questions@freebsd.org Tue Jun 23 07:02:57 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0011234B27C for ; Tue, 23 Jun 2020 07:02:56 +0000 (UTC) (envelope-from enrico.migliore@fatti.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rcg364wdz46Yd for ; Tue, 23 Jun 2020 07:02:55 +0000 (UTC) (envelope-from enrico.migliore@fatti.com) Received: by mail-wm1-x32a.google.com with SMTP id o8so156078wmh.4 for ; Tue, 23 Jun 2020 00:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fatti-com.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=yFHAj2lc82PoFWgp47y5qBOoohyK29C6L/M54E8GfQE=; b=SnORMnqNLHjNYA47eGXyLoL2+ZunVkXh3jNB3Sjjyym+XlL0/el/CIdveX9q9HM9+v GmeCFrYxL4i2R/QtPP45mM3RTCMtF5gbhW4rb2pJcOTFNmC9covuhBG+Zh5E8J5Q0zd4 UhxL9Ywd4uDJ9diPsuvkY7+Df3M3X9e/Re6G6otoi1Qjw8GWYHIuUfHgDF9iaDwx7qtX KT7bply0P5y7qhle7KtUvjtZWOzDuT+IW1hKe+WpzVrCYy6uQl5YofEbNT+/lHKewbG7 83Gw9h9yTOrnsNw7jBhjb3qmuNxAN3+5zWQbk7ai9yuGElEJX9raOS9r1s8WqmOvxccA sgFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=yFHAj2lc82PoFWgp47y5qBOoohyK29C6L/M54E8GfQE=; b=JAusiMUXgrtxpiKzLQaJ4V2JxNQKX7SkNLlWyxF+qY7TdJA1GuNuWes8y+QkGrwbcy 1h5S+PaKMkRmSe+hVTSl/ZjtvxKQUpBhFRfX3wsyEXBB2fJmIV0yXutW6ru2RlyBLT8V oE7sccJ3G+u3+LXCQqXyPPbJpXTpvEayTLt/5MjLbRUqQFDgnfATj9b7jGhViDu4GlYo FCOTbOKFukRD3/Ibkw/ElOvQ+RCxOWqxAlcPoM7aViysW/Oqr7a663MLVoAn2UAyvRmd nM7zYZn3PIREpW+uSvJ7bTUEj/ucXrpkSIlxohF1Zz0CLrL+XsyIzzgyIeR8SDdYM85A mtgQ== X-Gm-Message-State: AOAM530BAaqjYskWmrlFXGOoCMl/IKxQwUIP6qmqDcQe0tPLOPYzyM+D yDf3ElNudt+cSnTiXupD4hX8vL+xyXo= X-Google-Smtp-Source: ABdhPJwBPRssmDD2MZkTnU7sQF3nF8/bn39+UpCK5+9AHIn46fLodtAZvE4Gr9gIgYb1bnOUrQ/LnQ== X-Received: by 2002:a1c:a712:: with SMTP id q18mr10906321wme.37.1592895772054; Tue, 23 Jun 2020 00:02:52 -0700 (PDT) Received: from [192.168.1.2] ([151.84.184.231]) by smtp.gmail.com with ESMTPSA id h203sm2384980wme.37.2020.06.23.00.02.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2020 00:02:51 -0700 (PDT) Reply-To: enrico.migliore@fatti.com Subject: Re: limit bandwidth for a process To: freebsd-questions@freebsd.org References: <8cb1b4a8-b839-e495-272e-1b12f0f2aa6b@freenetMail.de> From: "FATTI srl - enrico.migliore@fatti.com" Organization: FATTI srl Message-ID: Date: Tue, 23 Jun 2020 09:02:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Antivirus: Avast (VPS 200622-6, 22/06/2020), Outbound message X-Antivirus-Status: Clean X-Rspamd-Queue-Id: 49rcg364wdz46Yd X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fatti-com.20150623.gappssmtp.com header.s=20150623 header.b=SnORMnqN; dmarc=none; spf=none (mx1.freebsd.org: domain of enrico.migliore@fatti.com has no SPF policy when checking 2a00:1450:4864:20::32a) smtp.mailfrom=enrico.migliore@fatti.com X-Spamd-Result: default: False [-0.73 / 15.00]; HAS_REPLYTO(0.00)[enrico.migliore@fatti.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[fatti-com.20150623.gappssmtp.com:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[151.84.184.231:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.50)[-0.505]; R_DKIM_ALLOW(-0.20)[fatti-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.41)[-0.405]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[fatti.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.48)[0.481]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2020 07:02:57 -0000 On 23/06/2020 06:32, Bruce Ferrell wrote: > At the OS level, there is little you can do.  At the the firewall, you > can limit the bandwidth the ports used by FTP uses. It shouldn't be that difficult for an OS that can preempt processes to limit the CPU usage of a process. Enrico Migliore -- Questa e-mail è stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus