From owner-freebsd-current@FreeBSD.ORG Sun Apr 30 03:16:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5824F16A401 for ; Sun, 30 Apr 2006 03:16:22 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C7A43D46 for ; Sun, 30 Apr 2006 03:16:21 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by nz-out-0102.google.com with SMTP id l1so2167016nzf for ; Sat, 29 Apr 2006 20:16:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ccwy91N1en2KzhJePboZnJntHWTCA5ENYPIMBY8E4EbU2W5Py9/T1yrpoBZf9nbqLPCUhGY03zSAoeNvKn6UPEc65aWCHtU0jo4djg+djpHqY8fdNL8BN7Epr1tsAHMQneld773ZMqMksYKOxs2CrSmsjEvj8hrE8+Bop9lEg+E= Received: by 10.65.155.4 with SMTP id h4mr239331qbo; Sat, 29 Apr 2006 20:16:21 -0700 (PDT) Received: by 10.65.105.17 with HTTP; Sat, 29 Apr 2006 20:16:21 -0700 (PDT) Message-ID: Date: Sun, 30 Apr 2006 11:16:21 +0800 From: "Jiawei Ye" To: "Michael Bushkov" In-Reply-To: <002401c66b0a$44c230e0$01655050@jersey> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <002401c66b0a$44c230e0$01655050@jersey> Cc: freebsd-current@freebsd.org Subject: Re: [HEADS UP] caching daemon imported into the source tree 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: Sun, 30 Apr 2006 03:16:22 -0000 On 4/29/06, Michael Bushkov wrote: > Caching daemon supports caching of getXXXent() functions' results (cachin= g > of sequences of data) - which can be very helpful - as getpwent() functio= n, > for example, is called during each login operation. > > Caching daemon can greatly increase system performance when using LDAP or > NIS nsswitch sources (especially the login speed). It also helps with > caching huge /etc/services file - not every getservXXX() query now search= es > this whole file. Performance benchmarks results comparisons still have no= t > been made - but they will surely be done. > > I'm currently working further on the caching daemon and nsswitch-related > stuff. Please, try it out and send me your comments and ideas. I'll be > really glad to hear them. > > With best regards, > Michael Bushkov > Hi, I find that enabling cache for passwd breaks Apache's UserDir function, could you please look into that? apache-event-2.2.0_7 Version 2.2 of Apache web server with event MPM. Error shown [Sun Apr 30 11:11:25 2006] [error] [client 192.168.0.101] File does not exist: /usr/local/www/apache22/data/~ Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming