Possible Memory Leak - Widget Essentials

Technical Support
  • #1

    Guys, im getting this message on logs and my users are complaining about notifications not working.

    (node) warning: possible EventEmitter memory leak detected. 11 sync:stats:guests:end listeners added. Use emitter.setMaxListeners() to increase limit.
    Trace
        at addListener (events.js:252:17)
        at Object.SocketRooms.getTotalGuestCount (/home/forum/NodeBB/src/socket.io/admin/rooms.js:43:9)
        at async.parallel.guestCount (/home/forum/NodeBB/node_modules/nodebb-widget-essentials/library.js:180:54)
        at /home/forum/NodeBB/node_modules/async/lib/async.js:718:13
        at async.forEachOf.async.eachOf (/home/forum/NodeBB/node_modules/async/lib/async.js:233:13)
        at _parallel (/home/forum/NodeBB/node_modules/async/lib/async.js:717:9)
        at Object.async.parallel (/home/forum/NodeBB/node_modules/async/lib/async.js:731:9)
        at Object.Widget.renderForumStatsWidget [as method] (/home/forum/NodeBB/node_modules/nodebb-widget-essentials/library.js:171:9)
        at /home/forum/NodeBB/src/plugins/hooks.js:103:12
        at /home/forum/NodeBB/node_modules/async/lib/async.js:375:13
        at iterate (/home/forum/NodeBB/node_modules/async/lib/async.js:262:13)
        at Object.async.forEachOfSeries.async.eachOfSeries (/home/forum/NodeBB/node_modules/async/lib/async.js:281:9)
        at Object.async.inject.async.foldl.async.reduce (/home/forum/NodeBB/node_modules/async/lib/async.js:374:15)
        at fireFilterHook (/home/forum/NodeBB/src/plugins/hooks.js:95:9)
        at Object.Plugins.fireHook (/home/forum/NodeBB/src/plugins/hooks.js:76:5)
        at async.map.done.location (/home/forum/NodeBB/src/widgets/index.js:37:13)
    
  • #2

    Last stable version of nodebb btw.

  • Community Rep
    #3

    1.x.x branch?

  • #4

    @Bri Yep

  • GNU/Linux
    #5

    @Leonardo-Galani is there anything you need to do to reproduce this issue? Opening and closing the notifications?


Suggested Topics


  • show widget on mobile only?

    Unsolved Technical Support
    0 Votes
    3 Posts
    153 Views

  • Recent Posts Widget

    Technical Support
    0 Votes
    1 Posts
    686 Views

  • 0 Votes
    1 Posts
    602 Views

  • 0 Votes
    1 Posts
    845 Views


| | | |