Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:lsmcd:configuration [2019/07/10 16:19]
Robert Perper [Cached.MemMaxSz]
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.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. The default is 1000000. 
  
 +==== 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 ====
 +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 ==== ==== Cached.UserSize ====
 If user level databases are turned on, the initial size of each user's database. ​ The default is 1000. If user level databases are turned on, the initial size of each user's database. ​ The default is 1000.
Line 79: Line 81:
 ==== 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.
  
  
  • Admin
  • Last modified: 2019/07/10 16:19
  • by Robert Perper