Skip to content

bitmask wont quit, wont die

0.9.1 bundle... it wont quit, even if I kill it:

[2015-11-03 23:45:20] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 492/500
[2015-11-03 23:45:22] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 493/500
[2015-11-03 23:45:24] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 494/500
[2015-11-03 23:45:26] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 495/500
[2015-11-03 23:45:28] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 496/500
[2015-11-03 23:45:30] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 497/500
[2015-11-03 23:45:32] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 498/500
[2015-11-03 23:45:34] WARNING  - L#174  : leap.bitmask.backend.signaler:_send_request - Retrying receive... 499/500
[2015-11-03 23:45:36] CRITICAL - L#180  : leap.bitmask.backend.signaler:_send_request - Timeout error contacting backend.
^C[2015-11-03 23:58:56] DEBUG    - L#53   : leap.bitmask.frontend_app:signal_handler - MainProcess: SIGNAL #2 catched.
$ ps auxw  |grep bitmask
micah    28847 12.3  0.6 3970500 100212 pts/5  SLl  18:21   4:48 ./bitmask
micah    29630  0.0  0.3 4031028 64996 pts/5   S    18:23   0:00 ./bitmask
micah    30475  0.0  0.5 4085276 91932 pts/5   S    18:28   0:00 ./bitmask
micah    31258  0.0  0.0  12968  2152 pts/5    S+   19:00   0:00 grep bitmask
micah@muck:Bitmask-linux64-0.9.1$ kill 28847
micah@muck:Bitmask-linux64-0.9.1$ [2015-11-04 00:00:54] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.

micah@muck:Bitmask-linux64-0.9.1$ ps auxw |grep bitmask
micah    28847 12.5  0.6 3970504 100212 pts/5  SLl  18:21   4:54 ./bitmask
micah    29630  0.0  0.3 4031028 64996 pts/5   S    18:23   0:00 ./bitmask
micah    30475  0.0  0.5 4085276 91932 pts/5   S    18:28   0:00 ./bitmask
micah    31262  0.0  0.0  12968  2156 pts/5    S+   19:00   0:00 grep bitmask
micah@muck:Bitmask-linux64-0.9.1$ kill 28847 [2015-11-04 00:00:59] ERROR    - L#122  : leap.bitmask.updater:run - An unexpected error has occurred while updating: No working mirror was found:
  u'dl.bitmask.net': ExpiredMetadataError(u"Metadata u'snapshot' expired on Mon Oct 26 16:18:36 2015 (UTC).",)
29630 30475
[2015-11-04 00:01:03] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:03] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:03] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
micah@muck:Bitmask-linux64-0.9.1$ [2015-11-04 00:01:03] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:03] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
Traceback (most recent call last):
  File "/home/micah/Bitmask-linux64-0.9.1/./lib/logbook/handlers.py", line 206, in handle
    self.emit(record)
  File "/home/micah/Bitmask-linux64-0.9.1/./apps/leap/bitmask/logs/safezmqhandler.py", line 118, in emit
    socket.send(json.dumps(self.export_record(record)).encode("utf-8"))
  File "zmq/backend/cython/socket.pyx", line 581, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5447)
  File "zmq/backend/cython/socket.pyx", line 628, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5209)
  File "zmq/backend/cython/socket.pyx", line 181, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2048)
  File "zmq/backend/cython/checkrc.pxd", line 21, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:6261)
    raise ZMQError(errno)
ZMQError: Interrupted system call
Logged from file /home/micah/Bitmask-linux64-0.9.1/lib/twisted/logger/_stdlib.py, line 109

micah@muck:Bitmask-linux64-0.9.1$ ps auxw |grep bitmask
micah    28847 12.6  0.6 3970500 100224 pts/5  SLl  18:21   4:57 ./bitmask
micah    29630  0.0  0.3 4031028 65012 pts/5   S    18:23   0:00 ./bitmask
micah    30475  0.0  0.5 4085276 91932 pts/5   S    18:28   0:00 ./bitmask
micah    31264  0.0  0.0  12968  2148 pts/5    S+   19:01   0:00 grep bitmask
micah@muck:Bitmask-linux64-0.9.1$ ps auxw |grep bitmask
micah    28847 12.6  0.6 3970500 100224 pts/5  SLl  18:21   4:57 ./bitmask
micah    29630  0.0  0.3 4031028 65012 pts/5   S    18:23   0:00 ./bitmask
micah    30475  0.0  0.5 4085276 91932 pts/5   S    18:28   0:00 ./bitmask
micah    31266  0.0  0.0  12968  2152 pts/5    S+   19:01   0:00 grep bitmask
micah@muck:Bitmask-linux64-0.9.1$ kill 28847 29630 30475
[2015-11-04 00:01:08] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:08] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:08] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
micah@muck:Bitmask-linux64-0.9.1$ Traceback (most recent call last):
  File "/home/micah/Bitmask-linux64-0.9.1/./lib/logbook/handlers.py", line 206, in handle
    self.emit(record)
  File "/home/micah/Bitmask-linux64-0.9.1/./apps/leap/bitmask/logs/safezmqhandler.py", line 118, in emit
    socket.send(json.dumps(self.export_record(record)).encode("utf-8"))
  File "zmq/backend/cython/socket.pyx", line 581, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5447)
  File "zmq/backend/cython/socket.pyx", line 628, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5209)
  File "zmq/backend/cython/socket.pyx", line 181, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2048)
  File "zmq/backend/cython/checkrc.pxd", line 21, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:6261)
    raise ZMQError(errno)
ZMQError: Interrupted system call
Logged from file /home/micah/Bitmask-linux64-0.9.1/lib/twisted/logger/_stdlib.py, line 109

micah@muck:Bitmask-linux64-0.9.1$ kill 28847 29630 30475
[2015-11-04 00:01:09] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:09] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
[2015-11-04 00:01:09] INFO     - L#109  : twisted.logger._stdlib:__call__ - Received SIGTERM, shutting down.
micah@muck:Bitmask-linux64-0.9.1$ Traceback (most recent call last):
  File "/home/micah/Bitmask-linux64-0.9.1/./lib/logbook/handlers.py", line 206, in handle
    self.emit(record)
  File "/home/micah/Bitmask-linux64-0.9.1/./apps/leap/bitmask/logs/safezmqhandler.py", line 118, in emit
    socket.send(json.dumps(self.export_record(record)).encode("utf-8"))
  File "zmq/backend/cython/socket.pyx", line 581, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5447)
  File "zmq/backend/cython/socket.pyx", line 628, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:5209)
  File "zmq/backend/cython/socket.pyx", line 181, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2048)
  File "zmq/backend/cython/checkrc.pxd", line 21, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:6261)
    raise ZMQError(errno)
ZMQError: Interrupted system call
Logged from file /home/micah/Bitmask-linux64-0.9.1/lib/twisted/logger/_stdlib.py, line 109

(from redmine: created on 2015-11-04, closed on 2016-05-18, relates #7318 (closed))