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
Next revision Both sides next revision
litespeed_wiki:lsmcd:configuration [2018/07/23 20:03]
Robert Perper [Cached.DataByUser]
litespeed_wiki:lsmcd:configuration [2018/10/04 13:26]
Robert Perper [Cached.UserSize]
Line 65: Line 65:
 <​code>​CACHED.USESASL=TRUE</​code>​ <​code>​CACHED.USESASL=TRUE</​code>​
  
 +Once you have changed this value, you must delete your existing LSMCD files: <​code>​rm -rf /​dev/​shm/​lsmcd</​code>​
 ==== Cached.DataByUser ==== ==== Cached.DataByUser ====
 Can only be used if CACHED.USESASL=TRUE and if no replication is used.  If set to '​true',​ each SASL user will be allocated an individual set of data within the data pool.  When memcached requests are preceded by a user authorization (which is always the case unless you are using legacy code and enable the Cached.Anonymous option) the request is always for the user specified in the request whether it's a get, put, or stats. ​ See the SASL wiki (above) for details on use. Can only be used if CACHED.USESASL=TRUE and if no replication is used.  If set to '​true',​ each SASL user will be allocated an individual set of data within the data pool.  When memcached requests are preceded by a user authorization (which is always the case unless you are using legacy code and enable the Cached.Anonymous option) the request is always for the user specified in the request whether it's a get, put, or stats. ​ See the SASL wiki (above) for details on use.
Line 75: Line 76:
 ==== 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.UserSize ====
 +The default initial cache entry size in bytes for each user.  Defaults to 1000.  The maximum size is controlled with Cached.MemMaxSz. ​
 ===== Replicator Configurations ===== ===== Replicator Configurations =====
  
  • Admin
  • Last modified: 2019/11/07 22:26
  • by Robert Perper