Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

>15 minutes downtime whenever anything changes

apache

Started by jeremycherfas 4 days ago · 2 replies · 80 views
4 days ago

First off, Grav 2.0 is really great, fast and snappy and the new admin page is much more useful.

The problem is, whenever I update anything at all -- a new page, the core, a plugin -- my site becomes unresponsive for 15 minutes or more. It is hosted by Hetzner on a managed server and when it is up responds quickly.

I don't know where to start looking to troubleshoot. Hetzner blames Grav for rebuilding caches, and maybe it is that. The Grav logs show critical errors

Maximum execution time of 240 seconds exceeded. Trace: #0 [internal function]: Grav\Common\Errors\Errors::{closure:Grav\Common\Errors\Errors::resetHandlers():70}() #1 {main}

What I find odd is that these critical errors are less than 240 seconds apart. There can be 2 or 3 such critical errors every minute for 15 minutes or more, and then the suddenly resolves itself.

It is as if Grav keeps trying to do something despite running out of time repeatedly. Caching is on and the Cache Check Interval is set to 2 seconds.

All ideas as to how I can fix the problem gratefully received.

Thanks

Jeremy

last edited 09/11/26 by jeremycherfas
13 hours ago

Don't think you're an idiot... I guess nobody will select a section, but will instead pick 'New posts'. Hence 60 members have read the post, which is average.

This question might be to specific for members to answer and there is too little information (eg. number of pages, images, etc). The lead developer is more active on github and discord. You might want to create an issue on Github to get the attention of the lead developer.

Suggested topics

Topic Participants Replies Views Activity
General · by Old Man Umby, 2 days ago
1 56 2 days ago
General · by Sebastian, 4 days ago
1 79 4 days ago
General · by Andy Miller, 2 weeks ago
0 215 2 weeks ago
General · by ready-4-IT, 6 months ago
1 715 3 weeks ago
General · by jean-louis67, 1 month ago
2 451 1 month ago