{"action":"created","issue":{"url":"https://api.github.com/repos/Coding/WebIDE/issues/70","repository_url":"https://api.github.com/repos/Coding/WebIDE","labels_url":"https://api.github.com/repos/Coding/WebIDE/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/Coding/WebIDE/issues/70/comments","events_url":"https://api.github.com/repos/Coding/WebIDE/issues/70/events","html_url":"https://github.com/Coding/WebIDE/issues/70","id":189080689,"number":70,"title":"Terminal 无法使用","user":{"login":"TainKung","id":20412636,"avatar_url":"https://avatars.githubusercontent.com/u/20412636?v=3","gravatar_id":"","url":"https://api.github.com/users/TainKung","html_url":"https://github.com/TainKung","followers_url":"https://api.github.com/users/TainKung/followers","following_url":"https://api.github.com/users/TainKung/following{/other_user}","gists_url":"https://api.github.com/users/TainKung/gists{/gist_id}","starred_url":"https://api.github.com/users/TainKung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TainKung/subscriptions","organizations_url":"https://api.github.com/users/TainKung/orgs","repos_url":"https://api.github.com/users/TainKung/repos","events_url":"https://api.github.com/users/TainKung/events{/privacy}","received_events_url":"https://api.github.com/users/TainKung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T10:45:18Z","updated_at":"2016-11-14T11:19:36Z","closed_at":null,"body":"1. 可以通过按钮正常新建、关闭 Terminal 窗口，但通过 Tools > Terminal > New Terminal 新建终端时没有任何反应。\r\n2. 如下图，Terminal 不显示提示符，且无法输入任何字符。\r\n![coding webide - coding net](https://cloud.githubusercontent.com/assets/20412636/20261813/1d6c1252-aa25-11e6-9055-1e55e05445f1.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/Coding/WebIDE/issues/comments/260310624","html_url":"https://github.com/Coding/WebIDE/issues/70#issuecomment-260310624","issue_url":"https://api.github.com/repos/Coding/WebIDE/issues/70","id":260310624,"user":{"login":"TainKung","id":20412636,"avatar_url":"https://avatars.githubusercontent.com/u/20412636?v=3","gravatar_id":"","url":"https://api.github.com/users/TainKung","html_url":"https://github.com/TainKung","followers_url":"https://api.github.com/users/TainKung/followers","following_url":"https://api.github.com/users/TainKung/following{/other_user}","gists_url":"https://api.github.com/users/TainKung/gists{/gist_id}","starred_url":"https://api.github.com/users/TainKung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TainKung/subscriptions","organizations_url":"https://api.github.com/users/TainKung/orgs","repos_url":"https://api.github.com/users/TainKung/repos","events_url":"https://api.github.com/users/TainKung/events{/privacy}","received_events_url":"https://api.github.com/users/TainKung/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T11:19:36Z","updated_at":"2016-11-14T11:19:36Z","body":"检查输出发现可能与内存不足有关。出现此错误时服务器有 50000 - 60000k 空闲内存。附部分输出：\r\n```\r\nexec_pty(54): returning due to error: Cannot allocate memory\r\njava.io.IOException: Exec_tty error:Unknown reason\r\n\tat com.pty4j.unix.UnixPtyProcess.execInPty(UnixPtyProcess.java:235)\r\n\tat com.pty4j.unix.UnixPtyProcess.<init>(UnixPtyProcess.java:69)\r\n\tat com.pty4j.PtyProcess.exec(PtyProcess.java:79)\r\n\tat com.pty4j.PtyProcess.exec(PtyProcess.java:50)\r\n\tat net.coding.ide.tty.TerminalEmulator.<init>(TerminalEmulator.java:37)\r\n\tat net.coding.ide.tty.SocketIOHandler.itermOpen(SocketIOHandler.java:141)\r\n\tat net.coding.ide.tty.SocketIOHandler.onMessage(SocketIOHandler.java:74)\r\n\tat org.atmosphere.socketio.transport.SocketIOSessionManagerImpl$SessionImpl.onMessage(SocketIOSessionManagerImpl.java:383)\r\n\tat org.atmosphere.socketio.cpr.SocketIOWebSocketEventListener.onMessage(SocketIOWebSocketEventListener.java:72)\r\n\tat org.atmosphere.websocket.DefaultWebSocketProcessor.notifyListener(DefaultWebSocketProcessor.java:747)\r\n\tat org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:470)\r\n\tat org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:260)\r\n\tat org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:257)\r\n\tat org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:399)\r\n\tat org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:106)\r\n\tat org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:500)\r\n\tat org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:295)\r\n\tat org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:131)\r\n\tat org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:69)\r\n\tat org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)\r\n\tat org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)\r\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)\r\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)\r\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}
{"actor":{"display_login":"TainKung"}}