Mediawiki 1.33.1 on a late 2012 Mac Mini Server running Yosemite (10.10.5) using Server Internal Apache Version 2.4.16, PHP 7.2.21, MySQL 5.6.22
I have been successfully running for 4 months now as per the above. All is fine, except for regular but unpredictable behaviour of my server becoming unresponsive, requiring a hard reboot of the server to get access once again.
Symptoms at failure point:
- Browser becomes unresponsive and progress bar stalls
- Closing/reopening browser does not seem to help
- Same behaviour from all access points (tried phone, or another computer) so it appears server related
- Other web installations on the same server such as Piwigo, Webtrees and Avideo continue to work fine
FYI - I am the only user of the server (it is private) so the server load is low.
Debug attempts so far:
- Enabled as much logging as I could understand, but logs do not show any entries
- Checked: error_log, access_log, php_errors.log
- Have experimented with Caching scheme, the following seems to be the most stable:
$wgMainCacheType = CACHE_DB;
$wgSessionsInObjectCache = true;
$wgSessionCacheType = CACHE_DB;
#$wgObjectCacheSessionExpiry = 3600; (so disabled)
$wgParserCacheType = CACHE_DB;
- Tried Chrome/Firefox in addition to Safari with same results
- Tried emptying Browser Cache with no effect
- Tried php maintenance/update.php
before reboot with no effect
Clue? Hunch?:
- Previously I had $wgObjectCacheSessionExpiry
enabled and the problem would occur at expiry time if the server stayed responsive long enough to reach the Expiry time
Could it be related?
Questions:
- Are there any specific debug actions I could take to collect relevant information?
- I don't fully understand the different caching schemes, so I would guess that what I have configured is not optimal. Any recommendations?
- It seems relevant that my other web installations work fine without interruptions, Avideo is PHP based so it seems there is something specific to Mediawiki that is problematic with my setup and I am reluctant to change my PHP installation unless necessary. I could provide any/all LocalSettings.php values as needed. Please suggest any that could help.
- Is there a way to reboot/restart Mediawiki without a hard reset/power cycling of my server?
Thank you,
Gregg