Apache hangs/crash while running OwnCloud 8.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-apcu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Upgraded to OwnCloud 8.0.0, every few hours apache and all sites becomes inaccessible. The apache service is running and I don't see any errors in the apache log or the system logs.
See https:/
This is running on ubuntu 14.04. This was running with no issues on Owncloud 7.
When I try to access any site it just sits like the page is loading but never loads. It will sit there like that until I close the browser. No error or connection timeout.
The solution was to purge php5-apcu from the system and restart apache.
While there might be bugs in OwnCloud, no php website should ever be able to hang/crash the whole apache process, and it seems that there is an issue with apcu.
I've been having the same issue and am now waiting to see if purging php5-apcu helps.
When apache stops responding, it has maxed out on threads and I get this message in error.log:
[mpm_prefork:error] [pid 7628] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
I also have seen a apc related error: AutoloaderOC_ User_Interface' was on gc-list for 3602 seconds in /var/www/ owncloud/ lib/private/ memcache/ apc.php on line 21
PHP Warning: apc_store(): GC cache entry 'oc558dd98d33/
Killing a few threads allowed me to get to /server-status on the server which showed the threads were all in "Sending Reply" states responding to owncloud/status.php requests.