Litespeed Web Server constantly restarts when updating MaxMind's (GeoIP) databases

#1
Hello!

I run a cron job that automatically gets the mmdb files from an external server I own.

However, when the download completes (almost always within seconds), Litespeed Web Server restarts indefinitely and every website becomes inaccessible. I need to kill the processes and restart Litespeed for it to work properly.

Any ideas?
 
#3
I think that you copied the wrong part, but I found out from a Reddit post that the right hierarchy of actions is:
Remove existing database > Copy new ones > Restart Web Server.

Is that right? How will the websites not crash between the time of removal and the copy? Am I missing something?
 
Top