Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:lsmcd:configuration [2018/08/13 19:16] Robert Perper [CACHED.USESASL] |
litespeed_wiki:lsmcd:configuration [2019/11/07 22:26] (current) Robert Perper [Cached.Anonymous] |
||
---|---|---|---|
Line 71: | Line 71: | ||
==== Cached.Anonymous ==== | ==== Cached.Anonymous ==== | ||
Can only be used if CACHED.USESASL=TRUE and if no replication is used. While legacy apps (those without user/password validation) can be made to work with this option until they've all been updated, it makes the most sense if you've specified Cached.DataByUser=true. If set to 'true', users without validation code can access the system, but operate within the common area and do not affect the user specified data areas. See the SASL wiki (above) for details on use. | Can only be used if CACHED.USESASL=TRUE and if no replication is used. While legacy apps (those without user/password validation) can be made to work with this option until they've all been updated, it makes the most sense if you've specified Cached.DataByUser=true. If set to 'true', users without validation code can access the system, but operate within the common area and do not affect the user specified data areas. See the SASL wiki (above) for details on use. | ||
+ | |||
+ | ==== Cached.SaslDB ==== | ||
+ | Can only be used if CACHED.USESASL=TRUE and if no replication is used. Allows you to specify a database name other than the default sasl database of /etc/sasldb2. Recommended in very secure sensitive environments. See the SASL section for use of this option, particularly with ''saslpasswd2'' and ''sasldblistusers2''. | ||
==== Cached.MemMaxSz ==== | ==== Cached.MemMaxSz ==== | ||
- | If set to a non-zero value, it is the number of bytes that will be stored in the hash before least recently used items begin to be purged. | + | If set to a non-zero value, it is the number of bytes that will be stored in the hash before least recently used items begin to be purged. The default is 64000000. |
+ | ==== Cached.UserSize ==== | ||
+ | If user level databases are turned on, the initial size of each user's database. The default is 1000. | ||
==== Cached.HashSize ==== | ==== Cached.HashSize ==== | ||
The default initial cache entry size in bytes. Defaults to 500000. The maximum size is controlled with Cached.MemMaxSz. | The default initial cache entry size in bytes. Defaults to 500000. The maximum size is controlled with Cached.MemMaxSz. | ||
+ | |||
+ | ==== Cached.ValMaxSz ==== | ||
+ | The maximum size of any individual entry in the cache. 0 disables the limit, the default is 1000000. | ||
+ | |||
+ | |||
===== Replicator Configurations ===== | ===== Replicator Configurations ===== | ||