You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Learn to use LSMCD as replacement of memcached, to speed up our WP Hosting.
I think there is one problem about it.
I'm writing a simple python script that will trigered by WHM event.
This script will create one new WP site for newly created account, including 'installing and configure' LSCache Wordpress Plugin.
Since I use LSMCD with SASL, this script also need to add user-password to LSMCD SASLdb for that user.
SASLdb is just a regular text file,
Imagine if I have more than 1 account created by WHM ..... there will be a File-Locking problem.
So, Is there any way for me to replace SASL database backend?
This should be quite an easy locking scenario to deal with. Just lock the file with an exclusive flock, add, your user line, and unlock the file, or even just write your full user database to a new file, then move it over the previous file.
Dear All.
I Learn to use LSMCD as replacement of memcached, to speed up our WP Hosting.
I think there is one problem about it.
I'm writing a simple python script that will trigered by WHM event.
This script will create one new WP site for newly created account, including 'installing and configure' LSCache Wordpress Plugin.
Since I use LSMCD with SASL, this script also need to add user-password to LSMCD SASLdb for that user.
SASLdb is just a regular text file,
Imagine if I have more than 1 account created by WHM ..... there will be a File-Locking problem.
So, Is there any way for me to replace SASL database backend?
Sincerely
-bino-
Actualy, I post the same question at https://www.litespeedtech.com/support/forum/threads/lsmcd-sasl-database-backend.16940/
The text was updated successfully, but these errors were encountered: