{"action":"created","issue":{"url":"https://api.github.com/repos/faye/faye/issues/388","labels_url":"https://api.github.com/repos/faye/faye/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/faye/faye/issues/388/comments","events_url":"https://api.github.com/repos/faye/faye/issues/388/events","html_url":"https://github.com/faye/faye/issues/388","id":90649571,"number":388,"title":"All the clients are not getting subscribed to channel","user":{"login":"vikas17a","id":3255792,"avatar_url":"https://avatars.githubusercontent.com/u/3255792?v=3","gravatar_id":"","url":"https://api.github.com/users/vikas17a","html_url":"https://github.com/vikas17a","followers_url":"https://api.github.com/users/vikas17a/followers","following_url":"https://api.github.com/users/vikas17a/following{/other_user}","gists_url":"https://api.github.com/users/vikas17a/gists{/gist_id}","starred_url":"https://api.github.com/users/vikas17a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikas17a/subscriptions","organizations_url":"https://api.github.com/users/vikas17a/orgs","repos_url":"https://api.github.com/users/vikas17a/repos","events_url":"https://api.github.com/users/vikas17a/events{/privacy}","received_events_url":"https://api.github.com/users/vikas17a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T11:29:03Z","updated_at":"2015-07-05T15:17:10Z","closed_at":null,"body":"I fired a faye server with redis as faye engine [server code](https://gist.github.com/vikas17a/888e1c2f9977410878da) with one subscriber and one publisher both on different machine [subscriber code](https://gist.github.com/vikas17a/75f2b72260f4b825a6b4) after firing  subscriber script the results i got on faye server terminal is \r\n```\r\nclient : 4999\r\nclient : 5000\r\nclient subscribed : 4304\r\nclient subscribed : 4305\r\nclient subscribed : 4306\r\nclient subscribed : 4307\r\nclient subscribed : 4308\r\nclient subscribed : 4309\r\n```"},"comment":{"url":"https://api.github.com/repos/faye/faye/issues/comments/118631743","html_url":"https://github.com/faye/faye/issues/388#issuecomment-118631743","issue_url":"https://api.github.com/repos/faye/faye/issues/388","id":118631743,"user":{"login":"jcoglan","id":9265,"avatar_url":"https://avatars.githubusercontent.com/u/9265?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoglan","html_url":"https://github.com/jcoglan","followers_url":"https://api.github.com/users/jcoglan/followers","following_url":"https://api.github.com/users/jcoglan/following{/other_user}","gists_url":"https://api.github.com/users/jcoglan/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoglan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoglan/subscriptions","organizations_url":"https://api.github.com/users/jcoglan/orgs","repos_url":"https://api.github.com/users/jcoglan/repos","events_url":"https://api.github.com/users/jcoglan/events{/privacy}","received_events_url":"https://api.github.com/users/jcoglan/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T15:17:10Z","updated_at":"2015-07-05T15:17:10Z","body":"I'm not really sure what you're trying to do here by opening thousands of clients in the same process, subscribed to the same channel. If if you slow the client code down using a `setInterval` loop, it still hits a limit caused by Thin's connection limit, and it is possibly hitting the per-process file descriptor limit in the operating system."}}