It lasts a minute and then everything works again. My host says nothing is wrong.
"Database connection lost" appears a few times a day
8 answers
Ask your host for the value of wait_timeout and max_connections. A short wait_timeout closes idle connections, and a spike in traffic (or a heavy cron job) can use up all connections. Two things on your side help:
- Turn on persistent connections off (they can pile up) and keep the page cache on.
- Move heavy scheduled tasks away from peak hours.
If it only happens at the same minute every hour, look at the scheduled tasks screen.
If your host has a PHP error log, look there as well. The Lumen log only shows what Lumen caught.
Does it happen for every user or only when you are logged in as admin?
I had the same on 2.3 and it went away after updating the theme. Which theme are you using?
+1, I see it too since the last update. @demo-sam, is this known?
Thank you all. It was a plugin conflict. I disabled it and everything is fine again.
If your host has a PHP error log, look there as well. The Lumen log only shows what Lumen caught.
Good idea. Also disable all plugins once, to rule them out.
This sounds like a memory limit. Raise memory_limit to 256M for a test and see.
Small addition: after changing this, clear the cache once.