Timo Sirainen wrote:> - auth: Auth cache is now disabled passwd-file. It was unnecessary and > it broke %variables in extra fields.So settings like auth_cache_size = 65536 auth_cache_ttl = 86400 auth_cache_negative_ttl = 600 are ignored/useless, and passwd-file auth lookups always results in file read operation? Joseph Tam <jtam.home at gmail.com>
On 26 Apr 2016, at 21:09, Joseph Tam <jtam.home at gmail.com> wrote:> > Timo Sirainen wrote: > >> - auth: Auth cache is now disabled passwd-file. It was unnecessary and >> it broke %variables in extra fields. > > So settings like > > auth_cache_size = 65536 > auth_cache_ttl = 86400 > auth_cache_negative_ttl = 600 > > are ignored/useless, and passwd-file auth lookups always results in file read > operation?passwd-files are always read fully into memory. The file's timestamp is checked once a second to see if anything has changed and if so the file is reloaded. So basically they're already cached with perfect TTL settings.
On Tue, 26 Apr 2016, Timo Sirainen wrote:>>> - auth: Auth cache is now disabled passwd-file. It was unnecessary and >>> it broke %variables in extra fields. >> >> So settings like >> >> auth_cache_size = 65536 >> auth_cache_ttl = 86400 >> auth_cache_negative_ttl = 600 >> >> are ignored/useless, and passwd-file auth lookups always results in file read >> operation? > > passwd-files are always read fully into memory. The file's timestamp > is checked once a second to see if anything has changed and if so the > file is reloaded. So basically they're already cached with perfect TTL > settings.OK, thanks. I will comment these settings out since they're not useful. Joseph Tam <jtam.home at gmail.com>