From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 14:21:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 603581065768 for ; Thu, 5 Feb 2009 14:21:49 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id E9AAF8FC12 for ; Thu, 5 Feb 2009 14:21:48 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: by ewy14 with SMTP id 14so443743ewy.19 for ; Thu, 05 Feb 2009 06:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dpgQzZFK/vB9UGSX1z2Bp/dHf8TQQjOZycZoHnU9VUs=; b=fI+J2cirLWW9DaYJdh3KpnRd8q1VPNV7NEAS4oURU5QPiea8HSDVVY8epIafPHPmIN Wz77/lqH6iZbzAFRwfnADKV5WOUN7KYqnp8d7IVY0G06TpbnFqc2OI92nI5xP+o7fPlX y5fxaaAlM01NvcbrTXEuUBLt9o2LgGHHIAU+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=FgxGwFHZUq7wMyCijgRGJ//cA06eUqpEOvawrg2om6GIi/l2LvyAkhw09KRYC92oAK tnjmFyFg1gj/fZ+0oJTjCJC36QUO8k6FITzO5juVXKz9CAzBPM9uBN6fdLcMHadNLCRS 1pfN+Y1ldi5iaerQby3A99es+GpezAfTHZVeE= MIME-Version: 1.0 Received: by 10.210.37.16 with SMTP id k16mr416170ebk.97.1233843707942; Thu, 05 Feb 2009 06:21:47 -0800 (PST) Date: Thu, 5 Feb 2009 15:21:47 +0100 Message-ID: From: =?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: After upgrade problems with many open files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 14:21:50 -0000 Hi, After I recently update my 7.0 Freebsd Box I have now a small problem with performance and many open files. This has not een an issue before so I don't know what a nornal level is, but at the moment I have increased the kern.maxfiles from 12.000 to 60.000, and the system uses between 22.000 to 30.000 open files. On the box I is samba, MySQL (with no real activity only installed not used yet), gnome, interfaces I have I have 5 thin clients attached to this server, they get X via xdmcp from thin clienter that boots up with there own os (Elux). After the upgrade of application every thing seems to be slow, could it be related to the many open files are there other places to look for tunning I have tried to use lsof but I do'not find 20000 lines when listed. Any help/guidience to solve this would be apriciated. /Klaus -- Klaus