{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/passenger/issues/1477","labels_url":"https://api.github.com/repos/phusion/passenger/issues/1477/labels{/name}","comments_url":"https://api.github.com/repos/phusion/passenger/issues/1477/comments","events_url":"https://api.github.com/repos/phusion/passenger/issues/1477/events","html_url":"https://github.com/phusion/passenger/issues/1477","id":68751309,"number":1477,"title":"Meteor (bundled) - Sessions never seem to clean out","user":{"login":"allaire","id":304461,"avatar_url":"https://avatars.githubusercontent.com/u/304461?v=3","gravatar_id":"","url":"https://api.github.com/users/allaire","html_url":"https://github.com/allaire","followers_url":"https://api.github.com/users/allaire/followers","following_url":"https://api.github.com/users/allaire/following{/other_user}","gists_url":"https://api.github.com/users/allaire/gists{/gist_id}","starred_url":"https://api.github.com/users/allaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allaire/subscriptions","organizations_url":"https://api.github.com/users/allaire/orgs","repos_url":"https://api.github.com/users/allaire/repos","events_url":"https://api.github.com/users/allaire/events{/privacy}","received_events_url":"https://api.github.com/users/allaire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phusion/passenger/labels/Priority/Critical","name":"Priority/Critical","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phusion/passenger/milestones/26","html_url":"https://github.com/phusion/passenger/milestones/5.0.7","labels_url":"https://api.github.com/repos/phusion/passenger/milestones/26/labels","id":1036042,"number":26,"title":"5.0.7","description":"Bug fixes","creator":{"login":"FooBarWidget","id":819,"avatar_url":"https://avatars.githubusercontent.com/u/819?v=3","gravatar_id":"","url":"https://api.github.com/users/FooBarWidget","html_url":"https://github.com/FooBarWidget","followers_url":"https://api.github.com/users/FooBarWidget/followers","following_url":"https://api.github.com/users/FooBarWidget/following{/other_user}","gists_url":"https://api.github.com/users/FooBarWidget/gists{/gist_id}","starred_url":"https://api.github.com/users/FooBarWidget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FooBarWidget/subscriptions","organizations_url":"https://api.github.com/users/FooBarWidget/orgs","repos_url":"https://api.github.com/users/FooBarWidget/repos","events_url":"https://api.github.com/users/FooBarWidget/events{/privacy}","received_events_url":"https://api.github.com/users/FooBarWidget/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":16,"state":"open","created_at":"2015-03-24T10:22:38Z","updated_at":"2015-04-22T14:02:24Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-04-15T18:15:26Z","updated_at":"2015-04-23T14:44:39Z","closed_at":null,"body":"Sessions never seem to clean out when somebody disconnect from a passenger process. `passenger-status` is showing way more Sessions for each process. Using `passenger 5.0.6`.\r\n\r\nHere are the two files requested by @OnixGH (https://github.com/phusion/passenger/issues/1422) :\r\n\r\nhttps://gist.github.com/anonymous/e6c8ce32d3bc7eaa1e69\r\n\r\n(edit: nginx config info from other thread)\r\n```\r\n  passenger_sticky_sessions on;\r\n  passenger_sticky_sessions_cookie_name \"cc-route\";\r\n  passenger_friendly_error_pages off;\r\n  passenger_env_var MONGO_URL <%= fetch(:mongo_url) %>;\r\n  <% if(fetch(:oplog_url)) %>\r\n  passenger_env_var MONGO_OPLOG_URL <%= fetch(:oplog_url) %>;\r\n  <% end %>\r\n  passenger_env_var MAIL_URL <%= fetch(:mail_url) %>;\r\n  passenger_env_var ROOT_URL <%= fetch(:root_url) %>;\r\n  passenger_env_var PORT <%= fetch(:port) %>;\r\n  passenger_env_var HTTP_X_FORWARDED_PROTO https;\r\n  passenger_app_type node;\r\n  passenger_startup_file build/bundle/main.js;\r\n  passenger_min_instances <%= fetch(:min_instances) %>;\r\n```"},"comment":{"url":"https://api.github.com/repos/phusion/passenger/issues/comments/95610050","html_url":"https://github.com/phusion/passenger/issues/1477#issuecomment-95610050","issue_url":"https://api.github.com/repos/phusion/passenger/issues/1477","id":95610050,"user":{"login":"OnixGH","id":10709325,"avatar_url":"https://avatars.githubusercontent.com/u/10709325?v=3","gravatar_id":"","url":"https://api.github.com/users/OnixGH","html_url":"https://github.com/OnixGH","followers_url":"https://api.github.com/users/OnixGH/followers","following_url":"https://api.github.com/users/OnixGH/following{/other_user}","gists_url":"https://api.github.com/users/OnixGH/gists{/gist_id}","starred_url":"https://api.github.com/users/OnixGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnixGH/subscriptions","organizations_url":"https://api.github.com/users/OnixGH/orgs","repos_url":"https://api.github.com/users/OnixGH/repos","events_url":"https://api.github.com/users/OnixGH/events{/privacy}","received_events_url":"https://api.github.com/users/OnixGH/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T14:44:39Z","updated_at":"2015-04-23T14:44:39Z","body":"We're thinking about this one but we need a bit more info. You upgraded from 4.x to 5.x, right? And this did not occur in 4.x?\r\n\r\nHow long are clients in your application typically connected? Because it's normal that sockjs clients take up a session as long as they are active. Passenger-status will also only show the time of first connect (and not of last data exchange).\r\n\r\nDid you get this problem with a local test? Or are these remote clients? Do the sessions keep increasing forever?\r\n"}}