Terminal (webserver) crashes when opening (cat) large file
2015-01-14 08:35:40 - DEBUG - vispa.tools.workspace - Workspace: vw1
(1)
2015-01-14 08:35:40 - DEBUG - vispa.workspace - return pooled
connection: 1 - 1
2015-01-14 08:35:40 - DEBUG - vispa.workspace - get: (1, 1,
‘vispa.extensions.terminal.workspace.Terminal’,
u’iIfe3PtyxgM5FrMB-iIfe3PtyxgM5FrMB-1-terminal-terminal-0’)
2015-01-14 08:35:40 - DEBUG - vispa.workspace - return pooled class
vispa.extensions.terminal.workspace.Terminal
Traceback (most recent call last):
File “/home/cglaser/software/vispa/1.0/vispa/tools/ajax.py”, line 23, in
wrap
content = innerfunc(args,*kwargs) or {}
File
“/home/cglaser/.local/lib/python2.7/site-packages/cherrypy/_cpdispatch.py”,
line 34, in call
return self.callable(self.args,*self.kwargs)
File
“/home/cglaser/software/vispa/1.0/vispa/extensions/terminal/init.py”,
line 56, in write
terminal.write(input_data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/rpyc/core/netref.py”,
line 148, in getattribute
return syncreq(self, consts.HANDLE_GETATTR, name)
File
“/home/cglaser/.local/lib/python2.7/site-packages/rpyc/core/netref.py”,
line 71, in syncreq
return conn.sync_request(handler, oid, *args)
File “/home/cglaser/software/vispa/1.0/vispa/workspace.py”, line 264, in
sync_request
self._send_request(seq, handler, args)
File “/home/cglaser/software/vispa/1.0/vispa/workspace.py”, line 244, in
_send_request
self._box(args)))
File
“/home/cglaser/.local/lib/python2.7/site-packages/rpyc/core/protocol.py”,
line 226, in _send
self._channel.send(data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/rpyc/core/channel.py”,
line 69, in send
self.stream.write(buf)
File “/home/cglaser/software/vispa/1.0/vispa/workspace.py”, line 460, in
write
return self._file_in.write(data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/paramiko/file.py”,
line 314, in write
self._write_all(data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/paramiko/file.py”,
line 439, in _write_all
count = self._write(data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/paramiko/channel.py”,
line 1263, in _write
self.channel.sendall(data)
File
“/home/cglaser/.local/lib/python2.7/site-packages/paramiko/channel.py”,
line 796, in sendall
raise socket.error(‘Socket is closed’)
error: Socket is closed
2015-01-14 08:35:40 - INFO - cherrypy.access.139931956628752 - 127.0.0.1
-
- [14/Jan/2015:08:35:40] “POST /extensions/terminal/write HTTP/1.1”
500 152 “http://0.0.0.0:4282/” “Mozilla/5.0 (X11; Linux x86_64;
rv:34.0) Gecko/20100101 Firefox/34.0”
2015-01-14 08:35:41 - DEBUG - vispa.tools.workspace - Workspace: vw1 (1)
2015-01-14 08:35:41 - DEBUG - vispa.workspace - return pooled connection: 1 - 1
2015-01-14 08:35:41 - DEBUG - vispa.workspace - get: (1, 1, ‘vispa.extensions.terminal.workspace.Terminal’, u’iIfe3PtyxgM5FrMB-iIfe3PtyxgM5FrMB-1-terminal-terminal-0’)
- [14/Jan/2015:08:35:40] “POST /extensions/terminal/write HTTP/1.1”
500 152 “http://0.0.0.0:4282/” “Mozilla/5.0 (X11; Linux x86_64;
rv:34.0) Gecko/20100101 Firefox/34.0”
(from redmine: issue id 2051, created on 2015-01-14 by Christian.Glaser)