The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
I finally got nextcloud installed on my synology NAS and it works for 99%. One thing bugs me tough. My NAS has a processor with only two cores and when I open a document I get a reminder that I need to change my processor count.
I am just a user and not a software engineer and none of the instructions helped me to solve this problem. I know what I have to do, but not how to do it.
The instructions I read are also very unsafe. I think things like processor concurrency should be set at installation and be determand in this procedure. If this can’t be done you should be able to set it in the yaml file.
The default processor count of nextcloud aio is 4. My machine has 2. So I would like to change that. I already found out I have te change a file coolwsd.xml, but that is at best a workaround and no solution. (apart from the fact that I can´t find the file and don´t know how to change it)
My question is: Is there a command I can enter in the yaml file where is can set this parameter. Something like the parameter “COLLABORA_SECCOMP_DISABLED: true” I had to add to get my collabora to function.
I tried adding the line –o:per_document.max_concurrency=2 In the field for the extra options. It had no effect so I asume I am doing something wrong here.
Your Celeron J3355 is a low-end, power-efficient CPU, adequate for simple tasks, but not a performance machine.
Compared to modern CPUs, it is quite weak. Performance is closer to a mid-range smartphone SoC from ~2017 or an old Intel Core 2 Duo, fine for lightweight server tasks (NAS, Pi-hole, small database, basic web browsing) but it’s not suitable for more heavy computation like Collabora Online.
There’s nothing you can do about it. The “warning” is a message telling you that your server’s performance is simply too weak for a high-performance Collabora Online Server. You can’t simply solve this by increasing the number of virtual processors as you’re imagining. For that, you need a more powerful server, meaning truly more powerful hardware. It’s a miracle that your AIO even works on such weak hardware and that documents can even be opened and edited in Nextcloud Office!
On the other hand, you have the advantage of an extremely low power consumption of 10W!
You can simply dismiss the message as information if everything still works for your purposes, but truly high-performance tasks, where multiple users work simultaneously on the Collabora Online Server, aren’t possible. The hardware is simply not sufficient for that.
The setting we are talking about (per_document.max_concurrency) determines how many threads can be used when accessing and processing files. If the system has less logical threads than the given number the warning is shown. We just want to tell Collabora that there are less than 4 threads available, but Nextcloud AIO seemingly does not pass the argument over to the Collabora docker instance it creates.
If you decrease the number, performance will suffer I guess, but in my case at least this does not matter as only I will be using my Collabora instance, so no concurrent file access by multiple people. Even one single thread would probably be enough for my use case.
Also, nobody in this thread was talking about increasing the number of virtual processors…
I’m afraid I have to disappoint you:
Even if you set
num_prespawn_children 1
(which, unlike the manual, defaults to 4 and not 1) and
per_document.max_concurrency 1
you will still get the warning.
This warning will only disappear once you have at least 4 actual hardware cores.
I’m sorry I mistook it that way. I just know that this message always appears when there are fewer than four cores and I thought you did know that as well. and was trying to solve it with virtual cores.
Thanks for your clarification. I know my server is weak. It is a compliment to the developers of nextcloud that it even works on this hardware. It takes some time to open a document in collabora, but when you’re in it works like a charm, even with four people simultanously.
A talk session with four people works also reasonably well if people don’t move to much.