• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

nodebb Watchdog

Scheduled Pinned Locked Moved NodeBB Development
4 Posts 3 Posters 348 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.
  • Jey-Cee 0J Offline
    Jey-Cee 0J Offline
    Jey-Cee 0
    wrote on last edited by
    #1

    Hey guys,

    we are getting problemes with the ram consumption of nodebb processes, now we are restarting nodebb weekly. That isnt a real problem, but a bit uncomfortable.
    So i decided to write a watchdog that is watching on the nodebb processes and their ram consumption. If a process hits a configuarable limit, the watchdog should stop the process and start a new one.

    Now my question: Is it possible to block a nodebb process for accepting new connetions? I want to prevent that the users are kicked when the process is stopped.

    Greetings
    Jey Cee

    1 Reply Last reply
    0
  • oplik0O Offline
    oplik0O Offline
    oplik0 Plugin & Theme Dev Community Rep
    wrote on last edited by
    #2

    Do you have Traffic Management module turned on? (admin/settings/advanced)
    Because it sounds like you want basically what it's supposed to do. I don't know how well does it work, because I haven't had any RAM problems regardless of it being turned on or off, but you might want to try tweaking its settings before making a custom solution.

    Jey-Cee 0J 1 Reply Last reply
    0
  • Jey-Cee 0J Offline
    Jey-Cee 0J Offline
    Jey-Cee 0
    replied to oplik0 on last edited by
    #3

    @oplik0 thank you for your answer. Traffic management is already on, because we saw a lot more 503 before this was on. Also we reduced the session time down to 3 days.

    A bit backround infos of the forum:
    I dont know if 400 up to 1500 connections permanent is massive for nodebb or not.
    We have around 1.2 million site calls per day.
    Our user base growing permanently since we have started our project back in 2015, actually 21400 users are registered. Per week 100+ new registrations actually, during Winter this rate will increase.
    The most of the users are from countrys with german language, but also english, dutch, russian and portuges are on our forum.

    1 Reply Last reply
    0
  • BriB Offline
    BriB Offline
    Bri Community Rep
    wrote on last edited by
    #4

    @scottalanmiller has done some great scaling of this platform, he may have some pointers

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development