View Single Post
Old Yesterday, 11:14 PM   #15
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 276
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Exclamation

Quote:
Originally Posted by kovidgoyal View Post
The server runs in a separate thread from the UI
Whenever I get this particular UI freeze, the webserver also stops working.

I get tons of these errors in ~/.cache/calibre/server-log.txt:
Code:
Server busy handling request: State: parse_header_line Client: ::1:57960 Request: GET / HTTP/1.1
Traceback (most recent call last):
  File "calibre/srv/loop.py", line 357, in queue_job
  File "calibre/srv/pool.py", line 60, in put_nowait
  File "queue.py", line 223, in put_nowait
  File "queue.py", line 156, in put
queue.Full

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/srv/loop.py", line 648, in tick
  File "calibre/srv/http_request.py", line 308, in parse_header_line
  File "calibre/srv/web_socket.py", line 279, in finalize_headers
  File "calibre/srv/http_request.py", line 345, in finalize_headers
  File "calibre/srv/http_request.py", line 358, in read_request_body
  File "calibre/srv/http_response.py", line 451, in prepare_response
  File "calibre/srv/loop.py", line 359, in queue_job
calibre.srv.errors.JobQueueFull

Server busy handling request: State: parse_header_line Client: ::1:49482 Request: GET / HTTP/1.1
Traceback (most recent call last):
  File "calibre/srv/loop.py", line 357, in queue_job
  File "calibre/srv/pool.py", line 60, in put_nowait
  File "queue.py", line 223, in put_nowait
  File "queue.py", line 156, in put
queue.Full

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/srv/loop.py", line 648, in tick
  File "calibre/srv/http_request.py", line 308, in parse_header_line
  File "calibre/srv/web_socket.py", line 279, in finalize_headers
  File "calibre/srv/http_request.py", line 345, in finalize_headers
  File "calibre/srv/http_request.py", line 358, in read_request_body
  File "calibre/srv/http_response.py", line 451, in prepare_response
  File "calibre/srv/loop.py", line 359, in queue_job
calibre.srv.errors.JobQueueFull
Geremia is offline   Reply With Quote