From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 07:57:22 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64BADBB6 for ; Thu, 31 Jul 2014 07:57:22 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F026B26C8 for ; Thu, 31 Jul 2014 07:57:21 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id k48so2382043wev.12 for ; Thu, 31 Jul 2014 00:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4zlVVbFGgvr2vrLA79t2D0DVaDOd+bU1/xjcABfQXr4=; b=elPqf+SlyCz3HVUC85Y9shoODP+EamtLM49fw/VQREfdx4iJDXFp5H31SiIgET76f+ DzsdM3zkkRVFxKChxTrvyspFHib+O6L1NQPDtJlDVia8dQMQ+NN8mk+aD1ipmdGWbi7b Dw2sX7zPV4cpxWGhK2Oq/ZrUdsvV9pMj6UwZxjA3jsWj4W5k62p4BYpGA/MggI3Su/QQ sxQ/Cv+kK2bmv7BHK6cDPHlVxWINFX5hCuT7ax9ximwHpYHBlSSIOyfvl9DwwANkvRUQ +b0ETgTrWZHnY1yutdJ2DYbMio1s9LOOGH2lyAbrFSYIBvk1NXRC+RXwZq3QeaGqiEVc x9HA== X-Received: by 10.180.183.167 with SMTP id en7mr14894009wic.6.1406793439940; Thu, 31 Jul 2014 00:57:19 -0700 (PDT) Received: from [192.168.2.100] (dhcp46-187-149-223.eaw.com.pl. [46.187.149.223]) by mx.google.com with ESMTPSA id w10sm17950049wie.22.2014.07.31.00.57.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jul 2014 00:57:19 -0700 (PDT) Message-ID: <53D9F6EB.4000303@gmail.com> Date: Thu, 31 Jul 2014 09:57:31 +0200 From: Adi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 10 swapping Idle processes :/ References: <53D962A7.5090105@gmail.com> <53D97C71.3050806@freebsd.org> <20140731011516.21b1261d@gumby.homeunix.com> <53D9EBA0.5030600@gmail.com> <53D9EC9E.3020207@freebsd.org> In-Reply-To: <53D9EC9E.3020207@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 07:57:22 -0000 Hello > If you reboot and don't use the tmpfs, do the symptoms go away? I can try but this is only 2 MB tmpfs. And only 2xx KB used. I think about change kern.maxusers: 2373 to, for example: 500 ? Maybe this will reduce limits for open files and proportional other settings and will stop swapping? Next question vm.swap_total: 34359734272 vm.swap_reserved: 8904851456 What is swap_reserved? I looked on old server: kern.maxusers: 384 vm.swap_reserved: 108970188800 vm.swap_total: 17179869184 reserved is > total (sic!) Maybe this reseved is from login.conf klient:\ :datasize=128M:\ :vmemoryuse=180M:\ Mayby I should reduce this settings ? But old server (16 GB) is not swapping (even reserved is very high) ;/ Best Regards