When forum Get big big - Issues browsing forum with admin accounts. 503

Bug Reports
  • I recently successfully imported about Half million TOPICS = Posts in Nodebb Forum, As the nodebb forum goes bigger and Bigger these two very seviour issue start, can somebody tell me how to fix this.
    No errors were found on forum startup, It occurs in every version i tried. As the forum goes heavy these two common things happen This is related to my last post.

    • A single category having more than 50k topics start hanging, forum just frequently crashes, so i Devide the topics in two cats. It works okay till 30K. Removing the import plugin garbage also does not help.
    • IF so many topics are imported, more than 150K the Browsing forum with any admin account is immposible.

    Configuration of my server are
    8GB RAM + 8GB SWAP
    4 CPU'S
    MONGODB 3.2.7
    UBUNTU 14 64 BIT

    No errors were found on forum startup, It occurs in every version i tried.
    @julian @a_5mith @psychobunny @baris @pichalite @yariplus @PitaJ Please look at this issue.

  • @Pramvir-Rathee are you running with multiple threads? Do you have a reverse proxy? Are you delivering static assets with the reverse proxy?

  • @PitaJ
    I use nginx just according to the documentation, its a fresh nodebb install from The documents, Brwsing with public/no admin accounts is fast, but with admin accounts it does not work, if click the admin tools under the topic, it gives error 503.

  • Does the forum logs give an error when it crashes?

    Do you have mongo and nginx logs on?

    There should be some useful information in one of the logs as to what is happening.


Suggested Topics


  • 0 Votes
    1 Posts
    1k Views

    Hello.

    I know this was asked so much times on the forum, but I've actually a problem since I use the NodeJS build from Openshift. I saw everywhere that I had to change the nginx configuration file, but I don't how to achieve that with my current configuration.
    I tried to install nginx, but it failed to resolve the issue.

    So, I was thinking that someone found a fix or a way to edit nginx configuration with Openshift.

    Thank you for your attention,
    Best regards.

  • 0 Votes
    6 Posts
    3k Views

    @julian
    good to know this useful information, I checked on mine (not changed any redis db config when installed nodebb) so in doubt I checked, here the log file, sounds to works fine and default are

    save 900 1 save 300 10 save 60 10000

    and logs

    [574] 17 Sep 20:02:36.228 * Background saving terminated with success [574] 17 Sep 20:07:37.008 * 10 changes in 300 seconds. Saving... [574] 17 Sep 20:07:37.009 * Background saving started by pid 16535 [16535] 17 Sep 20:07:37.196 * DB saved on disk [16535] 17 Sep 20:07:37.197 * RDB: 0 MB of memory used by copy-on-write [574] 17 Sep 20:07:37.210 * Background saving terminated with success [574] 17 Sep 20:12:38.037 * 10 changes in 300 seconds. Saving... [574] 17 Sep 20:12:38.039 * Background saving started by pid 16538 [16538] 17 Sep 20:12:38.227 * DB saved on disk [16538] 17 Sep 20:12:38.228 * RDB: 1 MB of memory used by copy-on-write [574] 17 Sep 20:12:38.239 * Background saving terminated with success [574] 17 Sep 20:17:39.093 * 10 changes in 300 seconds. Saving... [574] 17 Sep 20:17:39.094 * Background saving started by pid 16543 [16543] 17 Sep 20:17:39.308 * DB saved on disk [16543] 17 Sep 20:17:39.310 * RDB: 0 MB of memory used by copy-on-write [574] 17 Sep 20:17:39.395 * Background saving terminated with success [574] 17 Sep 20:22:40.096 * 10 changes in 300 seconds. Saving... [574] 17 Sep 20:22:40.097 * Background saving started by pid 16550 [16550] 17 Sep 20:22:40.276 * DB saved on disk [16550] 17 Sep 20:22:40.277 * RDB: 0 MB of memory used by copy-on-write [574] 17 Sep 20:22:40.298 * Background saving terminated with success
  • 0 Votes
    4 Posts
    2k Views

    As @pitaj mentions, invoking sudo with NodeBB is bound to bring you trouble 😄 -- no need for superuser privileges for NodeBB, and I'm thinking of having NodeBB run as the nobody user, if possible...

  • 0 Votes
    25 Posts
    9k Views

    Thanks again, mate!

  • Forum Stats CSS Issue

    Bug Reports
    19
    0 Votes
    19 Posts
    4k Views

    @baris Hi Baris,

    Forum Stats widget causes the forum to shake on mobile/ipad... This affects the opening of settings/chats windows badly, FYI...

    Streamable

    favicon

    (streamable.com)