[Dovecot] auth_cache_...
Hello,
the dovecot-example.conf states:
# Authentication cache size in kilobytes. 0 means it's disabled. # Note that bsdauth, PAM and vpopmail require cache_key to be set for caching # to be used. #auth_cache_size = 0 # Time to live in seconds for cached data. After this many seconds the cached # record is no longer used, *except* if the main database lookup returns # internal failure. We also try to handle password changes automatically: If # user's previous authentication was successful, but this one wasn't, the # cache isn't used. For now this works only with plaintext authentication. #auth_cache_ttl = 3600
auth_cache_size = 0, does it mean "cache can grow ad infinitum" or does it mean "no cache at all" ?
Kind regards ______________________________________________________________ Frank Elsner / c/o Technische Universitaet Berlin | ____________/ tubIT [BD], Sekr. E-N 50 | | Einsteinufer 17 | | Phone: +49 30 314 23897 D-10587 Berlin | | eMail: Frank.Elsner@TU-Berlin.DE Germany __________________| |_________________________________________________________| in dubio pro exim
- Frank Elsner <Frank.Elsner@TU-Berlin.DE>:
Hello,
the dovecot-example.conf states:
# Authentication cache size in kilobytes. 0 means it's disabled. # Note that bsdauth, PAM and vpopmail require cache_key to be set for caching # to be used. #auth_cache_size = 0 # Time to live in seconds for cached data. After this many seconds the cached # record is no longer used, *except* if the main database lookup returns # internal failure. We also try to handle password changes automatically: If # user's previous authentication was successful, but this one wasn't, the # cache isn't used. For now this works only with plaintext authentication. #auth_cache_ttl = 3600
auth_cache_size = 0, does it mean "cache can grow ad infinitum" or does it mean "no cache at all" ?
And another question: Are there ways to find out how efficient the cache is?
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de "Acting is all about honesty. If you can fake that, you've got it made." -- George Burns
- Timo Sirainen <tss@iki.fi>:
And another question: Are there ways to find out how efficient the cache is?
Send SIGUSR1 (or was it SIGUSR2?) to dovecot-auth and look at the logs.
SIGUSR2 -- because SIGUSR1 kills it. Aiiiiiie!
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de Trying to outsmart a compiler defeats much of the purpose of using one. -- Kernighan & Plauger, The Elements of Programming Style.
On Thursday, July 26 at 03:15 PM, quoth Frank Elsner:
auth_cache_size = 0, does it mean "cache can grow ad infinitum" or does it mean "no cache at all" ?
Well...
# Authentication cache size in kilobytes. 0 means it's disabled.
That's pretty direct. 0 means "no cache at all". I'm not seeing where there might be a contradiction or a confusion.
~Kyle
The real problem is not whether machines think, but whether men do. -- B. F. Skinner
participants (4)
-
Frank Elsner
-
Kyle Wheeler
-
Ralf Hildebrandt
-
Timo Sirainen