From owner-freebsd-current@FreeBSD.ORG Fri Sep 11 04:58:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 442CC1065672 for ; Fri, 11 Sep 2009 04:58:26 +0000 (UTC) (envelope-from fulanpeng@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 0431A8FC14 for ; Fri, 11 Sep 2009 04:58:25 +0000 (UTC) Received: by vws27 with SMTP id 27so532855vws.3 for ; Thu, 10 Sep 2009 21:58:25 -0700 (PDT) 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; bh=fpVRV9FXbCIWN+f5fFdGy+7lcgzr5DBFjtwUykf2WTE=; b=rWDL/31r8gDZWA7skJShRsF1Qlzdg2rJ/Iw96LSnvDC3DndaOVdwqZO1a18UlqL6z4 IHtgHrzWn/BDZWrBLhLgyYPROb4Y1re9+/JDV9BUtiTnEGBVYoBAxi90xxfvC/DAJC7W Qkp1KfGWUApZWT5XTTzrYWCuklDZ4I+u9SDb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pPR2Zk3Hmns/eQoP19t5XuMhHGqwChdIL76MOAXT+tGDmvU4+Hq2icXhDRp6cqp8nV +fEgzDPtZ1L9X0S85nsqQ2tcF9w3o4OZIOnQ/81W/oQGBd5GZKemzHDNGeo9DvP1Jl2g XcFADU2FhhbolXw6uwIcKuuaCLOGSl5xwRskM= MIME-Version: 1.0 Received: by 10.220.15.71 with SMTP id j7mr2887255vca.79.1252645104900; Thu, 10 Sep 2009 21:58:24 -0700 (PDT) Date: Fri, 11 Sep 2009 04:58:24 +0000 Message-ID: From: fulan Peng To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: How to make sysctl.conf effect? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 04:58:26 -0000 I am sorry if this is not the right place to ask this question. I am using freebsd amd64 7.2. I cannot make more than 32768 directories in a folder. So I edited /etc/sysctl.conf and added a line vfs_ufs_dirhash_maxmem=67108864 when I do sysctl -a |grep mem, I saw the setting was correct. But when I went into a directory and try to make more than 32768 subdirectories, it always was told me too many links. I have rebooted many, many times. I even powered of the computer several times. I have 6G memory in the computer. And I even recompiled the kernel once. All failed. Could you please help me to give me some hints to activate the /etc/sysctl.conf file. Thanks a lot! Fulan Peng