Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 17:50:08 +0200 (CEST)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        Fadi Sodah <sodah@qatar.net.qa>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: File-Descriptors
Message-ID:  <Pine.BSF.4.05.9905041746480.81126-100000@gwdu60.gwdg.de>
In-Reply-To: <372EFA2D.B1FFCF19@qatar.net.qa>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 4 May 1999, Fadi Sodah wrote:

> how do i know how many file descriptors (FDs) 
> i have on my machine, and how do i increase them? 

sysctl kern.maxfiles

returns the maximal number of files that can be opened.

sysctl -w kern.maxfiles=2048

sets the limit to 2048 (e.g.).

Regards

//
// Konrad Heuer                                  ____            ___  _______ 
// Gesellschaft für wissenschaftliche           / __/______ ___ / _ )/ __/ _ \
//    Datenverarbeitung mbH GÖttingen          / _// __/ -_) -_) _  |\ \/ // /
// Am Faßberg, D-37077 GÖttingen              /_/ /_/  \__/\__/____/___/____/ 
// Deutschland (Germany)                      ----- The Power to Serve -----
//                                                http://www.freebsd.org
// kheuer@gwdu60.gwdg.de
//



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905041746480.81126-100000>