From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 19:46:13 2008 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 B9A341065670 for ; Wed, 9 Apr 2008 19:46:13 +0000 (UTC) (envelope-from mark.lastdrager@pine.nl) Received: from srv0001.pine.nl (srv0001.pine.nl [213.156.9.3]) by mx1.freebsd.org (Postfix) with ESMTP id 749E48FC1C for ; Wed, 9 Apr 2008 19:46:13 +0000 (UTC) (envelope-from mark.lastdrager@pine.nl) Received: from localhost (localhost [127.0.0.1]) by srv0001.pine.nl (Pine Digital Security Mailer [srv0001.pine.nl]) with ESMTP id 17680BE72A for ; Wed, 9 Apr 2008 21:27:43 +0200 (CEST) Received: from srv0001.pine.nl ([127.0.0.1]) by localhost (srv0001.pine.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 66305-05-2 for ; Wed, 9 Apr 2008 21:27:39 +0200 (CEST) Received: from fileserver.pine.nl (a80-100-193-64.adsl.xs4all.nl [80.100.193.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by srv0001.pine.nl (Pine Digital Security Mailer [srv0001.pine.nl]) with ESMTP id E32F3BE72E for ; Wed, 9 Apr 2008 21:27:39 +0200 (CEST) Received: from [127.0.0.1] (a80-100-193-64.adsl.xs4all.nl [80.100.193.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fileserver.pine.nl (Postfix) with ESMTP id B0C62130C5D for ; Wed, 9 Apr 2008 21:27:39 +0200 (CEST) Message-ID: <47FD18B9.8060305@pine.nl> Date: Wed, 09 Apr 2008 21:27:53 +0200 From: Mark Lastdrager User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at pine.nl Subject: rpc.lockd leaking memory on 6.3 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: Wed, 09 Apr 2008 19:46:13 -0000 Hi, Recently we updated our main NFS server to FreeBSD 6.3. This machine serves about 10 netboot clients all running FreeBSD 6.2. Since the upgrade we are having some issues with locking. We tried to avoid running the lockd daemons at all but most software on the netboot clients (Apache, Postfix) refuses to run without it. On the 6.3 server rpc.lockd leaks memory, somewhat less than 1 meg per hour. This means that every few days we need to restart the daemon. This is quite annoying because we need to stop/start rpc.lockd on both the server and the clients in a controlled fashion. In most cases also the daemons using locking need to be restarted. Is this a known issue? I could not find a PR for it. Maybe a workaround? I found some recent posts on the -current list about a complete rewrite of the locking mechanism, will this be ported to 6-STABLE in the future? Regards, Mark