{"action":"created","issue":{"url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/3","labels_url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/3/comments","events_url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/3/events","html_url":"https://github.com/WyriHaximus/reactphp-child-process-messenger/issues/3","id":123904341,"number":3,"title":"It requires a process to wait for the other to run?","user":{"login":"thebestclass","id":11671805,"avatar_url":"https://avatars.githubusercontent.com/u/11671805?v=3","gravatar_id":"","url":"https://api.github.com/users/thebestclass","html_url":"https://github.com/thebestclass","followers_url":"https://api.github.com/users/thebestclass/followers","following_url":"https://api.github.com/users/thebestclass/following{/other_user}","gists_url":"https://api.github.com/users/thebestclass/gists{/gist_id}","starred_url":"https://api.github.com/users/thebestclass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebestclass/subscriptions","organizations_url":"https://api.github.com/users/thebestclass/orgs","repos_url":"https://api.github.com/users/thebestclass/repos","events_url":"https://api.github.com/users/thebestclass/events{/privacy}","received_events_url":"https://api.github.com/users/thebestclass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-12-26T02:14:14Z","updated_at":"2016-01-03T00:20:43Z","closed_at":null,"body":"  a process is necessary to wait for other processes to run?\r\n\r\nBecause, I created a Web Socket server, and for it to be completely asynchronous I did that way, I am doing right? He will have locks?`(the code is merely illustrative)`\r\n\r\n  \r\n    namespace MyApp;\r\n    use Ratchet\\MessageComponentInterface;\r\n    use Ratchet\\ConnectionInterface;\r\n    \r\n    class Chat implements MessageComponentInterface {\r\n        public function onOpen(ConnectionInterface $conn) {\r\n            $messenger->rpc(MessageFactory::rpc('open', [\r\n                'data' => $conn->resourceId,\r\n            ]))->then(function () {});\r\n        }\r\n    \r\n        public function onMessage(ConnectionInterface $from, $msg) {\r\n            $messenger->rpc(MessageFactory::rpc('message', [\r\n                'data' => $msg,\r\n            ]))->then(function () {});\r\n        }\r\n    \r\n        public function onClose(ConnectionInterface $conn) {\r\n            $messenger->rpc(MessageFactory::rpc('close', [\r\n                'data' => $conn->resourceId,\r\n            ]))->then(function () {});\r\n        }\r\n    \r\n        public function onError(ConnectionInterface $conn, \\Exception $e) {\r\n            $messenger->rpc(MessageFactory::rpc('error', [\r\n                'data' => $e,\r\n            ]))->then(function () {});\r\n        }\r\n    }"},"comment":{"url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/comments/168443677","html_url":"https://github.com/WyriHaximus/reactphp-child-process-messenger/issues/3#issuecomment-168443677","issue_url":"https://api.github.com/repos/WyriHaximus/reactphp-child-process-messenger/issues/3","id":168443677,"user":{"login":"thebestclass","id":11671805,"avatar_url":"https://avatars.githubusercontent.com/u/11671805?v=3","gravatar_id":"","url":"https://api.github.com/users/thebestclass","html_url":"https://github.com/thebestclass","followers_url":"https://api.github.com/users/thebestclass/followers","following_url":"https://api.github.com/users/thebestclass/following{/other_user}","gists_url":"https://api.github.com/users/thebestclass/gists{/gist_id}","starred_url":"https://api.github.com/users/thebestclass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebestclass/subscriptions","organizations_url":"https://api.github.com/users/thebestclass/orgs","repos_url":"https://api.github.com/users/thebestclass/repos","events_url":"https://api.github.com/users/thebestclass/events{/privacy}","received_events_url":"https://api.github.com/users/thebestclass/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T00:20:43Z","updated_at":"2016-01-03T00:20:43Z","body":"@WyriHaximus \r\n\r\nI ignored you warning and after the number of process 240 the server returns me these errors:\r\n\r\nproc_open(): unable to create pipe Too many open files\r\nUnable to launch a new process.\r\n\r\nand take down...\r\n\r\nYou know how to fix?\r\n"}}