What exactly is Document Server 20 connection limit?

Hello, I found following link:-

My question is what is this limitation exactly? Can only 20 people use document editing on 1 single document or is it for the whole portal’s only 20 people editing even if they are editing 20 different documents?

It is very ambiguous to me even after reading this article and couldn’t understand from Official website as well

Hello @OnlyOfficeTester
First of all, the actual comparative table of different editions is here: https://www.onlyoffice.com/compare-editions.aspx
As you can see, we use ‘Simultaneous connections’ term to define opportunities of Document server. For open-source solution it’s limited to 20 connections.
Let me explain in details. When user A opens file for editing, an editing session is started. During this session all changes which user A has been made are located in database and cache. Other users can join the editing session and all of them can work with file at the same time.
So, simultaneous connections are connections to editing session in general. In the simple words, it’s a browser tab with the editor.
For example, 20 simultaneous connections can be:

  • user A opened 1 file in 20 browsers\browser tabs
  • user A opened 20 different files (each file once)
  • user A and B opened 10 files each (so the sum is 20)
  • 20 users opened the same file once (each user used 1 browser tab with file)
    *etc.

So when we talk about simultaneous connections, the number of users or files doesn’t matter. As you can see it can be different combinations of the number of users and files. But Document server counts simultaneous connections (each opened browser tab with file for editing).
All information above is related to open-source Document server.

1 Like

I am still confused

1 user opened 20 different files for editing. Now all of the portal users cannot edit their documents, even if those are not what user A is editing?

Same or different files?

So if 20 users open different files at same time, there won’t be any issues?

I want to have a very clear understanding on this limit, since it determines what scale of enterprise version we need.

In case of open-source Document server, you’re right. Keep in mind the simpler rule, 1 opened browser tab for editing = 1 simultaneous connection.

Same or different files?

It doesn’t matter. Open-source Document server counts connections, not files. Users A and B can open same files or different ones. But they open browser tabs with editor.

So if 20 users open different files at same time, there won’t be any issues?

If each of them opens only one file, yes, there aren’t any issues. Because the sum of all opened connections is 20.

I want to have a very clear understanding on this limit, since it determines what scale of enterprise version we need.

You can contact colleagues of mine from Sales department via sales@onlyoffice.com. I believe they will help you with license questions.

Okay, Thanks

Hi
i read here : User connection limitation on Onlyoffice Groups CE and Onlyoffice Docs CE

that the limitation is 20 people opening the SAME document at once, the 21st opens it in read-only mode.

Not correct ?

Hello @punkyard

that the limitation is 20 people opening the SAME document at once, the 21st opens it in read-only mode.

This is correct statement. As it is described in this thread and your mentioned one, Document server counts each browser tab as 1 simultaneous connection. It doesn’t matter if 20 users opened 20 different files or one user opened one file in 20 browser tabs. The Document server CE limitation is 20 simultaneous connections (20 browser tabs with files). The 21th user will open a file in read-only mode.

… that’s very desappointing for an open source called project

what is the time of staying in edit connection? I mean if someone (any of the 20s) forgot to close the tab and doing nothing, would it be kicked out automatically? or there is a super admin could check every connections “login” time?

Hello @netswift
it is controlled by ‘sessionidle’ and ‘sessionabsolute’ parameters in the default.json config file:
https://helpcenter.onlyoffice.com/installation/docs-developer-configuring.aspx#:~:text=services.CoAuthoring.expire.sessionidle
You can change them, default value for session inactivity is one hour.

@punkyard,
Sorry for inconvenience.
As the open-source project, the entire Document server code is available on GitHub: ONLYOFFICE · GitHub
However, I’m not sure that I am the right person for discussion Document server limitation questions. If you have any suggestions\ideas for licensing or limitation questions, please contact colleagues of mine via sales@onlyoffice.com