No description
Find a file
Ashod Nakashian 373c04fe4e wsd: admin: use the cgroup limit as available memory
This applies the cgroup memory limit, if set,
such that if it is lower than the configured
memproportion percentage, we do not exceed it.
Otherwise, we risk running out of our cgroup
limit and by then it is too late to do anything
but die due to OOM.

This also moves the logging of the cgroup memory
stats from COOLWSD into Admin, to avoid duplicate
logging.

Also updated the description of memproportion
config entry to account for the cgroup logic.

Change-Id: I870ae61c1260eb2b3275bd2fa1a4c48ff30957a2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-12-30 10:36:44 +00:00
.git-hooks
.github helm: push chart to github container registry with 2023-12-20 17:00:38 +05:30
.gitpod-files Gitpod: update defaults in coolwsd-gitpod.xml 2023-11-15 15:28:48 +01:00
android extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
browser Debug menu improvements 2023-12-28 13:26:19 -05:00
common use isKitInProcess() instead of KIT_IN_PROCESS 2023-12-18 10:34:10 +00:00
cypress_test Replace cy.cGet with cy.getFrame in document load 2023-12-28 14:58:06 +03:00
debian Bump version to 23.05.6.4 2023-12-20 09:19:07 +01:00
docker docker: added a few labels 2023-11-16 11:13:57 +01:00
etc
fuzzer wsd: check for nullptr channel in AdminSocketHandler 2023-12-01 15:35:39 +00:00
gtk extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
indexing
ios extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
kit Changes for handling readonly mode click events: 2023-12-27 09:24:28 +03:00
kubernetes/helm Update Helm Chart with new release 23.05.6.4 2023-12-21 00:44:23 +01:00
man
net spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
scripts wsd: test: better run_unit.sh 2023-10-24 09:20:32 +02:00
test wsd: do not remove quarantine files explicitly 2023-12-27 06:10:17 -05:00
tools spdx: improve machine and human readability of headers. 2023-11-20 14:30:02 +00:00
wasm extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
wsd wsd: admin: use the cgroup limit as available memory 2023-12-30 10:36:44 +00:00
.cirrus.yml
.clang-format
.clang-tidy
.gitignore extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
.gitpod.dockerfile
.gitpod.yml
.mailmap
AUTHORS
autogen.sh autogen: conditionally invoke configure at the end 2023-12-19 15:00:34 +01:00
browsersync-config.js
ChangeLog
CODE_OF_CONDUCT.md
config.h.in configure: WASMAPP is now defined for WASM targets 2023-12-09 19:22:24 +00:00
config_version.h.in
configure.ac Bump version to 23.05.6.4 2023-12-20 09:19:07 +01:00
CONTRIBUTING.md
coolkitconfig-mobile.xcu
coolkitconfig.xcu.in
coolwsd-systemplate-setup copy CA certificates to jail 2023-11-14 17:01:49 +00:00
coolwsd-welcome.xml
coolwsd.init.rhel6
coolwsd.service
coolwsd.spec.in rpm: BuildRequires - those python packages have different names on differenct OS versions 2023-11-06 12:07:33 +01:00
coolwsd.xml.in wsd: admin: use the cgroup limit as available memory 2023-12-30 10:36:44 +00:00
COPYING
discovery.xml
favicon.ico
g
jsstress.in
Makefile.am Make eslint in make check fail on eslint warnings 2023-12-19 20:25:43 +00:00
NEWS
PROBLEMS
README.CONTRIBUTING.md
README.FILENOTICES.md spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
README.md Readme: remove temporally the IRC in favor of matrix 2023-11-16 17:42:19 +01:00
SECURITY.md
trace-event.sample2.json

Open in Gitpod

Collabora Online

Master: Pull request policy

irc Telegram Forum Website L10n Gitpod Ready-to-Code

Your own private Office in the Cloud

Get in touch 💬

Key features

  • View and edit text documents, spreadsheets, presentations & more
  • Collaborative editing features
  • Works in any modern browser no plugin needed
  • Open Source primarily under the MPLv2 license. Some parts are under other open source licences, see e.g. browser/LICENSE.

Website

For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/

Developer assistance

Please ask your questions on any of the bridged Matrix/Telegram rooms

Join the conversation on our Discourse server at https://forum.collaboraonline.com/

Watch the tinderbox status (if it's green) at https://cpci.cbg.collabora.co.uk:8080/job/Tinderbox%20for%20online%20master%20against%20co-22.05/

Development bits

This project has several components:

  • wsd/
    • The Web Services Daemon - which accepts external connections
  • kit/
    • The client which lives in its own chroot and renders documents
  • common/
    • Shared code between these processes
  • browser/
    • The client side JavaScript component
  • test/
    • C++ based unit tests
  • cypress_test/
    • JavaScript based integration tests

Please consult the README files in the component's directory for more details:

iOS and Android apps

See the corresponding READMEs:

GitPod

Head over to https://collaboraonline.github.io/post/build-code/#build-code-on-gitpod and follow the steps.

Enjoy!