Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Increase Loading Speed and Reliability

Scheduled Pinned Locked Moved Nextcloud
11 Posts 3 Posters 251 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote on last edited by
    #1

    I am running on aws with 4 vcpu and 8 MB RAM with only core and essential addons including Nextcloud Office with Collabora, and so far we only have like 6 users registered to use nextcloud since we still feel like there's a an issue with loading speed for whole UI, and sometimes the nextcloud office not loaded smoothly

    Can anyone share experiences on using nextcloud, and maybe there's tips on how to make it more reliable

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #2

    @firmansi I would try two things:

    • Bump the memory limit of the app to say 2-3GB or so.
    • Adjust apache prefork configuration as you see fit. It's in /app/data/apache which you can edit using the File manager. Specifically you can bump up MaxRequestWorkers to a higher number say 50 or so.
    <IfModule mpm_prefork_module>
        # On startup, start these many servers
        StartServers    2
    
        # At any given time, keep atleast these many servers
        MinSpareServers 2
    
        # At any given time, keep atmost these many idle servers (this is always >= MinSpareServers+1)
        MaxSpareServers 3
    
        # Maximum number of servers at any given instant. Requests will be queued after this
        MaxRequestWorkers     15
    
        # Recycle process after handling these many requests. This protected against accidental memory leaks
        MaxConnectionsPerChild   100
    </IfModule>
    
    1 Reply Last reply
    4
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by
    #3

    The difference is day and night! I might have gone overboard with the values, but it's on my homeserver so it should handle it just fine.

    <IfModule mpm_prefork_module>
        # On startup, start these many servers
    	StartServers	10
    
        # At any given time, keep atleast these many servers
    	MinSpareServers	10
    
        # At any given time, keep atmost these many idle servers (this is always >= MinSpareServers+1)
    	MaxSpareServers 20
    
        # Maximum number of servers at any given instant. Requests will be queued after this
    	MaxRequestWorkers	  95
    
        # Recycle process after handling these many requests. This protected against accidental memory leaks
    	MaxConnectionsPerChild   200
    </IfModule>
    
    1 Reply Last reply
    2
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote on last edited by
    #4

    Thanks @girish for the input, how about collabora office, is there any optimization needed? and also reddis cache, is there any tips on how to set the memory size to sizing with nextcloud usage?

    girishG 1 Reply Last reply
    1
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote on last edited by
    #5

    @humptydumpty what's your server spec for this configuration? will the spec have impact on apache configuration?

    1 Reply Last reply
    0
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by
    #6

    I5-6500T and 8GB RAM. Idk about the impact on apache but the resource usage look the same in the graphs.

    1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to firmansi on last edited by girish
    #7

    @firmansi AFAIK, collabora office has no specific settings to optimize.

    Turns out there are a bunch of settings. If you see https://github.com/CollaboraOnline/online/blob/master/coolwsd.xml.in , there is num_prespawn_children and also max_concurrency. Maybe you can play with those settings a bit. On Cloudron, this file is in /app/data/coolwsd.xml .

    firmansiF 1 Reply Last reply
    2
  • firmansiF Offline
    firmansiF Offline
    firmansi
    replied to girish on last edited by
    #8

    @girish thanks...i will try to put this on play and see how things going

    1 Reply Last reply
    1
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote last edited by
    #9

    After trying this and that, i finally uninstall collabora and deactivate nextcloud office, the loading time is not that good even after optimization, we stick to use nextcloud as storage and document management without office capabilities

    girishG 1 Reply Last reply
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to firmansi last edited by
    #10

    @firmansi have you tried onlyoffice as well? that one also has office integration.

    1 Reply Last reply
    0
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote last edited by firmansi
    #11

    After trying Onlyoffice Docs for the the last 15 days, i can say onlyoffice is better than Collabora, it runs and loads faster than collabora with the same machine specification and number of users, now i turn back on the nextcloud office with onlyoffice ,i can say this solution is more reliable than collabora office which is slow and failing most of the time

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks