From: "Kevin Coffman" Subject: Re: [PATCH/RFC] svcgssd always sets an infinite expiry on authentication tokens etc. Date: Tue, 2 Dec 2008 12:40:45 -0500 Message-ID: <4d569c330812020940n3b8561fexfb97d89a7d5779a4@mail.gmail.com> References: <18740.50457.981544.21225@notabene.brown> <4d569c330812012145y2353bc9asd7a0c62fef42ed3a@mail.gmail.com> <49355C78.6080607@RedHat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: "Neil Brown" , linux-nfs@vger.kernel.org, "J. Bruce Fields" To: "Steve Dickson" Return-path: Received: from yx-out-2324.google.com ([74.125.44.28]:45194 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752704AbYLBRkr (ORCPT ); Tue, 2 Dec 2008 12:40:47 -0500 Received: by yx-out-2324.google.com with SMTP id 8so1247145yxm.1 for ; Tue, 02 Dec 2008 09:40:46 -0800 (PST) In-Reply-To: <49355C78.6080607-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Dec 2, 2008 at 11:04 AM, Steve Dickson wrote: > Kevin Coffman wrote: >> Hi Neil, >> This seems reasonable. >> >> I have a patch somewhere that gets the actual Kerberos expiration that >> could be used for the rsc timeout. But I think this should be fine >> for now. (Perhaps at the cost of requiring clients to negotiate a new >> context every hour?) > This question is a bit worrisome, imho... I understand the need to release > memory consumed by dead contexts but on the other hand, renegotiating > contexts every hour on the hours seems a bit costly as well... > > Does it make sense to make this time out configurable? Yes, it would be > a very obscure knob, but in the unlikely event there is a bug in the > renegotiating code or renegotiating simply becomes too costly, I think > it would good to have a way to dial the time out back up as a work-around. > > steved. Hi Steve, Rather than adding another config knob, how 'bout I dust off my patch to get the "right" timeout value? I should be able to make that available tomorrow. (I have limited resources to work on this at the moment.) K.C.