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:installation [2018/02/08 21:10]
qtwrk [Debian/Ubuntu]
litespeed_wiki:lsmcd:installation [2018/08/14 14:15]
Robert Perper [Debian/Ubuntu]
Line 58: Line 58:
 Repl.MaxTidPacket=2048000 Repl.MaxTidPacket=2048000
 Repl.GzipStream=YES Repl.GzipStream=YES
-Repl.LbAddrs=127.0.0.1:​1234 +Repl.LbAddrs=127.0.0.1:​12340 
-Repl.ListenSvrAddr=127.0.0.1:​1234 +Repl.ListenSvrAddr=127.0.0.1:​12340 
-Repl.DispatchAddr=127.0.0.1:​5501 +REPL.DispatchAddr=127.0.0.1:​5501 
-Cached.Addr=127.0.0.1:11211 +RepldSockPath=/​tmp/​repld.usock 
-Cached.PriAddr=127.0.0.1:11000+CACHED.PRIADDR=127.0.0.1:11000 
 + 
 +CACHED.ADDR=127.0.0.1:11211 
 +#​CACHED.ADDR=UDS:///​tmp/​lsmcd.sock 
 +#default is 8, it can be bigger depending on cache data amount
 Cached.Slices=8 Cached.Slices=8
 Cached.Slice.Priority.0=100 Cached.Slice.Priority.0=100
Line 72: Line 76:
 Cached.Slice.Priority.6=100 Cached.Slice.Priority.6=100
 Cached.Slice.Priority.7=100 Cached.Slice.Priority.7=100
 +
 Cached.ShmDir=/​dev/​shm/​lsmcd Cached.ShmDir=/​dev/​shm/​lsmcd
 +#If you change the UseSasl or DataByUser configuration options you need to remove the ShmDir folder and contents.
 +#​Cached.UseSasl=true
 +#​Cached.DataByUser=true
 +#​Cached.Anonymous=false
 +#​Cached.UserSize=1000
 +#​Cached.HashSize=500000
 +#​CACHED.MEMMAXSZ=0
 +#​CACHED.NOMEMFAIL=false
 +
 +##this is the global setting, no need to have per slice configuration. ​
 User=nobody User=nobody
 Group=nobody Group=nobody
 +#depends CPU core
 CachedProcCnt=4 CachedProcCnt=4
-RepldSockPath=/​tmp/​repld.usock 
 CachedSockPath=/​tmp/​cached.usock. CachedSockPath=/​tmp/​cached.usock.
-TmpDir=/​tmp/​lsmcd +#TmpDir=/​tmp/​lsmcd 
-LogLevel=error+LogLevel=notice
 #​LogLevel=dbg_medium #​LogLevel=dbg_medium
 LogFile=/​tmp/​lsmcd.log</​code>​ LogFile=/​tmp/​lsmcd.log</​code>​
Line 85: Line 100:
  
 Add this line into conf if you wish to use SASL Add this line into conf if you wish to use SASL
-<​code>​CACHED.USESASL=true</​code>​+<​code>​CACHED.USESASL=TRUE</​code>​
 ===== Start ===== ===== Start =====
 There are various different ways to start/stop LSMCD. Here are just a few ways. There are various different ways to start/stop LSMCD. Here are just a few ways.
  • Admin
  • Last modified: 2019/11/27 14:34
  • by Robert Perper