lsmcd icon indicating copy to clipboard operation
lsmcd copied to clipboard

FATAL ERROR alloc2 cross large page boundary

Open webbasica opened this issue 3 years ago • 2 comments

After checking the log file, I noticed this error every few hours:

2021-03-19 03:02:12.701 [ERROR] [__root] [SHM] [-1-11:0x1cebab0] FATAL ERROR alloc2 cross large page boundary, offset: 30FFC00, size: 1072. You must remove all of the files in /dev/shm/lsmcd and restart the lsmcd server

The offset and size differ every time. What's causing it?

webbasica avatar Mar 19 '21 16:03 webbasica

This issue has been fixed. Please upgrade to v1.4.17. The best way to do that is:

cd (to the directory where you originally built lsmcd)
git pull
make
sudo /usr/local/lsmcd/bin/lscmdctrl stop
sudo rm -rf /dev/shm/lsmcd
sudo make install
sudo /usr/local/lsmcd/bin/lsmcdctrl start

Let me know if you have any issues after doing this. Thanks,

Bob Perper [email protected]

rperper avatar Mar 19 '21 17:03 rperper

Hello,

originally,i follow the link https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:lsmcd:installation with the commands to run

yum groupinstall "Development Tools"
yum install autoconf automake zlib-devel openssl-devel expat-devel pcre-devel libmemcached-devel cyrus-sasl*
wget https://github.com/litespeedtech/lsmcd/archive/master.zip
unzip master.zip
cd lsmcd-master
./fixtimestamp.sh
./configure CFLAGS=" -O3" CXXFLAGS=" -O3"
make
sudo make install
make install
less /usr/local/lsmcd/conf/node.conf
/usr/local/lsmcd/bin/lsmcdctrl status
systemctl status lsmcd
systemctl start lsmcd
systemctl status lsmcd
systemctl enable lsmcd

about "cd (to the directory where you originally built lsmcd)" may i ask if it means /root/lsmcd-master or /dev/shm/lsmcd ?

thanks

fohana avatar Nov 23 '21 07:11 fohana