The dev server often hangs. It seems to especially hang if I send a largish JSON reply back to the client (50k or so). When I commented out some stuff to make the size of responses smaller, the hangs seemed to become less frequent. I can also cure such a hang so that it serves the next call OK by pressing control-c. Then it shows the following:
Exception happened during processing of request from ('114.154.48.139', 57151) Traceback (most recent call last): File "/usr/lib/python2.6/SocketServer.py", line 281, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python2.6/SocketServer.py", line 307, in process_request self.finish_request(request, client_address) File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/bemmu/google_appengine/google/appengine/tools/dev_appserver.py", line 3091, in __init__ BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, *args, **kwargs) File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__ self.handle() File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle self.handle_one_request() File "/usr/lib/python2.6/BaseHTTPServer.py", line 312, in handle_one_request self.raw_requestline = self.rfile.readline() File "/usr/lib/python2.6/socket.py", line 406, in readline data = self._sock.recv(self._rbufsize) KeyboardInterrupt Since during the normal course of my app's lifetime the client does several calls to the server, it's difficult to work while such hangs happen. In practice I have to keep constantly deploying my app to the real app engine servers to see if it really works or not. Is there any fix for this so I could continue testing locally without hangs? I'm on Ubuntu 10.04 LTS (lucid). -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.