{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/postgres-packages/issues/25","labels_url":"https://api.github.com/repos/meteor/postgres-packages/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/meteor/postgres-packages/issues/25/comments","events_url":"https://api.github.com/repos/meteor/postgres-packages/issues/25/events","html_url":"https://github.com/meteor/postgres-packages/issues/25","id":107992122,"number":25,"title":"warning: possible EventEmitter memory leak detected","user":{"login":"marcmunro","id":940074,"avatar_url":"https://avatars.githubusercontent.com/u/940074?v=3","gravatar_id":"","url":"https://api.github.com/users/marcmunro","html_url":"https://github.com/marcmunro","followers_url":"https://api.github.com/users/marcmunro/followers","following_url":"https://api.github.com/users/marcmunro/following{/other_user}","gists_url":"https://api.github.com/users/marcmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcmunro/subscriptions","organizations_url":"https://api.github.com/users/marcmunro/orgs","repos_url":"https://api.github.com/users/marcmunro/repos","events_url":"https://api.github.com/users/marcmunro/events{/privacy}","received_events_url":"https://api.github.com/users/marcmunro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-23T19:44:41Z","updated_at":"2015-09-24T21:40:50Z","closed_at":null,"body":"I periodically encounter this warning, either when running the publish-relation example (haven't tried the react todos), or from run-tests.sh  \r\n\r\nI'm not certain that this is truly bad but one time I got it, it was accompanied by a pretty major delay in talking to the database.\r\n\r\nI'd like to track the problem down but I'm still beginning with meteor.  I'd be grateful for any clues.\r\n\r\nHere is the log.\r\n\r\n    W20150923-12:25:46.222(-7)? (STDERR) (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.\r\n    W20150923-12:25:46.239(-7)? (STDERR) Trace\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at PgLiveQuery.addListener (events.js:160:15)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at [object Object].PG.Query.observe (pg.js:30:10)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at [object Object].accounts._server.publish.is_auto [as _handler] (packages/accounts-base/accounts_server.js:703:1)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1675:1)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at [object Object]._.extend._runHandler (packages/ddp-server/livedata_server.js:1006:1)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at [object Object]._.extend._startSubscription (packages/ddp-server/livedata_server.js:825:1)\r\n    W20150923-12:25:46.240(-7)? (STDERR)     at packages/ddp-server/livedata_server.js:407:1\r\n    W20150923-12:25:46.241(-7)? (STDERR)     at Array.forEach (native)\r\n    W20150923-12:25:46.241(-7)? (STDERR)     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)\r\n    W20150923-12:25:46.241(-7)? (STDERR)     at [object Object]._.extend.startUniversalSubs (packages/ddp-server/livedata_server.js:406:1)\r\n    W20150923-12:25:46.241(-7)? (STDERR)     at [object Object]._.extend._setUserId (packages/ddp-server/livedata_server.js:800:1)\r\n    W20150923-12:25:46.242(-7)? (STDERR)     at [object Object].setUserId [as _setUserId] (packages/ddp-server/livedata_server.js:666:1)\r\n    W20150923-12:25:46.242(-7)? (STDERR)     at [object Object]._.extend.setUserId (packages/ddp-common/method_invocation.js:94:1)\r\n    W20150923-12:25:46.242(-7)? (STDERR)     at AccountsServer.Ap._loginUser (packages/accounts-base/accounts_server.js:269:1)\r\n    W20150923-12:25:46.242(-7)? (STDERR)     at AccountsServer.Ap._attemptLogin (packages/accounts-base/accounts_server.js:323:1)\r\n    W20150923-12:25:46.243(-7)? (STDERR)     at [object Object].methods.login (packages/accounts-base/accounts_server.js:498:1)\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1675:1)\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at packages/ddp-server/livedata_server.js:704:1\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at packages/ddp-server/livedata_server.js:703:1\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)\r\n    W20150923-12:25:46.244(-7)? (STDERR)     at [object Object]._.extend.protocol_handlers.method (packages/ddp-server/livedata_server.js:702:1)\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/postgres-packages/issues/comments/143058005","html_url":"https://github.com/meteor/postgres-packages/issues/25#issuecomment-143058005","issue_url":"https://api.github.com/repos/meteor/postgres-packages/issues/25","id":143058005,"user":{"login":"marcmunro","id":940074,"avatar_url":"https://avatars.githubusercontent.com/u/940074?v=3","gravatar_id":"","url":"https://api.github.com/users/marcmunro","html_url":"https://github.com/marcmunro","followers_url":"https://api.github.com/users/marcmunro/followers","following_url":"https://api.github.com/users/marcmunro/following{/other_user}","gists_url":"https://api.github.com/users/marcmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/marcmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcmunro/subscriptions","organizations_url":"https://api.github.com/users/marcmunro/orgs","repos_url":"https://api.github.com/users/marcmunro/repos","events_url":"https://api.github.com/users/marcmunro/events{/privacy}","received_events_url":"https://api.github.com/users/marcmunro/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T21:40:50Z","updated_at":"2015-09-24T21:40:50Z","body":"I see this sometimes when there is no activity, and there has been nothing more than a single connected client doing a single sign-out/sign-in.  I had assumed that it is related to the exception in setInterval callback issue (#26) though I have no real evidence other than one often immediately precedes the other in the logs.  My ongoing meteor update efforts have also yielded some other funnies that may be related - unfortunately I didn't capture them.  Will get back to you if and when I have any more info, but FWIW it smells like a real bug to me."}}