[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] PASSWD_CACHE_REFRESH in 6.9.4?




Actually, PASSWD_CACHE_REFRESH does not accept expressions. It requires a plain integer. The only change in semantics is that in 6.9.2, we added better validation of input. Previously, PASSWD_CACHE_REFRESH=123+blahblah would silently result in a value of 123 being used. In 6.9.2+, condor complains and falls back to the default value.

Therefore, the advice that I added to the web page on administering large condor pools was incorrect. Sorry about that! I have corrected that. Anyway, in 6.9.4, the randomization happens internally, so hopefully there is no need to worry about it.

Here's the web page we are talking about, for others who are interested:

http://www.cs.wisc.edu/condor/CondorWeek2007/large_condor_pools.html

--Dan

Steffen Grunewald wrote:

Has the semantics of PASSWD_CACHE_REFRESH changed between 6.9.3 and 6.9.4?
I have been running some nodes with
PASSWD_CACHE_REFRESH = 900 + $RANDOM_INTEGER(0,300)
(the suggestion from the PCW2007 talk on large pools was
PASSWD_CACHE_REFRESH = 300 + $RANDOM_CHOICE(0,10,20,30,40,50,60,70,80,90,100)
but with a few hundreds of nodes I wanted to add more randomness)
which caused no problems with 6.9.3, but 6.9.4 complains.
Of course, with the randomness introduced internally, the random part is
not necessary anymore...
(Needless to say that arithmetic expressions in COndor still scare me.)

Cheers,
Steffen