[Karrigell-main] Crash on large files? & why async?
Brought to you by:
quentel
From: Remco B. <rb...@ip...> - 2003-12-04 13:04:35
|
Hi all, Does any of you have any idea why my page (ranging from 0.2MB to 20MB - it's al logfile) doesn't want to be sent? Both the Async server as the 'standard , non-threaded' server have this problem. The 'threaded' server in Karrigell 1.3 didn't have any problems with it. It just took a few seconds.. (around 10). My second question is: what purpose does the async have? Is it like,: you get multiple connections without using threads? - (so i still need file locking??!?!) or it's faster to transfer the data? sys.stderr details when such a page is requested: ipnprog - - [04/Dec/2003 13:57:29] "GET /test/viewlog.py HTTP/1.1" 200 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 3315) Traceback (most recent call last): File "C:\PYTHON\lib\SocketServer.py", line 222, in handle_request self.process_request(request, client_address) File "C:\PYTHON\lib\SocketServer.py", line 241, in process_request self.finish_request(request, client_address) File "C:\PYTHON\lib\SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\PYTHON\lib\SocketServer.py", line 520, in __init__ self.handle() File "C:\PYTHON\lib\BaseHTTPServer.py", line 324, in handle self.handle_one_request() File "C:\MODULE\karrigell cvs\Karrigell\CustomHTTPServer.py", line 80, in handle_one_request getattr(self,method)() File "C:\MODULE\karrigell cvs\Karrigell\CustomHTTPServer.py", line 16, in do_GET self.handle_data() File "C:\MODULE\karrigell cvs\Karrigell\Karrigell.py", line 222, in handle_data self.execute(script) File "C:\MODULE\karrigell cvs\Karrigell\Karrigell.py", line 268, in execute self.karrigellSendResponse(200,"Ok") File "C:\MODULE\karrigell cvs\Karrigell\Karrigell.py", line 375, in karrigellSendResponse self.wfile.write(self.outputStream.getvalue()) File "C:\PYTHON\lib\socket.py", line 254, in write self.flush() File "C:\PYTHON\lib\socket.py", line 241, in flush self._sock.sendall(buffer) error: (10053, 'Software caused connection abort') ---------------------------------------- Does anyone have an idea WHAT software? client or server? (i guess it's an MS error, parsed from the socket.dll/vxd (i'm running W2K)) gr. Remco Boerma IPN, the Netherlands |