• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Ben Lubar
    • Profile
    • Following 0
    • Followers 2
    • Topics 1
    • Posts 18
    • Best 6
    • Controversial 0
    • Groups 3

    Ben Lubar

    @Ben Lubar

    Gamers

    12
    Reputation
    828
    Profile views
    18
    Posts
    2
    Followers
    0
    Following
    Joined Last Online
    Email [email protected] Website plus.google.com/+BenLubar Location Milwaukee, WI Age 28

    Ben Lubar Unfollow Follow
    GNU/Linux Gamers Plugin & Theme Dev

    Best posts made by Ben Lubar

    • RE: Best way to wipe and start over?

      @g0st docker exec -ti [mongo container name] mongo

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: Docker NodeBB v0.5

      I have this in my crontab:

      42 * * * * cd /home/ben/.nodebb-docker.git && git fetch -p origin > /dev/null 2> /dev/null && git push --mirror > /dev/null 2> /dev/null
      

      You can download the docker image from my repo: https://hub.docker.com/r/benlubar/nodebb/

      I documented the commands needed to set up the forum for my community here, but most of them should be pretty easy to adapt for any other community. Ignore the stuff about postgres unless you're importing from a forum that used postgres.

      posted in General Discussion
      Ben Lubar
      Ben Lubar
    • RE: Debugging nodejs app.js at 100%

      @exodo @sloosecannon It's this:

      https://github.com/boomzillawtf/tdwtf/blob/master/plugins/nodebb-plugin-tdwtf-customizations/index.js#L13
      https://github.com/boomzillawtf/tdwtf/blob/master/watchdog.bash

      posted in NodeBB Development
      Ben Lubar
      Ben Lubar
    • RE: Infinite loop

      Okay, strace showed both instances hanging after this:

      connect(85, {sa_family=AF_INET, sin_port=htons("[iframely port]"), sin_addr=inet_addr("[iframely IP]")}, 16) = -1 EINPROGRESS (Operation now in progress)
      

      I've blacklisted the forum's hostname from iframely. We'll see if that fixes it.

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • Infinite loop

      On what.thedailywtf.com, we've been having trouble with the NodeJS instances stopping handling requests and running at near 100% CPU usage until they are restarted. We run MongoDB for the main database, Redis for clustering support, and 2 NodeBB clustered instances (down from 4 due to this problem).

      At this point, I have no idea what could be causing the problem, other than that it started about a week ago. Is there some way to get a stack trace from a running NodeJS instance?

      There's no log output during the time the problem occurs. servercooties.com tracks our instance's uptime, so @accalia can probably pinpoint the times when the problem occurred.

      /cc @boomzilla @PJH

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: Upgrade "Refresh post-upload associations" in 1.9.x causes error

      Commenting out the fast path (these three lines) seems to be working so far (although extremely slowly).

      My instance would previously get killed at around 15% (there were a lot of posts from two forum softwares ago when pasting files into a forum wasn't a thing), but now it's at 90%. It's been about 4 hours since I started this attempt.

      posted in Technical Support
      Ben Lubar
      Ben Lubar

    Latest posts made by Ben Lubar

    • RE: Font Awesome Icons in Posts

      Here's our emoji pack for FontAwesome (yes, it's just the json file):

      https://github.com/boomzillawtf/tdwtf/blob/master/emoji/fontawesome.json

      posted in General Discussion
      Ben Lubar
      Ben Lubar
    • RE: Postgresql Integration

      @JJSagan said in Postgresql Integration:

      my_cool_db

      @JJSagan said in Postgresql Integration:

      MY_NEW_DATABASE

      Are these the same database or a different one?

      posted in Feature Requests
      Ben Lubar
      Ben Lubar
    • RE: Postgresql Integration

      @JJSagan said in Postgresql Integration:

      1. Run ./nodebb setup.

      You shouldn't need to do this step.

      posted in Feature Requests
      Ben Lubar
      Ben Lubar
    • RE: Postgresql Integration

      @jjsagan said in Postgresql Integration:

      Hi @julian,
      First allow me to thank you and the team for all the improvements made recently with 1.10+. As always you guys are amazing!
      Is there any chance to see @Ben-Lubar 's postgresql pull request integrated soon?
      Thank you!
      JJ.

      We are currently running the PR on https://what.thedailywtf.com/, and it's working without any new problems.

      posted in Feature Requests
      Ben Lubar
      Ben Lubar
    • RE: Upgrade "Refresh post-upload associations" in 1.9.x causes error

      Commenting out the fast path (these three lines) seems to be working so far (although extremely slowly).

      My instance would previously get killed at around 15% (there were a lot of posts from two forum softwares ago when pasting files into a forum wasn't a thing), but now it's at 90%. It's been about 4 hours since I started this attempt.

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: Debugging nodejs app.js at 100%

      @exodo @sloosecannon It's this:

      https://github.com/boomzillawtf/tdwtf/blob/master/plugins/nodebb-plugin-tdwtf-customizations/index.js#L13
      https://github.com/boomzillawtf/tdwtf/blob/master/watchdog.bash

      posted in NodeBB Development
      Ben Lubar
      Ben Lubar
    • RE: NodeBB periodically hangs

      Is anyone who is affected by this using the dbsearch plugin with a MongoDB database? I got rid of ours and the periodic hangs went away, at least for the last 24 hours.

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: NodeBB periodically hangs

      @baris said in NodeBB periodically hangs:

      Do you guys get this hanging issue daily?

      We've been tracking the manual restarts here: https://what.thedailywtf.com/topic/19990/the-official-server-cooties-tracking-thread

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: Infinite loop

      Ok, time for an update. The iframely problem was definitely one of the causes, but we're still getting occasional lock-ups. Nowhere near as bad as before, but the site still goes down a few times a day. We have a topic where we track manual restarts, but the data doesn't really show any pattern other than that the infinite loop is happening during times when a lot of pages are loaded.

      posted in Technical Support
      Ben Lubar
      Ben Lubar
    • RE: Infinite loop

      Okay, strace showed both instances hanging after this:

      connect(85, {sa_family=AF_INET, sin_port=htons("[iframely port]"), sin_addr=inet_addr("[iframely IP]")}, 16) = -1 EINPROGRESS (Operation now in progress)
      

      I've blacklisted the forum's hostname from iframely. We'll see if that fixes it.

      posted in Technical Support
      Ben Lubar
      Ben Lubar

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact