-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in coolwsd #176
Comments
seem to have an similar problem It now uses around 37% of the memory, but i can see it rises over the last day, had this curve over the last two weeks. |
After a week, I can also say that richdocumentscode 21.11.306 is affected the very same way unfortunately. It seems that the service starts to not respond way before OOM-killer finds it, so this issue definitely causes outage in the service. My only workaround for this is to automatically restart the service every night. |
Version 21.11.402 is affected the same way. |
Same thing here with NextCloud 24.0.1, Nextcloud Office 6.1.1, Collabora Online - Built-in CODE Server 22.5.401. The memory usage of So after only 5 days 37 GB are used in total. The total memory usage of the server is back to 2 GB after a restart of apache. |
Reporting similar behaviour with: richdocuments 6.2.1 Running Nextcloud 24.0.6 with 4GB of RAM. Ubuntu 20.04.5 LTS
|
with one month stops working in 6 GB virtual machine, definitely a memory leak is there, I am using 22.05.8.2, it was not that bad in previous versions. Put some restarts into crontab. |
Same problem here, but just with the collabora server from the nextcloud app store. |
Which version you @NetBLOKS run of collarbora (docker?) and what nc version, was well as setup procedure , using nginx php-fpm ? |
Which version you @NetBLOKS run of collarbora -> App Store Version (Collabora Online - Built-in CODE Server) and what nc version (Happens in 24, and 25. got latest 25.0.4), was well as setup procedure (Manual Install, Debian 11, Apache, PHP7.4-FPM) |
Can confirm this is still an issue on the following stack: Ubuntu 24.04 LTS |
Nextcloud version:29.0.4.1
Since Upgrading to Nextcloud 29.0.4.1 and upgrade PHP 8.2 to PHP 8.3 - Nextcloud Server is almost crashing, because 32G /tmp/systemd-private-4c513a85a5cb462b92e805310c385d9e-php-fpm.service-r9PDnv/tmp/coolwsd.LNJU02GnN5/jails/18443-d61991e6 After restarting PHP-FPM Service the files were removed from /tmp directory. Here you see, that "coolwsd" is eating all the space from /tmp dir of the server in a short time: 2024.08.04 03:15:02 - Space ok 18% /dev/mapper/server-root --Mount-- / Also the memory on the serveris decreasing and decraesing ==> See also those errors in php-fpm.log ==> PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /var/www/html/nextcloud/apps/richdocumentscode/proxy.php:398 Workaround:
|
restart apache does solve the issue temporarely .. after a short while .. collwsd will write about 5-10GB per hour .. This is a big issue, which affects the server stability |
@Githopp192 This issue is about a memory link, not disk space / |
I am using
This is a server with around 50-100 active users.
Problem:
After around 5 days of continuous running,
coolwsd
process has a 30GB of resident memory taken and it is not releasing it. By this time, Collabora Office is either totally unresponsive (no documents are opened) or a document is opened but after 10 seconds, it says "connection to server lost" and kicks you out back to the folders. According to the logs, the 75% of RAM taken alert was already released a day before, so the memory consumption of coolwsd steadily rises over time. At the end, the OS OOM killer is triggered which kills the whole apache process tree as the originator of the coolwsd process. This last action also kills all other NC services, but Collabora is unusable well a day before the actual kill takes place.The above happens regularly with 204. It did not happen with previous releases. I have just upgraded to 306. We will see how it performs. I guess there should be a memory leak somewhere in coolwsd. It is important to note that coolwsd process shows increased memory consumption, not other apache-related processes, nor the CollaboraOnline... process.
The text was updated successfully, but these errors were encountered: