Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Turris OS packages Turris OS packages
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 98
    • Issues 98
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • Turris OS
  • Turris OS packagesTurris OS packages
  • Merge requests
  • !802

nextcloud: prevent out of memory on big files upload/downloads

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Karel Koci requested to merge hotfix/nextcloud-lighttpd-oom into master Sep 03, 2021
  • Overview 10
  • Commits 1
  • Pipelines 0
  • Changes 2

This should prevent issues with out of memory state when uploading or downloading big files. The Lighttpd stores request to temporally file (in default in /var/tmp) which on OpenWrt is to RAM and thus it can trigger out of memory case. This instead uses directory in nextcloud's own root. The path should be mounted on external storage using storage plugin but this change makes it even more essential that is is the case.

Reference to the original suggestion: #665 (comment 225881)

Fixes #665 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hotfix/nextcloud-lighttpd-oom