LiteSpeed one click install serving wrong cache file under heavy load

March 12, 2019 1.1k views
One-Click Install Apps Ubuntu 18.04

It would seem that a random post from the wordpress site I run will some times show up as my home page. Has anyone ever experienced anything like this before?

It only happens with logged out users who are getting cache hits as confirmed via the dev console. It also seems to happen more when the server is under a heavy load.

I have also noticed it will sometimes serve up a blank page and in the response headers it has.

content-length: 0
date: Tue, 12 Mar 2019 19:08:51 GMT
server: LiteSpeed
status: 200
x-litespeed-cache: hit

I am seeing a few things in the logs.

2019-03-12 08:15:52.980783    ERROR    [173.252.127.28:65378] [Module-Cache] createEntry failed.

2019-03-12 09:20:17.830213    ERROR    [66.220.149.11:45052] [Module-Cache] createEntry failed.

2019-03-12 09:47:17.031057    ERROR    [203.133.168.153:54336] [moddecompress+++] compressbuf in 8192, inflate/deflate return -5

2019-03-12 09:53:30.630118    ERROR    [173.252.127.30:59856] [Module-Cache] createEntry failed.

2019-03-12 09:57:37.206445    ERROR    [66.220.149.19:45220] [Module-Cache] createEntry failed.

2019-03-12 11:07:46.904699    NOTICE    [65.60.211.62:63642:HTTP2-29] No request delivery notification has been received from LSAPI application, possible dead lock.

2019-03-12 11:07:47.964671    NOTICE    [65.60.211.62:63642:HTTP2-33] No request delivery notification has been received from LSAPI application, possible dead lock.

2019-03-12 11:07:48.349800    NOTICE    [65.60.211.62:63642:HTTP2-35] No request delivery notification has been received from LSAPI application, possible dead lock.

2019-03-12 11:07:49.500761    NOTICE    [65.60.211.62:63642:HTTP2-47] No request delivery notification has been received from LSAPI application, possible dead lock.

2019-03-12 13:17:01.013659    NOTICE    [70.60.138.146:52895:HTTP2-185] No request delivery notification has been received from LSAPI application, possible dead lock.

2019-03-12 13:17:11.150337    NOTICE    [8.25.65.203:51189:HTTP2-3] No request delivery notification has been received from LSAPI application, possible dead lock.
5 Answers

Greetings!

Thank you for posting this question here. Please do not take this as me suggesting that this is the wrong place to ask it, I genuinely want this place to house the answer to every question that could come up. However, I also want you to get the best answer to this, so I want to call attention to a detail that I think we could display better on our one-click page (feedback we’ve taken to heart). On our Marketplace tab, if you click on Details you can typically find a support path for the maintainer of that image. The maintainers are also welcome to come here and answer, as is anyone else who may know the answer. To speed up your chance at getting the answer, I wanted to give you the support path for the OpenLightSpeed Wordpress image:

Support URL: https://docs.litespeedtech.com/Cloud/wordpress/
Support Email: support@litespeedtech.com

If you get an answer and have time to post it here, assuming no one beats you to it, I’d love it if you could share here for anyone that might face the same in the future.

Jarland

Per my mate Jarland above, OpenLiteSpeed Wordpress is from a DigitalOcean Marketplace vendor, and they should be able to support you more quickly and effectively than we can in the community here: https://marketplace.digitalocean.com/apps/openlitespeed-wordpress

I hope otherwise you’re finding the app useful and fast!

Hi

Updated result, if anyone is interested:
The developer saw the user’s ticket and fixed the issue on v1.4.46 a while ago. The fix enhances the cache module under heavy load. The user has confirmed that there is no longer a server load issue. If anyone else runs into the same issue, please upgrade to latest version with this command: apt-get -qq install --upgrade openlitespeed -y

Eric

You beat me to it. Also I don’t think these have hit apt yet as I have been unable to pull down 1.4.46 via apt.

On a side note I’m really happy to see that the litespeed team is so responsive.

  • Oops, you’re right, 1.4.46 still not on apt/rpm yet, developer still doing some tests, shouldn’t take too long.
    And thanks for your positive feedback ^ ^.

Just as a heads up 1.4.46 has hit the apt repos.

Have another answer? Share your knowledge.