shenjianlin@newdev:~(spider)$ lsof -i:25555
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
phantomjs 17664 shenjianlin 6u IPv4 712352984 0t0 TCP *:25555 (LISTEN)
shenjianlin@newdev:~(spider)$ kill -9 17664
shenjianlin@newdev:~(spider)$ pyspider all
phantomjs fetcher running on port 25555
[I 190228 15:45:04 result_worker:49] result_worker starting...
[I 190228 15:45:05 processor:211] processor starting...
[I 190228 15:45:05 tornado_fetcher:638] fetcher starting...
[I 190228 15:45:05 scheduler:647] scheduler starting...
[I 190228 15:45:05 scheduler:782] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 190228 15:45:05 scheduler:586] in 5m: new:0,success:0,retry:0,failed:0
[I 190228 15:45:05 app:84] webui exiting...
Traceback (most recent call last):
File "/home/shenjianlin/.local/bin/pyspider", line 11, in <module>
sys.exit(main())
File "/home/shenjianlin/.local/lib/python3.4/site-packages/pyspider/run.py", line 754, in main
cli()
File "/usr/lib/python3.4/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.4/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.4/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.4/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/shenjianlin/.local/lib/python3.4/site-packages/pyspider/run.py", line 497, in all
ctx.invoke(webui, **webui_config)
File "/usr/lib/python3.4/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/shenjianlin/.local/lib/python3.4/site-packages/pyspider/run.py", line 384, in webui
app.run(host=host, port=port)
File "/home/shenjianlin/.local/lib/python3.4/site-packages/pyspider/webui/app.py", line 71, in run
self.http_server.listen(port, hostname)
File "/usr/lib64/python3.4/site-packages/tornado/tcpserver.py", line 125, in listen
sockets = bind_sockets(port, address=address)
File "/usr/lib64/python3.4/site-packages/tornado/netutil.py", line 193, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 98] Address already in use