How much server resources does NodeBB consume?

Technical Support
  • Hello to everyone.

    I am thinking of moving a forum with 250K users to NodeBB. The subject I wonder is this. What should I prefer for a forum with 1.5K - 2K instantly and sometimes more users and about 5K posts per day? What happens to nodebb's resource consumption in a forum like this? database size about 10 GB

    Thank you.

  • Hey @flarum-türkiye are planning to use Cloud-Infrastructure?

    This really depends on the time each user spends on your site.
    An EC2 m4-medium in AWS with about 18K Users spending 15min each day is about 100$ per month.
    The MongoDB cloud with 25GB is 25$ per Month.


Suggested Topics


  • 0 Votes
    11 Posts
    437 Views

    @josef
    far fa-pencil-ruler is a paid icon (the solid version is free). Free parts of the regular pack work just fine - see https://fontawesome.com/v5/search?m=free&s=regular for a list of them. It's much more limited than the solid free pack though (151 icons vs 1001), so that's probably why you ran into this problem so easily.

    The only issue that you might run into if you're using a version before v2.2.0 is that fab class conflicts with another class in Persona theme turning all brand icons into action buttons, but this is resolved in current versions of Persona.

    If you have a paid version of FA5 it should be fairly simple to use it instead - you'd need to replace the FA files in public/vendor/fontawesome with the new ones, set fa-font-path to vendor/fontawesome/webfonts in _variables.less and import the light and duotone less files in src/meta/css.js.

    Also, I wanted to add that FA6 is slated to be added in NodeBB 3.0 (it's waiting until a major release since icon style being changed is possibly breaking) https://github.com/NodeBB/NodeBB/pull/10701

  • 0 Votes
    12 Posts
    1k Views
  • 0 Votes
    1 Posts
    499 Views

    Hello,

    I am attempting to use the nodebb-plugin-sso-oauth plugin to implement SSO with CAS into my forum.

    We are based on Apereo CAS.

    My CAS is using Oauth2. I have POST methods with urls for request code (authorization), request access token, and request profile.

    I have installed the plugin and set up nconf to use my constants.

    I activated the plugin and refreshed my nodebb forum.

    It is now crashing upon starting and I get the following error.

    24/7 00:37:39 [29650] - error: message=Cannot read property 'length' of undefined, stack=TypeError: Cannot read property 'length' of undefined
    at pathtoRegexp (/root/nodebb/node_modules/path-to-regexp/index.js:63:49)
    at new Layer (/root/nodebb/node_modules/express/lib/router/layer.js:45:17)
    at Function.use (/root/nodebb/node_modules/express/lib/router/index.js:464:17)
    at Function.<anonymous> (/root/nodebb/node_modules/express/lib/application.js:220:21)
    at Array.forEach (<anonymous>)
    at Function.use (/root/nodebb/node_modules/express/lib/application.js:217:7)
    at module.exports (/root/nodebb/src/routes/index.js:139:7)
    at /root/nodebb/src/webserver.js:99:4
    at fn (/root/nodebb/node_modules/async/lib/async.js:746:34)
    at /root/nodebb/node_modules/async/lib/async.js:1213:16
    at /root/nodebb/node_modules/async/lib/async.js:166:37
    at /root/nodebb/node_modules/async/lib/async.js:706:43
    at /root/nodebb/node_modules/async/lib/async.js:167:37
    at Immediate._onImmediate (/root/nodebb/node_modules/async/lib/async.js:1206:34)
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)

    My guess is that for some reason, path is being passed as undefined.

    I am stuck and in need of help.

    Please provide feedback or recommendations for how I can implement CAS Single Sign On into my nodebb forum.

    Thank you,
    Abraham

  • 0 Votes
    17 Posts
    2k Views

    @PitaJ said in Issue installing NodeBB on Centos 7:

    @scottalanmiller running any ./nodebb command as root is not supported. You should install and run NodeBB as an unprivileged user.

    Doh. Obviously. Thanks, having a brainfart from lack of sleep.

  • 0 Votes
    14 Posts
    4k Views

    Cool 😉

    I only got one, but that is better than nothing right 😛