Possible Memory Leak - Widget Essentials



  • 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)
    


  • Last stable version of nodebb btw.


  • Community Rep

    1.x.x branch?



  • @Bri Yep


  • Admin

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


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.