Skip to content

fix(services): avoid loading bind-mount file contents#10960

Open
andrasbacsai wants to merge 4 commits into
nextfrom
compose-settings-memory-crash
Open

fix(services): avoid loading bind-mount file contents#10960
andrasbacsai wants to merge 4 commits into
nextfrom
compose-settings-memory-crash

Conversation

@andrasbacsai

Copy link
Copy Markdown
Member

Summary

  • Avoid reading regular bind-mounted files into memory when loading service settings, preventing crashes from large files.
  • Continue syncing Git-based file storage through the existing size-aware loading path.
  • Add regression coverage for filesystem volume synchronization.

Stop catting remote file contents into memory for non-git bind mounts in
getFilesystemVolumesFromServer; git-based volumes still load via
loadStorageOnServer().
Bound proxy config, docker compose, scheduled task, log viewer, and
dynamic proxy config reads so large remote output cannot overwhelm PHP.
Truncate GetLogs against raw byte length, then strip ANSI colors.
Run scheduled-task docker exec with explicit sudo docker and no_sudo
to avoid double sudo rewriting on non-root servers. Mark git-based
file volumes as files before refreshing content from the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant