From owner-freebsd-stable@FreeBSD.ORG Sun Mar 25 15:49:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D228106564A for ; Sun, 25 Mar 2012 15:49:32 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 432188FC19 for ; Sun, 25 Mar 2012 15:49:32 +0000 (UTC) Received: by iahk25 with SMTP id k25so9171236iah.13 for ; Sun, 25 Mar 2012 08:49:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=5E5Kt1MNtP+wj443to6FouDkJf0dQpjL32jDKUxp5LQ=; b=RM0RWaqhiv9N/otnLrGQZuCTvkhxU5i8v9t36OQSWrrYze7WhkIj6qB5OvtykL4uuc x5uhJxL6ZWwj7a88VP+Sca2TfrpWWAt1TjsL5xUsAkCDwdJGYTBMXQXJabuP6S6hbLNo o18wu4w6X2zWGNscKr5zvyUyNoWA7yXPhnBnoAfomjrnIE5V1ypE4ZsWPqUkeS8gS/CM Nt8PwbrFpc8kEgSL3GXWXJbxzUXS/I07B4k3Amn3hvsgivC10s0sD0ZtO5J7shswxywk EP+JlydPuuyseBqMw5YhahUbCA5qvvhX0VLOhsjQUPssyunmyg/MrVIUo7UnLvZKfZh8 ty5Q== MIME-Version: 1.0 Received: by 10.50.195.131 with SMTP id ie3mr3504404igc.52.1332690571752; Sun, 25 Mar 2012 08:49:31 -0700 (PDT) Received: by 10.231.144.68 with HTTP; Sun, 25 Mar 2012 08:49:31 -0700 (PDT) X-Originating-IP: [93.221.186.31] In-Reply-To: References: Date: Sun, 25 Mar 2012 17:49:31 +0200 Message-ID: From: "C. P. Ghost" To: prabhpal@digital-infotech.net Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQki1QO1EMMikvNxaSe9UbZdUfIvL+88nGHY9nE/B4xpqL7Rb7ik2N1W9ZQZoI9bBQFKqWS9 Cc: freebsd-stable@freebsd.org Subject: Re: Too many open files X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 15:49:32 -0000 On Sun, Mar 25, 2012 at 6:46 PM, Prabhpal S. Mavi wrote: > Greetings Friends, > > have anyone has come across this warning / error? This occurs when i ssh > to my FreeBSD 9.0 System. any help would be greatly appreciated. > > Warning: > /usr/share/games/fortune/freebsd-tips.dat: Too many open files in system > [mavi@titan ~]$ su > su: pam_start: system error > > Thanks / Regards > Prabhpal What does this command say on your system? % sysctl kern.maxfiles kern.maxfilesperproc kern.openfiles You may have exceeded the maximum number of open files in the system. Maybe some ill-conceived program that doesn't close non-needed connections, files, etc is at fault? It's easy to open more and more files, and to gradually fill the open files descriptor table in the kernel this way. -cpghost. -- Cordula's Web. http://www.cordula.ws/