Git Product home page Git Product logo

Comments (9)

husisusi avatar husisusi commented on July 21, 2024

I don know.
Please let me know if -1 works

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on July 21, 2024

Here the results:
Compiling with 0 you can open several files.
Compiling with -1 you can open several files.
Compiling with 9999 you can open several files. πŸ˜„

On each one the Admin console is no longer working.
It shows 0MB, 0 documents,etc.

Do you have the same behavior?

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on July 21, 2024

If you wanna test it yourself.
Please by pm send me your domain so i enable it.
Mention what option you'll like to test.

It will be up for a day or two.
See you.

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

Hello Ark74.
Just to be safe, does the admin console works with the default values ?
We need to look deeper in the loolwsd doc/code to properly setup the compilation options.
Regards.

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

Just looked in the configure.ac and the wsd code.
seems to be hard coded in the websocket deamon with some rules over the value:

  • must be positive
  • maxdoc can't be greater than maxcon
  • minimums are 3 for maxcon and 2 for max doc (auto applied during configuration)
  • defaults are 20 maxcon & 10 maxdoc

I also looked over google with "websocket max connections" and saw a variety of questions and articles about WebSocket limitations.
As it works over TCP, there's a barrier of 64K connection, but i'm not even sure a WS engine could support all those connections. (some reports about 10k)

So, as I understand your frustration about having a limitation, this seems to be intentionnal both because of tech limitation and ressource management. (as unlimited connections will lead to unlimited ressource consumption and eventually to ressource shortage issues )

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on July 21, 2024

Oh, that! is interesting.
Yeah, i believe the hard limit will be hardware resources, so i see very difficult to reach technical limitations.
Anyway thanks.
I can't confirm if admin is working with default values, sorry.

from officeonlin-install.sh.

husisusi avatar husisusi commented on July 21, 2024

I confirm, admin is working with default values.

from officeonlin-install.sh.

husisusi avatar husisusi commented on July 21, 2024

@Ark74,
You reported false information. :|

  1. Admin console working with 0 an -1, but you just need to empty your Browser Cache.
  2. With 0 and -1 you can just open 10 Docs
  3. I test it with 999 and it working properly. (Tested with 50 Docs)

I just lost my time with this...

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on July 21, 2024

I just lost my time with this...

You didn't need to lost any time, i said.

If you wanna test it yourself.
Please by pm send me your domain so i enable it.

Cheers.

from officeonlin-install.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.