Nextcloud 15.0.12 Apache crashes after short period of time

Details to our enviroment:
Nextcloud version 15.0.12
OS Ubuntu 16.04 LTS
Apache 2.4
PHP version 7.0.1

what i’ve done :
-Our first issue was that the opcache ran in to several errors
-Then we upgraded the nc version from 14 to 15 after that we enabled opcache and everything went fine for the moment
-Because of the downtime we get many sync requests via Nextcloud Client , which crashes the apache (to many workers)
-we increased the number of workers via several fixes which are provided on this platform
now we are stuck, because the apache is also crashing

Other Probblemes we are facing in the nc enviroment:
‘’’
Backends provided no user object for XUSERNAMEX
‘’’

‘’’
Fatal webdav Sabre\DAV\Exception\InsufficientStorage: Insufficient space in /XXX, 11432296 required, 0 available

/var/www/nextcloud/apps/dav/lib/Connector/Sabre/QuotaPlugin.php - line 136:

OCA\DAV\Connector\Sabre\QuotaPlugin->checkQuota("/XXX", 11432296)

<<closure>>

OCA\DAV\Connector\Sabre\QuotaPlugin->beforeMove("uploads/xxx", "files/xxx")

/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

call_user_func_array([ OCA\DAV\Co ... "], [ "uploads/xxx "])

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 633:

Sabre\Event\EventEmitter->emit("beforeMove", [ "uploads/xxx "])

<<closure>>

Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})

/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

call_user_func_array([ Sabre\DAV\ ... "], [ Sabre\HTTP ... }])

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:

Sabre\Event\EventEmitter->emit("method:MOVE", [ Sabre\HTTP ... }])

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

Sabre\DAV\Server->invokeMethod(Sabre\HTTP\xxx "}, Sabre\HTTP\Response {})

/var/www/nextcloud/apps/dav/lib/Server.php - line 301:

Sabre\DAV\Server->exec()

/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

OCA\DAV\Server->exec()

/var/www/nextcloud/remote.php - line 163:

require_once("/var/www/xxx")

‘’’

‘’’
[no app in context] Error: OCP\Lock\LockedException: “files/xxx” is locked at <>

  1. /var/www/nextcloud/lib/private/Files/Storage/Common.php line 778
    changeLock(“files/xxx”, 2)
  2. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 615
    changeLock("/files/xxx", 2, OC\Lock\DBLockingProvider {})
  3. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 615
    changeLock("/files/XXX, 2, OC\Lock\DBLockingProvider {})
  4. /var/www/nextcloud/apps/files_sharing/lib/SharedStorage.php line 455
    changeLock("/files/XXX", 2, OC\Lock\DBLockingProvider {})
  5. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 615
    changeLock(“XXX”, 2, OC\Lock\DBLockingProvider {})
  6. /var/www/nextcloud/lib/private/Files/View.php line 1973
    changeLock(“XXX”, 2, OC\Lock\DBLockingProvider {})
  7. /var/www/nextcloud/lib/private/Files/View.php line 1144
    changeLock("/XXX", 2)
  8. /var/www/nextcloud/lib/private/Files/View.php line 349
    basicOperation(“rmdir”, “/XXX”, [“delete”])
  9. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 312
    rmdir("/XXX")
  10. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php line 179
    delete()
  11. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 287
    delete(“files/XXX”)
  12. <>
    httpDelete(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {})
  13. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    call_user_func_array([Sabre\DAV\CorePlugin {},“httpDelete”], [Sabre\HTTP\Requ … }])
  14. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    emit(“method:DELETE”, [Sabre\HTTP\Requ … }])
  15. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    invokeMethod(Sabre\HTTP\Reque … "}, Sabre\HTTP\Response {})
  16. /var/www/nextcloud/apps/dav/lib/Server.php line 301
    exec()
  17. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    exec()
  18. /var/www/nextcloud/remote.php line 163
    require_once("/var/www/xxx")

DELETE /remote.php/dav/files/XXX
from xxx at 2019-11-13T15:28:09+00:00
‘’’

could some one pls support me to get this nc running again :open_mouth: ?

Did you check if your disk is full (of this specified path)?

You have to find the right balance. There are certainly some limitations by your system how many connections you can handle. If it is too much, you can as well reduce the number of connections per IP.